public class nUITablecellElement extends nUIElementDisplay
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 |
---|
nUITablecellElement() |
nUITablecellElement(java.util.Hashtable properties) |
Modifier and Type | Method and Description |
---|---|
int |
getHspan()
Gets the current horizontal span of this table cell.
|
int |
getVAlign()
Gets the current vertical alignment of this table cell.
|
int |
getVspan()
Gets the current vertical span of this table cell.
|
boolean |
insertAt(int index,
nUIObject to_add)
Insert an element as a child of this one, at a given index.
|
boolean |
remove(nUIObject to_remove)
Remove a child nUIObject from this one.
|
void |
setHspan(int hspan)
Sets the horizontal span of this table cell.
|
void |
setVAlign(int valign)
Sets the vertical alignment of the table cell.
|
void |
setVspan(int vspan)
Sets the vertical span of this table cell.
|
applyBackground, applyBackground, applyBackground
getBackgroundDrawable, getBottom, getElementIdentifier, getFocusable, getGesturable, getHeight, getInnerHeight, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getProperties, getProperty, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, getY, insertAtInternal, isEnabled, isVisible, onRemoved, 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 nUITablecellElement()
public nUITablecellElement(java.util.Hashtable properties)
public boolean insertAt(int index, nUIObject to_add)
public boolean remove(nUIObject to_remove)
remove
in class nUIDisplayObject
to_remove
- the nUIObject to remove.public void setHspan(int hspan)
java.lang.IllegalArgumentException
- if hspan
is less than 1public int getHspan()
public void setVspan(int vspan)
java.lang.IllegalArgumentException
- if vspan
is less than 1public int getVspan()
public void setVAlign(int valign)
valign
- one of nUIConstants.top
, nUIConstants.bottom
,
or nUIConstants.center
java.lang.IllegalArgumentException
- if valign
is not one of the expected values.public int getVAlign()