com.alkacon.geranium.client.ui
public class Toolbar extends com.google.gwt.user.client.ui.Composite
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
Toolbar.I_CmsToolbarUiBinder |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.FlowPanel |
m_buttonPanelLeft
Holds left-side buttons associated with the tool-bar.
|
protected com.google.gwt.user.client.ui.FlowPanel |
m_buttonPanelRight
Holds right-side buttons associated with the tool-bar.
|
| Constructor and Description |
|---|
Toolbar()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLeft(com.google.gwt.user.client.ui.Widget widget)
Adds a widget to the left button panel.
|
void |
addRight(com.google.gwt.user.client.ui.Widget widget)
Adds a widget to the left button panel.
|
java.util.List<com.google.gwt.user.client.ui.Widget> |
getAll()
Returns all
Widget added to the tool-bar in order of addition first left than right. |
static void |
showToolbar(Toolbar toolbar,
boolean show,
StyleVariable toolbarVisibility)
Helper method for setting toolbar visibility.
|
static void |
showToolbar(Toolbar toolbar,
boolean show,
StyleVariable toolbarVisibility,
java.lang.String showClass)
Helper method for setting toolbar visibility.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents@UiField protected com.google.gwt.user.client.ui.FlowPanel m_buttonPanelLeft
@UiField protected com.google.gwt.user.client.ui.FlowPanel m_buttonPanelRight
public static void showToolbar(Toolbar toolbar, boolean show, StyleVariable toolbarVisibility)
toolbar - the toolbarshow - true if the toolbar should be showntoolbarVisibility - the style variable controlling the toolbar visibilitypublic static void showToolbar(Toolbar toolbar, boolean show, StyleVariable toolbarVisibility, java.lang.String showClass)
toolbar - the toolbarshow - true if the toolbar should be showntoolbarVisibility - the style variable controlling the toolbar visibilityshowClass - the class which should be used for showing the toolbarpublic void addLeft(com.google.gwt.user.client.ui.Widget widget)
widget - the widget to addpublic void addRight(com.google.gwt.user.client.ui.Widget widget)
widget - the widget to addpublic java.util.List<com.google.gwt.user.client.ui.Widget> getAll()
Widget added to the tool-bar in order of addition first left than right.