Class DockToExistingViewAction

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

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

    • DockToExistingViewAction

      public DockToExistingViewAction(Component comp, String label, 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.
      viewId - the id of the view to which the component will be attached.
    • DockToExistingViewAction

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

    • actionPerformed

      public void actionPerformed(ActionEvent event)