|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.xwiki.gwt.user.client.ui.ToolBar
public class ToolBar
Generic tool bar panel accepting any kind of widget.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
|---|
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ToolBar()
Creates an empty tool bar that waits for widgets to be added. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected 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.
| Constructor Detail |
|---|
public ToolBar()
| Method Detail |
|---|
public void add(com.google.gwt.user.client.ui.Widget w)
add in interface com.google.gwt.user.client.ui.HasWidgetsHasWidgets.add(Widget)public void clear()
clear in interface com.google.gwt.user.client.ui.HasWidgetsHasWidgets.clear()public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
iterator in interface com.google.gwt.user.client.ui.HasWidgetsiterator in interface Iterable<com.google.gwt.user.client.ui.Widget>HasWidgets.iterator()public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove in interface com.google.gwt.user.client.ui.HasWidgetsHasWidgets.remove(Widget)public com.google.gwt.user.client.ui.Widget getWidget(int index)
getWidget in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.getWidget(int)public int getWidgetCount()
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.getWidgetCount()public int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.getWidgetIndex(Widget)public boolean remove(int index)
remove in interface com.google.gwt.user.client.ui.IndexedPanelIndexedPanel.remove(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||