org.kalmeo.kuix.widget
Class Screen.ScreenMenu

java.lang.Object
  extended by org.kalmeo.kuix.widget.Widget
      extended by org.kalmeo.kuix.widget.FocusableWidget
          extended by org.kalmeo.kuix.widget.ActionWidget
              extended by org.kalmeo.kuix.widget.ListItem
                  extended by org.kalmeo.kuix.widget.MenuItem
                      extended by org.kalmeo.kuix.widget.Menu
                          extended by org.kalmeo.kuix.widget.Screen.ScreenMenu
Enclosing class:
Screen

public class Screen.ScreenMenu
extends Menu

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 org.kalmeo.kuix.widget.Widget
add, add, bringNear, bringToFront, catchChildrenFrom, cleanUpChildren, doLayout, getAlign, getAuthorStyle, getBackgroundAlign, getBackgroundColor, getBackgroundImage, getBackgroundRepeat, getBorder, getBorderAlign, getBorderColor, getBorderImage, getBorderStroke, getCachedMetrics, getChild, getColor, getDataProvider, getDesktop, getDisplayX, getDisplayY, getFocusManager, getGap, getGrayedColor, getHeight, getId, getInheritedTag, getInnerHeight, getInnerWidth, getInsets, getLastChild, getLayout, getMargin, getMinSize, getOtherFocus, getPadding, getPreferredSize, getSpan, getStyleClasses, getStylePropertyValue, getStyles, getTag, getWeight, getWidget, getWidgetAt, getWidgetAt, getWidth, getX, getY, hasBindInstruction, hasShortcutKeyCodes, hasShortcuts, invalidate, invalidate, invalidateAppearance, invalidateAppearanceRegion, invalidateStylePropertiesCache, isFocusWidgetChild, isIndividualyVisible, isInvalidated, isInWidgetTree, isObjectAttribute, isShortcutKeyCodeCompatible, isVisible, markAsValidate, needToComputePreferredSize, onChildAdded, onChildRemoved, onFocus, onLostFocus, onRemoved, paint, paintBackground, paintBorder, paintChildrenImpl, paintImpl, paintMosaicImage, parseAuthorStyle, processDataBindEvent, processItemsModelUpdateEvent, processModelUpdateEvent, propagateFocusEvent, removeAttributeBindInstruction, requestBackwardFocus, requestForwardFocus, sendToBack, setAttributeBindInstruction, setAuthorStyle, setBounds, setDataProvider, setId, setObjectAttribute, setShortcutKeyCodes, setShortcuts, setStyleClass, setStyleClasses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Screen.ScreenMenu

public Screen.ScreenMenu(java.lang.String tag,
                         boolean first,
                         boolean internal)
Construct a Screen.ScreenMenu

Parameters:
tag -
layoutData -
internal -
Method Detail

getLayoutData

public LayoutData getLayoutData()
Overrides:
getLayoutData in class Widget
Returns:
the layoutData

clearCachedStyle

public void clearCachedStyle(boolean propagateToChildren)
Description copied from class: Widget
Clear the cachedStyle.

Overrides:
clearCachedStyle in class Widget

isFocusable

public boolean isFocusable()
Description copied from class: Widget
Check if this Widget is focusable.

Overrides:
isFocusable in class FocusableWidget
Returns:
true if the widget is focusable

hideMenuTree

public void hideMenuTree()
Description copied from class: Menu
Hide the menu tree

Overrides:
hideMenuTree in class Menu

showPopup

public void showPopup()
Description copied from class: Menu
Open the menuPopup

Overrides:
showPopup in class Menu

processActionEvent

public boolean processActionEvent()
Description copied from class: Widget
Process action event

Overrides:
processActionEvent in class Menu
Returns:
true if the event is treated by the widget

setVisible

public void setVisible(boolean visible)
Description copied from class: Widget
Set the widget's visibility state. An invisible widget is ignore from layout and paint process.

Overrides:
setVisible in class FocusableWidget
Parameters:
visible - the visible to set


Copyright © 2007-2008 Kalmeo. All Rights Reserved.