Class ContextMenuItemSubMenu
java.lang.Object
com.levigo.jadice.web.client.ui.menu.contextmenu.ContextMenuItem
com.levigo.jadice.web.client.ui.menu.contextmenu.ContextMenuItemSubMenu
-
Field Summary
Fields inherited from class com.levigo.jadice.web.client.ui.menu.contextmenu.ContextMenuItem
handler, parentWidget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
_onKeyDown
(com.google.gwt.event.dom.client.KeyDownEvent event) void
void
boolean
execute
(com.google.gwt.dom.client.Element rowElement) Overriden in subclasses.void
hide()
boolean
Returns whether this item is a sub-menu or notvoid
onAttach()
Call on attach.Methods inherited from class com.levigo.jadice.web.client.ui.menu.contextmenu.ContextMenuItem
getKeyStrokeString, getLabel, init, onDetach, onKeyDown, setAvailable, setEnabled, setHover, setSelected
-
Constructor Details
-
ContextMenuItemSubMenu
-
-
Method Details
-
getContextMenu
-
addSeparator
public void addSeparator() -
execute
public boolean execute(com.google.gwt.dom.client.Element rowElement) Description copied from class:ContextMenuItem
Overriden in subclasses.- Specified by:
execute
in classContextMenuItem
- Parameters:
rowElement
- An element that can be used to dynamically place the new context menu entry.- Returns:
- True if it was successfully executed (stop propagation, prevent default browser behavior).
-
onAttach
public void onAttach()Description copied from class:ContextMenuItem
Call on attach. Executes attach actions.- Overrides:
onAttach
in classContextMenuItem
-
_onKeyDown
public void _onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) - Overrides:
_onKeyDown
in classContextMenuItem
-
hide
public void hide()- Overrides:
hide
in classContextMenuItem