Package com.luciad.lucy.gui
Interface ILcyToolBar
- All Superinterfaces:
ILcyActionBar
- All Known Implementing Classes:
TLcyComboBoxActionBar,TLcySkinnedToolBar,TLcyToolBar
Extension of
ILcyActionBar that represents a tool bar. It adds support
for adding and removing java.awt.Components directly. This allows to for
example add a combo box or a label to it.-
Method Summary
Modifier and TypeMethodDescriptionvoidinsertComponent(Component aComponent, TLcyGroupDescriptor aGroupDescriptor) Adds a Component to thisILcyToolBar.voidremoveComponent(Component aComponent) Removes the given Component from thisILcyToolBar.Methods inherited from interface com.luciad.lucy.gui.ILcyActionBar
addActionBarListener, getActionBarItem, getActionBarItemCount, getComponent, insertAction, insertAction, insertActiveSettable, insertActiveSettable, insertActiveSettable, removeAction, removeActionBarListener, removeActiveSettable, retrieveDeactivatePossible, retrieveGroupDescriptor, retrieveGroupDescriptor, retrieveHelpIDString, retrieveHelpIDString, retrieveMenuGroupDescriptors, retrieveMenuGroupDescriptors, retrieveMenus, retrieveMenus, setHelpIDString, setHelpIDString
-
Method Details
-
insertComponent
Adds a Component to this
ILcyToolBar.Alternatively, you can use
ILcyCustomizableRepresentationActionorILcyCustomizableRepresentationActiveSettableto insert components into anILcyActionBar.- Parameters:
aComponent- The component to add. It will be added at the top level.aGroupDescriptor- The group descriptor of the component to add.- See Also:
-
removeComponent
Removes the given Component from thisILcyToolBar. Has no effect if the component was never added to thisILcyToolBaror if it was already removed.- Parameters:
aComponent- The component to remove.- See Also:
-