public class Container extends Div implements Navigatable
asyncRemoveAll, children, renderNodedeferredLayout, deferredRender, deferredUpdate, effects, height, styleId, visibility, width, x, y, zIndex| Constructor and Description | 
|---|
| Container()Constructor. | 
| Container(float x,
         float y,
         float width,
         float height)Constructor | 
| Container(java.lang.String id)Constructor | 
| Container(java.lang.String id,
         float x,
         float y,
         float width,
         float height)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearControllerHotkeys()Unmaps all controller hotkeys | 
| void | clearHotkeys()Unmaps all hotkeys | 
| void | clearKeyboardHotkeys()Unmaps all keyboard hotkeys | 
| protected ParentRenderNode<?,?> | createRenderNode(ParentRenderNode<?,?> parent)Creates the  ParentRenderNodefor thisUiElement | 
| UiNavigation | getNavigation()Returns the  UiNavigationcurrently being navigated | 
| StyleRule | getStyleRule() | 
| ActionableRenderNode | hotkey(ControllerButton button)Returns the corresponding  ActionableRenderNodemapped to aControllerButtonhotkey | 
| ActionableRenderNode | hotkey(int keycode)Returns the corresponding  ActionableRenderNodemapped to a keyboard hotkey | 
| ActionableRenderNode | navigate(int keycode)Triggers a navigation and returns the newly highlighted  ActionableRenderNode | 
| void | setHotkey(ControllerButton button,
         Actionable actionable)Maps a  ControllerButtonto aActionable | 
| void | setHotkey(int keycode,
         Actionable actionable)Maps a keyboard button to a  Actionable | 
| void | setNavigation(UiNavigation navigation) | 
| void | syncWithUpdate(UiContainerRenderTree rootNode)Syncs data between the  UiElementandRenderNodeduring update | 
| void | unsetHotkey(ControllerButton button)Unmaps a  ControllerButtonhotkey | 
| void | unsetHotkey(int keycode)Unmaps a keyboard hotkey | 
withElements, withElementsadd, add, attach, detach, get, getChild, getElementById, getFlexLayout, getRenderHeight, getRenderWidth, getRenderX, getRenderY, getTotalChildren, invokeBeginHover, invokeEndHover, isFlexLayout, isInitialLayoutOccurred, isInitialUpdateOccurred, isOverflowClipped, isRenderNodeDirty, remove, remove, removeAll, removeAllAsync, setFlex, setFlexLayout, setHeightFlex, setOverflowClipped, setRenderNodeDirty, setStyleId, setVisibility, setWidthFlex, setXFlex, setXYFlex, setYFlex, setZIndex, shrinkToContents, shrinkToContentsaddEffectListener, addHoverListener, addNodeStateListener, alignAbove, alignBelow, alignEdgeToEdge, alignLeftOf, alignRightOf, applyEffect, deferUntilLayout, deferUntilLayout, deferUntilRender, deferUntilRender, deferUntilUpdate, deferUntilUpdate, deferUntilUpdate, deferUntilUpdate, equals, getContentHeight, getContentWidth, getHeight, getId, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleId, getVisibility, getWidth, getX, getY, getZIndex, hashCode, isDebugEnabled, isInitialised, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, notifyNodeStateListeners, removeEffectListener, removeHoverListener, removeNodeStateListener, set, setContentHeight, setContentWidth, setDebugEnabled, setHeight, setHeightToContentHeightOf, setHeightToHeightOf, setWidth, setWidthToContentWidthOf, setWidthToWidthOf, setX, setXY, setY, snapTo, snapTo, syncWithLayout, syncWithRenderclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIdpublic Container()
Containerpublic Container(java.lang.String id)
id - The unique ID for the Containerpublic Container(float x,
                 float y,
                 float width,
                 float height)
x - The x coordinate of this element relative to its parenty - The y coordinate of this element relative to its parentwidth - The width of this elementheight - The height of this elementpublic Container(java.lang.String id,
                 float x,
                 float y,
                 float width,
                 float height)
id - The unique ID for this element (if null an ID will be generated)x - The x coordinate of this element relative to its parenty - The y coordinate of this element relative to its parentwidth - The width of this elementheight - The height of this elementpublic void syncWithUpdate(UiContainerRenderTree rootNode)
UiElementUiElement and RenderNode during updatesyncWithUpdate in class ParentUiElementprotected ParentRenderNode<?,?> createRenderNode(ParentRenderNode<?,?> parent)
ParentUiElementParentRenderNode for this UiElementcreateRenderNode in class Divparent - The parent of this nodeParentRenderNodepublic ActionableRenderNode navigate(int keycode)
NavigatableActionableRenderNodenavigate in interface Navigatablekeycode - The navigation Input.Keys valueUiNavigation is availablepublic ActionableRenderNode hotkey(int keycode)
NavigatableActionableRenderNode mapped to a keyboard hotkeyhotkey in interface Navigatablekeycode - The Input.Keys keycode that is the hotkeypublic ActionableRenderNode hotkey(ControllerButton button)
NavigatableActionableRenderNode mapped to a ControllerButton hotkeyhotkey in interface Navigatablebutton - The ControllerButton that is the hotkeypublic void setHotkey(ControllerButton button, Actionable actionable)
NavigatableControllerButton to a ActionablesetHotkey in interface Navigatablebutton - The ControllerButton that is the hotkeyactionable - The Actionable to trigger when the hotkey is pressedpublic void setHotkey(int keycode,
                      Actionable actionable)
NavigatableActionablesetHotkey in interface Navigatablekeycode - The Input.Keys keycode that is the hotkeyactionable - The Actionable to trigger when the key is pressedpublic void unsetHotkey(ControllerButton button)
NavigatableControllerButton hotkeyunsetHotkey in interface Navigatablebutton - The ControllerButton that is the hotkeypublic void unsetHotkey(int keycode)
NavigatableunsetHotkey in interface Navigatablekeycode - The Input.Keys keycode that is the hotkeypublic void clearControllerHotkeys()
NavigatableclearControllerHotkeys in interface Navigatablepublic void clearKeyboardHotkeys()
NavigatableclearKeyboardHotkeys in interface Navigatablepublic void clearHotkeys()
NavigatableclearHotkeys in interface Navigatablepublic UiNavigation getNavigation()
NavigatableUiNavigation currently being navigatedgetNavigation in interface Navigatablepublic void setNavigation(UiNavigation navigation)
public StyleRule getStyleRule()
getStyleRule in class Div