public class nUIContainerElement extends nUIElementDisplay
Modifier and Type | Field and Description |
---|---|
static int |
SAVED_POINTER_LOCATIONS |
Y_IDENTIFIER_PREV_BOTTOM
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
Constructor and Description |
---|
nUIContainerElement() |
nUIContainerElement(java.util.Hashtable properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBgimageScroll()
Determine whether the container will scroll any background image set with the foreground.
|
boolean |
getHscrollable()
Gets the status of horizontal scrolling for this component.
|
int |
getScreenInnerX() |
int |
getScreenInnerY() |
boolean |
getVscrollable()
Gets the status of vertical scrolling for this component.
|
boolean |
insertAt(int index,
nUIObject to_add)
Insert a nUIObject as a child of this one, at the given index.
|
void |
setBgimageScroll(boolean bgimage_scroll)
Sets scrolling of the background Image with the foreground.
|
void |
setHscrollable(boolean hscrollable)
Sets this container's ability to scroll horizontally.
|
void |
setVscrollable(boolean vscrollable)
Sets this container's ability to scroll vertically.
|
applyBackground, applyBackground, applyBackground
getBackgroundDrawable, getBottom, getElementIdentifier, getFocusable, getGesturable, getHeight, getInnerHeight, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getProperties, getProperty, getRight, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, getY, insertAtInternal, isEnabled, isVisible, onRemoved, remove, setBackgroundDrawable, setBottom, setElementIdentifier, setEnabled, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setProperties, setProperty, setRight, setTop, setTriggerable, setVisible, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, getFirstChild, getId, getLastChild, getNextSibling, getParent, getPrevSibling, getTag, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setId, setTag, setUnlinkChildrenOnRemoval
public static final int SAVED_POINTER_LOCATIONS
public nUIContainerElement()
public nUIContainerElement(java.util.Hashtable properties)
public boolean insertAt(int index, nUIObject to_add)
nUIObject
public void setHscrollable(boolean hscrollable)
hscrollable
- true
if the container should scroll horizontally, false
otherwise.public boolean getHscrollable()
true
if this component will allow horizontal scrolling.public void setVscrollable(boolean vscrollable)
vscrollable
- true
if the container should scroll vertically, false
otherwise.public boolean getVscrollable()
true
if the container will allow vertical scrolling.public void setBgimageScroll(boolean bgimage_scroll)
bgimage_scroll
- true to enable scrolling, false to disable.public boolean getBgimageScroll()
public int getScreenInnerX()
getScreenInnerX
in class nUIDisplayObject
public int getScreenInnerY()
getScreenInnerY
in class nUIDisplayObject