public class ToolBar
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.FlowPanel |
clearFloats
This needs to be put at the end of the
panel because we're using HTML divs on which we set the float CSS
property. |
protected com.google.gwt.user.client.ui.FlowPanel |
panel
The panel holding the tool bar widgets.
|
| Constructor and Description |
|---|
ToolBar()
Creates an empty tool bar that waits for widgets to be added.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget w) |
void |
clear() |
com.google.gwt.user.client.ui.Widget |
getWidget(int index) |
int |
getWidgetCount() |
int |
getWidgetIndex(com.google.gwt.user.client.ui.Widget child) |
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
boolean |
remove(int index) |
boolean |
remove(com.google.gwt.user.client.ui.Widget w) |
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, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringprotected com.google.gwt.user.client.ui.FlowPanel panel
protected com.google.gwt.user.client.ui.FlowPanel clearFloats
panel because we're using HTML divs on which we set the float CSS
property.public ToolBar()
public void add(com.google.gwt.user.client.ui.Widget w)
add in interface com.google.gwt.user.client.ui.HasWidgetspublic void clear()
clear in interface com.google.gwt.user.client.ui.HasWidgetspublic Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove in interface com.google.gwt.user.client.ui.HasWidgetspublic com.google.gwt.user.client.ui.Widget getWidget(int index)
getWidget in interface com.google.gwt.user.client.ui.IndexedPanelpublic int getWidgetCount()
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanelpublic int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanelpublic boolean remove(int index)
remove in interface com.google.gwt.user.client.ui.IndexedPanelCopyright © 2004–2015 XWiki. All rights reserved.