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

public Component activate()
Activates the configuration and returns right component that can display the configuration.
Returns:
representation component

getName

public String getName()
Name of the configuration.
Returns:
the name

getContextMenu

public 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


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.