| java.lang.Object org.underworldlabs.swing.toolbar.DefaultToolBarManager
All known Subclasses: org.executequery.toolbars.ToolBarManager,
DefaultToolBarManager | public class DefaultToolBarManager (Code) | | Tool bar manager class for managing and creating
tool bars and associated components.
author: Takis Diakoumis version: $Revision: 1.6 $ |
Method Summary | |
protected void | buildToolBar(String name, boolean rebuild) Builds (or rebuilds) the tool bar with the specified name
and adds it to the tool bar base panel and local cache. | protected void | fireToolbarsChanged() Repaints and revalidates the tool bar base following a change to
its structure. | public ToolBarBase | getToolBarBasePanel() Returns the tool bar base panel. | protected void | reset() Resets the state of the base tool bar panel. |
DefaultToolBarManager | public DefaultToolBarManager(String toolsConfigPath, String defaultToolsResourcePath)(Code) | | Creates a new instance of DefaultToolBarManager.
The toolsConfigPath variable may be null and is usually
a user defined/modified file system path differing from the
defaults specified as a package resource XML path.
Parameters: toolsConfigPath - - the user XML conf file path Parameters: defaultToolsResourcePath - - the default XML conf resource file |
buildToolBar | protected void buildToolBar(String name, boolean rebuild)(Code) | | Builds (or rebuilds) the tool bar with the specified name
and adds it to the tool bar base panel and local cache.
Parameters: name - - the name of the tool bar as it appears in theXML tool bar conf file Parameters: rebuild - - whether this is a rebuild of an existing tool bar |
fireToolbarsChanged | protected void fireToolbarsChanged()(Code) | | Repaints and revalidates the tool bar base following a change to
its structure.
|
getToolBarBasePanel | public ToolBarBase getToolBarBasePanel()(Code) | | Returns the tool bar base panel.
|
reset | protected void reset()(Code) | | Resets the state of the base tool bar panel.
|
|
|