net.simplace.ui.toolbar.FWToolBar

Default toolbar.


public final class FWToolBar extends javax.swing.JToolBar {
// Public Constructors
public FWToolBar(Map aToolBarMap);


// Public Instance Methods
public void addButton(FWToolbarButton aToolBarButton);

Creates a icon, add it to this toolbar.
public void addSeperator();

creates a separator-icon in toolbar
public void addStrut(int aWidth);

creates a gap between different icons in toolbar of width
public void addGlue();

adds a glue to get the rest of icons right-aligned
public void setEnabled(String aActionCommand, boolean aEnabled);

Enables/Disables an existing toolBarButton.
public void setVisible(String aActionCommand, boolean aVisible);

Shows/hids an existing toolBarButton.
public void setToolTipText(String aActionCommand, String aValue, boolean
aEnabled);

Set the caption (aValue) to the MenuItem but use the given ActionCommand
public FWToolbarButton getToolbarButton(String aActionCommand);

one spectial Button can be retrieved by giving the ActionCommand of the button
returns FWToolbarButton


}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JToolBar (javax.swing.SwingConstants, javax.accessibility.Accessible) - FWToolBar