Class AbstractDockingAction

java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.options.docking.AbstractDockingAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
DockToExistingViewAction, DockToInitialContainerAction, DockToNewViewAction

public abstract class AbstractDockingAction extends AbstractAction
Author:
Laurent Cohen
See Also:
  • Field Details

    • comp

      protected final Component comp
      The component to move from one view to another.
    • viewId

      protected final String viewId
      The id of the view to which the component will be attached.
  • Constructor Details

    • AbstractDockingAction

      public AbstractDockingAction(Component comp, String label, String iconPath)
      Initialize this action.
      Parameters:
      comp - the id of the view to which the component will be attached.
      label - the text of the corresponding menu item.
      iconPath - the path to an optional icon.
    • AbstractDockingAction

      public AbstractDockingAction(Component comp, String label)
      Initialize this action.
      Parameters:
      comp - the id of the view to which the component will be attached.
      label - the text of the corresponding menu item.
    • AbstractDockingAction

      public AbstractDockingAction(Component comp, String label, String iconPath, String viewId)
      Initialize this action with the specified view id.
      Parameters:
      comp - the id of the view to which the component will be attached.
      label - the text of the corresponding menu item.
      iconPath - the path to an optional icon.
      viewId - the id of the view to which the component will be attached.