public class nUIWindowDisplay extends nUIDisplayObject
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 |
---|
nUIWindowDisplay(int nuiid)
Default window constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height of this object.
|
int |
getInnerHeight() |
int |
getInnerX()
Space between the value of getX() and the internal bounding box of this window.
|
int |
getInnerY()
Space between the value of getY() and the internal bounding box of this window.
|
int[] |
getPaneDimensions(int pane) |
boolean |
insertAt(int index,
nUIObject to_add)
Insert a nUIObject as a child of this one, at the given index.
|
int |
numPanes() |
void |
setFullscreen(boolean fullscreen) |
void |
setPaneDimensions(int pane,
int[] dimensions)
Takes a copy of the supplied x/y/w/h dimensions and records them for this pane
|
void |
transitionFrom(nUIViewDisplay view)
Transition from an old view, with effect (DIS)"APPEAR" and default pane
|
void |
transitionFrom(nUIViewDisplay view,
int transition)
Transition from an old view, with default pane
|
void |
transitionFrom(nUIViewDisplay view,
int transition,
int pane)
Transition from an old view
|
void |
transitionTo(nUIViewDisplay view)
Transition to a new view, with effect "APPEAR" and in default pane
|
void |
transitionTo(nUIViewDisplay view,
int transition)
Transition to a new view, with default pane
|
void |
transitionTo(nUIViewDisplay view,
int transition,
int pane)
Transition to a new view
|
getBottom, getFocus, getFocusable, getGesturable, getInnerWidth, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, getY, insertAtInternal, remove, setBottom, setChildFocus, setFocus, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace
public nUIWindowDisplay(int nuiid)
nuiid
- Unique Native UI ID (or -1 if unidentified)public boolean insertAt(int index, nUIObject to_add)
public void setFullscreen(boolean fullscreen)
public int getInnerX()
getInnerX
in class nUIDisplayObject
public int getInnerY()
getInnerY
in class nUIDisplayObject
public void transitionTo(nUIViewDisplay view, int transition, int pane)
view
- The view to transition totransition
- The transition effect to usepane
- The pane of this window the view should appear in (-1 if none)public void transitionTo(nUIViewDisplay view, int transition)
view
- The view to transition totransition
- The transition effect to usepublic void transitionTo(nUIViewDisplay view)
view
- The view to transition topublic void transitionFrom(nUIViewDisplay view, int transition, int pane)
view
- The view to transition fromtransition
- The transition effect to usepane
- The pane of this window the view should appear in (-1 if none)public void transitionFrom(nUIViewDisplay view, int transition)
view
- The view to transition fromtransition
- The transition effect to usepublic void transitionFrom(nUIViewDisplay view)
view
- The view to transition frompublic void setPaneDimensions(int pane, int[] dimensions)
pane
- dimensions
- int[4] array supplying x, y, w, h in pixel coordinatespublic int numPanes()
public int[] getPaneDimensions(int pane)
public int getHeight()
nUIDisplayObject
getHeight
in class nUIDisplayObject
public int getInnerHeight()
getInnerHeight
in class nUIDisplayObject