public class nUICheckboxButton extends nUISwitchButton implements ICheckboxButton
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_DEFAULT
A default checkbox.
|
static int |
TYPE_NO_YES
For platforms that support it, this will be the yes/no checkbox type.
|
static int |
TYPE_OFF_ON
For platforms that support it, this will be the on/off checkbox type.
|
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
Constructor and Description |
---|
nUICheckboxButton() |
nUICheckboxButton(java.util.Hashtable properties) |
nUICheckboxButton(java.lang.String text) |
nUICheckboxButton(java.lang.String text,
java.util.Hashtable properties) |
Modifier and Type | Method and Description |
---|---|
int |
getTickColor() |
void |
setTickColor(int tick_color) |
getAccentColor, getOutlineColor, getThumbColor, isOn, setAccentColor, setNumstates, setOn, setOutlineColor, setTextColor, setThumbColor, setType, toggle
getFocusable, getFontStyle, getGroupID, getNumstates, getState, getText, getTextalign, getTextColor, getType, setFontSize, setFontStyle, setGroupID, setState, setText, setTextalign
applyBackground, applyBackground, applyBackground
getBackgroundDrawable, getBottom, getElementIdentifier, 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, 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, insertAt, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setId, setTag, setUnlinkChildrenOnRemoval
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOn, setOn, toggle
isEnabled, setEnabled
getText, setText, setTextColor
setBackgroundDrawable
public static final int TYPE_DEFAULT
public static final int TYPE_OFF_ON
public static final int TYPE_NO_YES
public nUICheckboxButton()
public nUICheckboxButton(java.util.Hashtable properties)
public nUICheckboxButton(java.lang.String text)
public nUICheckboxButton(java.lang.String text, java.util.Hashtable properties)