public interface UiNavigation
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(Actionable actionable)
Adds a  
Actionable to end of the navigation | 
Actionable | 
getCursor()
Returns the  
Actionable highlighted by the cursor | 
void | 
layout(ScreenSize screenSize)
Re-orders elements based on screen size if necessary 
 | 
Actionable | 
navigate(int keycode)
Update (if required) navigation from key input 
 | 
void | 
remove(Actionable actionable)
Removes a  
Actionable from the navigation and shifts any following
 Actionables by 1 place | 
void | 
removeAll()
Removes all  
Actionable instances from the navigation | 
Actionable | 
resetCursor()
Resets the selection back to the first  
Actionable | 
void | 
set(int index,
   Actionable actionable)
Replace an  
Actionable at a specific index | 
void layout(ScreenSize screenSize)
screenSize - The current ScreenSizeActionable resetCursor()
ActionableActionableActionable getCursor()
Actionable highlighted by the cursorActionablevoid add(Actionable actionable)
Actionable to end of the navigationactionable - The Actionable to addvoid remove(Actionable actionable)
Actionable from the navigation and shifts any following
 Actionables by 1 placeactionable - The Actionable to removevoid removeAll()
Actionable instances from the navigationvoid set(int index,
         Actionable actionable)
Actionable at a specific indexindex - The index to replaceactionable - The new ActionableActionable navigate(int keycode)
keycode - The key that was pressedActionable