|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kalmeo.kuix.widget.Widget
org.kalmeo.kuix.widget.FocusableWidget
org.kalmeo.kuix.widget.ActionWidget
org.kalmeo.kuix.widget.ListItem
org.kalmeo.kuix.widget.MenuItem
org.kalmeo.kuix.widget.Menu
org.kalmeo.kuix.widget.Screen.ScreenMenu
public class Screen.ScreenMenu
This class represents a screen menu
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Menu |
---|
Menu.MenuPopup |
Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Widget |
---|
Widget.BindInstruction |
Field Summary |
---|
Fields inherited from class org.kalmeo.kuix.widget.Menu |
---|
popup |
Fields inherited from class org.kalmeo.kuix.widget.FocusableWidget |
---|
DISABLED_PSEUDO_CLASS, enabled, focusable, focused, HOVER_PSEUDO_CLASS, PSEUDO_CLASSES |
Fields inherited from class org.kalmeo.kuix.widget.Widget |
---|
bindInstructions, DEFAULT_ALIGN, DEFAULT_BACKGROUND_ALIGN, DEFAULT_BACKGROUND_REPEAT, DEFAULT_BORDER, DEFAULT_GAP, DEFAULT_MARGIN, DEFAULT_MIN_SIZE, DEFAULT_PADDING, DEFAULT_SPAN, DEFAULT_WEIGHT, next, parent, previous |
Constructor Summary | |
---|---|
Screen.ScreenMenu(java.lang.String tag,
boolean first,
boolean internal)
Construct a Screen.ScreenMenu |
Method Summary | |
---|---|
void |
clearCachedStyle(boolean propagateToChildren)
Clear the cachedStyle. |
LayoutData |
getLayoutData()
|
void |
hideMenuTree()
Hide the menu tree |
boolean |
isFocusable()
Check if this Widget is focusable. |
boolean |
processActionEvent()
Process action event |
void |
setVisible(boolean visible)
Set the widget's visibility state. |
void |
showPopup()
Open the menuPopup |
Methods inherited from class org.kalmeo.kuix.widget.Menu |
---|
cleanUp, getDepth, getInternalChildInstance, getPopup, hideAllMenuPopups, hidePopup, removeAll, showPopup |
Methods inherited from class org.kalmeo.kuix.widget.ListItem |
---|
getDefaultStylePropertyValue |
Methods inherited from class org.kalmeo.kuix.widget.ActionWidget |
---|
getOnAction, processKeyEvent, processPointerEvent, processShortcutKeyEvent, setAttribute, setOnAction |
Methods inherited from class org.kalmeo.kuix.widget.FocusableWidget |
---|
getAttribute, getAvailablePseudoClasses, getOnFocus, getOnLostFocus, giveFocusToNearestWidget, isEnabled, isFocused, isPseudoClassCompatible, onAdded, processFocusEvent, remove, requestFocus, setEnabled, setFocusable, setOnFocus, setOnLostFocus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Screen.ScreenMenu(java.lang.String tag, boolean first, boolean internal)
Screen.ScreenMenu
tag
- layoutData
- internal
- Method Detail |
---|
public LayoutData getLayoutData()
getLayoutData
in class Widget
public void clearCachedStyle(boolean propagateToChildren)
Widget
clearCachedStyle
in class Widget
public boolean isFocusable()
Widget
Widget
is focusable.
isFocusable
in class FocusableWidget
true
if the widget is focusablepublic void hideMenuTree()
Menu
hideMenuTree
in class Menu
public void showPopup()
Menu
showPopup
in class Menu
public boolean processActionEvent()
Widget
processActionEvent
in class Menu
true
if the event is treated by the widgetpublic void setVisible(boolean visible)
Widget
setVisible
in class FocusableWidget
visible
- the visible to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |