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 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 ButtonGroupsvoidsetAlignment(JadiceSubmenuButton.Alignment alignment) voidsetSubMenuDebugId(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, updateFocusMethods 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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BarAdd 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: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
-
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