Class DockToNewViewAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class DockToNewViewAction extends AbstractDockingAction
Action to dock a tab to a new view.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • DockToNewViewAction

      public DockToNewViewAction(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.
    • DockToNewViewAction

      public DockToNewViewAction(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.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)