public class nUITableButton extends nUIButtonElement
nUITableElement
Modifier and Type | Field and Description |
---|---|
static int |
HIGHLIGHT_STYLE_BEHIND_COLORS |
static int |
HIGHLIGHT_STYLE_REPLACE_COLORS |
TYPE_DEFAULT, TYPE_LIST
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
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUITableButton(int nuiid) |
Modifier and Type | Method and Description |
---|---|
int |
getBgcolorHighlight()
Gets the highlight background colour of this button.
|
int |
getBgcolorHighlightStyle()
Gets the highlight background style of this button.
|
int |
getHeight()
Gets the height of this tablebutton.
|
int |
getInnerHeight()
Gets the inner height of this tablebutton.
|
boolean |
insertAt(int index,
nUIObject to_add)
A tablebutton can only have TableElements as direct children.
|
void |
setBgcolorHighlight(int bgcolor)
Sets the highlight background colour of this button.
|
void |
setBgcolorHighlightStyle(int style)
Sets the highlight background style of this button.
|
getFocusable, getFontSize, getFontStyle, getGroupID, getNumstates, getState, getText, getTextalign, getTextColor, getType, setFontSize, setFontSizeAbsolute, setFontSizeRelative, setFontStyle, setGroupID, setNumstates, setState, setText, setTextalign, setTextColor, setType
getY
getBackgroundDrawable, getBgcolor, getBottom, getFocus, getGesturable, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getWidth, getX, insertAtInternal, isEnabled, onRemoved, remove, setBackgroundDrawable, setBgcolor, setBottom, setChildFocus, setEnabled, setFocus, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, getTag, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setTag
public static final int HIGHLIGHT_STYLE_BEHIND_COLORS
public static final int HIGHLIGHT_STYLE_REPLACE_COLORS
public boolean insertAt(int index, nUIObject to_add)
insertAt
in class nUIElementDisplay
index
- The index to add a new objectto_add
- The new object to addpublic int getHeight()
getHeight
in class nUIDisplayObject
public int getInnerHeight()
getInnerHeight
in class nUIDisplayObject
public int getBgcolorHighlight()
public void setBgcolorHighlight(int bgcolor)
bgcolor
- the ARGB colour to set.public int getBgcolorHighlightStyle()
public void setBgcolorHighlightStyle(int style)