Package com.levigo.jadice.web.client.ui
Class JadiceSubmenuButton
java.lang.Object
com.levigo.jadice.web.client.ui.JadiceButton
com.levigo.jadice.web.client.ui.JadiceDefaultButton
com.levigo.jadice.web.client.ui.JadiceSubmenuButton
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
,Bar
,HasPreferedPopupPosition
A Button used to open a sub-menus.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.levigo.jadice.web.client.ui.JadiceButton
action, command
-
Constructor Summary
ConstructorsConstructorDescriptionJadiceSubmenuButton
(Action action) JadiceSubmenuButton
(Action action, boolean showLabel) JadiceSubmenuButton
(Action action, boolean showLabel, JadiceButtonStyle css) JadiceSubmenuButton
(Action action, boolean showLabel, JadiceButtonStyle css, PopupExecutor popupExecutor) -
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 ButtonGroupsvoid
setAlignment
(JadiceSubmenuButton.Alignment alignment) void
setSubMenuDebugId
(String debugId) Deprecated.Do only use for testing and for sure not in production!Methods inherited from class com.levigo.jadice.web.client.ui.JadiceDefaultButton
doUpdate, init, updateFocus
Methods inherited from class com.levigo.jadice.web.client.ui.JadiceButton
asWidget, doUpdate, getCommand, getContext, getTabIndex, init, setAriaRole, setContext, setDescription, setFocus, setHover, setPrefered, setTabIndex, setVisible, setWidget, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
-
Constructor Details
-
JadiceSubmenuButton
-
JadiceSubmenuButton
-
JadiceSubmenuButton
-
JadiceSubmenuButton
public JadiceSubmenuButton(Action action, boolean showLabel, JadiceButtonStyle css, PopupExecutor popupExecutor)
-
-
Method Details
-
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. -
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
-
setSubMenuDebugId
Deprecated.Do only use for testing and for sure not in production!- Parameters:
debugId
- the id attribute of the HTML tag that gwt creates