public class nUIRadioCheckbox extends nUICheckboxButton
TYPE_DEFAULT, TYPE_NO_YES, TYPE_OFF_ON
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 |
---|
nUIRadioCheckbox(int nuiid,
java.lang.String text)
Default radio-button constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setTextColor(int text_color)
Sets the text color.
|
setType
getFocusable, getFontSize, getFontStyle, getGroupID, getNumstates, getState, getText, getTextalign, getTextColor, getType, setFontSize, setFontSizeAbsolute, setFontSizeRelative, setFontStyle, setGroupID, setNumstates, setState, setText, setTextalign
getY, insertAt
getBackgroundDrawable, getBgcolor, getBottom, getFocus, getGesturable, getHeight, getInnerHeight, 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 nUIRadioCheckbox(int nuiid, java.lang.String text)
nuiid
- Unique Native UI ID (or -1 if unidentified)text
- The text displayed by this radio-buttonpublic void setTextColor(int text_color)
nUIButtonElement
setTextColor
in class nUICheckboxButton
text_color
- This is an AARRGGBB value - normally you will want to set the alpha portion fully opaque