public class nUINavView extends nUIViewDisplay
nUINavbuttonElement
SAVED_POINTER_LOCATIONS
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUINavView(int nuiid)
Default nav/menu view constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHeaderHeight() |
int |
getHeight()
Gets the height of this view.
|
boolean |
insertAtInternal(int index,
nUIObject to_add)
The first focusable (non-nUINavView) nUIDisplayObject added should become the focused child
|
void |
setHeaderBgcolor(int headerbgcolor)
Sets the background colour of this view.
|
void |
setHeight(int height)
Sets the pixel height of this object.
|
void |
setWidth(int width)
Sets the pixel width of this object.
|
getBgimage, getBgimageScroll, getBgimageTileH, getBgimageTileV, getHeaderBgcolor, getHeaderimage, getHeadertext, getHscrollable, getInnerHeight, getInterElementYSpacing, getPopupDismissText, getScreenInnerX, getScreenInnerY, getVscrollable, getX, getY, insertAt, onUISynced, resetHeaderFgColor, setBgimage, setBgimageScroll, setBgimageTileH, setBgimageTileV, setHeaderFgColor, setHeaderimage, setHeadertext, setHscrollable, setInterElementYSpacing, setPopupDismissText, setVscrollable
getBackgroundDrawable, getBgcolor, getBottom, getFocus, getFocusable, getGesturable, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, isEnabled, onRemoved, remove, setBackgroundDrawable, setBgcolor, setBottom, setChildFocus, setEnabled, setFocus, setFocusable, setGesturable, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setX, setY
add, addEventListener, childElementAt, childIndexOf, getTag, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setTag
public nUINavView(int nuiid)
nuiid
- Unique Native UI ID (or -1 if unidentified)public boolean insertAtInternal(int index, nUIObject to_add)
nUIDisplayObject
insertAtInternal
in class nUIDisplayObject
public void setHeaderBgcolor(int headerbgcolor)
setHeaderBgcolor
in class nUIViewDisplay
headerbgcolor
- an ARGB color.public void setWidth(int width)
nUIDisplayObject
setWidth
in class nUIDisplayObject
width
- Width in pixelspublic void setHeight(int height)
nUIDisplayObject
setHeight
in class nUIDisplayObject
height
- height in pixelspublic int getHeight()
getHeight
in class nUIDisplayObject
public int getHeaderHeight()
getHeaderHeight
in class nUIViewDisplay