站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

ToolbarPool.Configuration (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0

 

org.openide.awt
Interface ToolbarPool.Configuration

Enclosing interface:
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 May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.