Package com.levigo.jadice.web.client.ui
Class AbstractBar
java.lang.Object
com.levigo.jadice.web.client.ui.AbstractBar
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,Bar
- Direct Known Subclasses:
HorizontalToolbar,MenuBar,ToolbarSubmenu,VerticalToolbar
The Basic parts of a Toolbar
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBar(T widget, BarStyle style, PopupExecutor.PreferredPosition preferredPosition) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.google.gwt.user.client.ui.IsWidget widget) Add a Widget to the Toolbar When a JadiceButton has been added, it will be managed.voidaddLast(com.google.gwt.user.client.ui.IsWidget widget) Add a Widget to the Toolbar AFTER the PlaceHolder When a JadiceButton has been added, it will be managed.voidAdds a Separator to separate ButtonGroupscom.google.gwt.user.client.ui.WidgetasWidget()voidclear()protected voiddoAdd(com.google.gwt.user.client.ui.IsWidget widget) protected voidprotected com.google.gwt.user.client.ui.InsertPanel.ForIsWidgetgetStyle()List<com.google.gwt.user.client.ui.IsWidget> protected booleanPlaceholder between left and right
-
Constructor Details
-
AbstractBar
-
-
Method Details
-
getChildren
protected com.google.gwt.user.client.ui.InsertPanel.ForIsWidget getChildren() -
getStyle
-
hasPlaceHolder
protected boolean hasPlaceHolder()Placeholder between left and right- Returns:
- true, when u need a placeholder
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
add
public void add(com.google.gwt.user.client.ui.IsWidget widget) Description copied from interface:BarAdd a Widget to the Toolbar When a JadiceButton has been added, it will be managed. -
doAdd
protected void doAdd(com.google.gwt.user.client.ui.IsWidget widget) -
addLast
public void addLast(com.google.gwt.user.client.ui.IsWidget widget) Description copied from interface:BarAdd a Widget to the Toolbar AFTER the PlaceHolder When a JadiceButton has been added, it will be managed. -
addSeparator
public void addSeparator()Description copied from interface:BarAdds a Separator to separate ButtonGroups- Specified by:
addSeparatorin interfaceBar
-
doAddSeparator
protected void doAddSeparator() -
clear
public void clear() -
getWidgets
-