apwidgets
Class APCompoundButton
java.lang.Object
apwidgets.APWidget
apwidgets.APTextView
apwidgets.APButton
apwidgets.APCompoundButton
- All Implemented Interfaces:
- android.text.NoCopySpan, android.text.TextWatcher, android.view.View.OnClickListener
- Direct Known Subclasses:
- APCheckBox, APToggleButton
public abstract class APCompoundButton
- extends APButton
Nested classes/interfaces inherited from interface android.text.NoCopySpan |
android.text.NoCopySpan.Concrete |
Constructor Summary |
APCompoundButton(int x,
int y,
int width,
int height,
java.lang.String text)
|
Method Summary |
void |
init(processing.core.PApplet pApplet)
Initializes the button. |
boolean |
isChecked()
|
void |
setChecked(boolean checked)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APCompoundButton
public APCompoundButton(int x,
int y,
int width,
int height,
java.lang.String text)
isChecked
public boolean isChecked()
- Returns:
- The state of the button.
setChecked
public void setChecked(boolean checked)
init
public void init(processing.core.PApplet pApplet)
- Description copied from class:
APButton
- Initializes the button. Is called by
APWidgetContainer
as it is added to it.
- Overrides:
init
in class APButton