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 TypeMethodDescriptionvoid
add
(com.google.gwt.user.client.ui.IsWidget widget) Add a Widget to the Toolbar When a JadiceButton has been added, it will be managed.void
addLast
(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.void
Adds a Separator to separate ButtonGroupscom.google.gwt.user.client.ui.Widget
asWidget()
void
clear()
protected void
doAdd
(com.google.gwt.user.client.ui.IsWidget widget) protected void
protected com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
getStyle()
List<com.google.gwt.user.client.ui.IsWidget>
protected boolean
Placeholder 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:
asWidget
in interfacecom.google.gwt.user.client.ui.IsWidget
-
add
public void add(com.google.gwt.user.client.ui.IsWidget widget) Description copied from interface:Bar
Add 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:Bar
Add 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:Bar
Adds a Separator to separate ButtonGroups- Specified by:
addSeparator
in interfaceBar
-
doAddSeparator
protected void doAddSeparator() -
clear
public void clear() -
getWidgets
-