|
||||||||||
| 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.cafesip.gwtcomp.client.ui.Toolbar
public class Toolbar
The toolbar is a simple panel widget that is used to place one or more
"tools" into it. A tool can be an image, or any widget. Applications are
responsible for setting tool-tips, event listeners, etc. A toolbar can
be placed inside a ToolbarPanel.
CSS Style Rules:
Screen-Shots:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
Toolbar()
A constructor for this class. |
|
| Method Summary | |
|---|---|
void |
addWidget(Widget w)
Adds a "tool" widget into the toolbar. |
int |
getHorizontalSpacing()
Returns the horizontal spacing in pixels. |
int |
getVerticalSpacing()
Returns the vertical spacing (top and bottom). |
void |
redraw()
Redraw the toolbar. |
void |
setHorizontalSpacing(int horizontalSpacing)
Sets the horizontal spacing between the tools in the toolbar. |
void |
setVerticalSpacing(int verticalSpacing)
Sets the vertical spacing. |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Toolbar()
| Method Detail |
|---|
public void addWidget(Widget w)
w - widget to add.public int getHorizontalSpacing()
public void setHorizontalSpacing(int horizontalSpacing)
horizontalSpacing - The horizontalSpacing to set.public int getVerticalSpacing()
public void setVerticalSpacing(int verticalSpacing)
verticalSpacing - The verticalSpacing to set.public void redraw()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||