org.openide.loaders 5.9.22

org.openide.awt
Interface ToolbarPool.Configuration

Enclosing class:
ToolbarPool

public static interface ToolbarPool.Configuration

Abstract class for toolbar configuration


Method Summary
 Component activate()
          Activates the configuration and returns right component that can display the configuration.
 JPopupMenu getContextMenu()
          Popup menu that should be displayed when the users presses right mouse button on the panel.
 String getName()
          Name of the configuration.
 

Method Detail

activate

Component activate()
Activates the configuration and returns right component that can display the configuration.

Returns:
representation component

getName

String getName()
Name of the configuration.

Returns:
the name

getContextMenu

JPopupMenu getContextMenu()
Popup menu that should be displayed when the users presses right mouse button on the panel. This menu can contain contains list of possible configurations, additional actions, etc.

Returns:
popup menu to be displayed

org.openide.loaders 5.9.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.