Interface ITransferContainerProps

    • Method Detail

      • canPasteFrom

        default boolean canPasteFrom​(PropCnr from)
        Verifies if the transfer operation is supported for the component in question.
        Returns:
        Default true, override for different processing.
      • canPasteTo

        default boolean canPasteTo​(PropCnr to)
        Verifies if the transfer operation is supported for the component in question.
        Returns:
        Default true, override for different processing.
      • getCNDescriptionType

        java.lang.String getCNDescriptionType()
        Provide a type description for the status bar view, if available.
        Returns:
        A type description for the status bar view, or null if not available.
      • getTransferProps

        java.lang.Object[] getTransferProps()
        Returns the list of properties that are transferable between layout managers.
        Returns:
        The list of String's or Atom's that are transferable, null for none.
      • transferContainerProps

        default boolean transferContainerProps​(boolean doPerformPaste,
                                               PropCnr source,
                                               IPropUndoRedo undoRedo)
        Handles transfer of data from one layout to another.
        Parameters:
        doPerformPaste - Flag indication operation is to be performed (true) or just tested for validity (false).
        source - The paste source.
        undoRedo - The undo/redo interface.
        Returns:
        true for success, false for failure.