public abstract class Modal extends Container implements Navigatable
Container implementation that can be navigated by player input and
 supports hotkeysasyncQueue, children, renderNodeeffects, styleId, visibility, zIndex| Modifier and Type | Method and Description | 
|---|---|
| UiNavigation | getNavigation()Returns the  UiNavigationcurrently being navigated | 
| ActionableRenderNode | hotkey(ControllerButton button)Returns the corresponding  mapped to a  ControllerButtonhotkey | 
| ActionableRenderNode | hotkey(int keycode)Returns the corresponding  mapped 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 | syncWithRenderNode()Syncs data between the  UiElementandRenderNode | 
| void | unsetHotkey(ControllerButton button)Unmaps a  ControllerButtonhotkey | 
| void | unsetHotkey(int keycode)Unmaps a keyboard hotkey | 
add, add, addAsync, attach, detach, getElementById, getLayout, remove, remove, removeAll, setLayout, setStyleId, setVisibility, setZIndex, withElements, withElementsaddEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabledpublic void syncWithRenderNode()
UiElementUiElement and RenderNodesyncWithRenderNode in class Columnpublic ActionableRenderNode navigate(int keycode)
NavigatableActionableRenderNodenavigate in interface Navigatablekeycode - The navigation Input.Keys valueUiNavigation is availablepublic ActionableRenderNode hotkey(int keycode)
Navigatablehotkey in interface Navigatablekeycode - The Input.Keys keycode that is the hotkeypublic ActionableRenderNode hotkey(ControllerButton button)
NavigatableControllerButton 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 UiNavigation getNavigation()
NavigatableUiNavigation currently being navigatedgetNavigation in interface Navigatablepublic void setNavigation(UiNavigation navigation)