Class Clipboard

    • Field Detail

      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split pane for list and preview.
      • m_ListItems

        protected BaseList m_ListItems
        for storing the clipboard items.
      • m_ListItemsModel

        protected DefaultListModel m_ListItemsModel
        the underlying list model.
      • m_PanelPreview

        protected FlowPanel m_PanelPreview
        the preview.
      • m_ButtonClear

        protected BaseButton m_ButtonClear
        the button for clearing the clipboard.
      • m_ButtonAdd

        protected BaseButton m_ButtonAdd
        the button for adding the actor to the clipboard.
      • m_ButtonRemove

        protected BaseButton m_ButtonRemove
        the button for removing the selected items from the clipboard.
      • m_ButtonCopy

        protected BaseButton m_ButtonCopy
        the button for copying the actor to the clipboard.
      • m_PanelButtons

        protected JPanel m_PanelButtons
        the panel for the buttons.
    • Constructor Detail

      • Clipboard

        public Clipboard()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • actorSelectionChanged

        public void actorSelectionChanged​(TreePath[] paths,
                                          Actor[] actors)
        Notifies the tab of the currently selected actors.
        Specified by:
        actorSelectionChanged in interface SelectionAwareEditorTab
        Parameters:
        paths - the selected paths
        actors - the currently selected actors
      • updateButtons

        protected void updateButtons()
        Updates the enabled status of the buttons.
      • updatePreview

        protected void updatePreview()
        Updates the preview panel.