apwidgets
Class APCheckBox

java.lang.Object
  extended by apwidgets.APWidget
      extended by apwidgets.APTextView
          extended by apwidgets.APButton
              extended by apwidgets.APCompoundButton
                  extended by apwidgets.APCheckBox
All Implemented Interfaces:
android.text.NoCopySpan, android.text.TextWatcher, android.view.View.OnClickListener

public class APCheckBox
extends APCompoundButton

A Checkbox.Add instances to APWidgetContainer.

Author:
Rikard Lundstedt

Nested Class Summary
 
Nested classes/interfaces inherited from interface android.text.NoCopySpan
android.text.NoCopySpan.Concrete
 
Constructor Summary
APCheckBox(int x, int y, java.lang.String text)
          Creates a new check box.
 
Method Summary
 void init(processing.core.PApplet argPApplet)
          Initializes the check box.
 
Methods inherited from class apwidgets.APCompoundButton
isChecked, setChecked
 
Methods inherited from class apwidgets.APTextView
afterTextChanged, beforeTextChanged, getText, getTextColor, getTextSize, onTextChanged, setText, setTextColor, setTextSize
 
Methods inherited from class apwidgets.APWidget
addOnClickWidgetListener, getHeight, getPApplet, getWidth, getView, getX, getY, onClick, setPosition, setSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APCheckBox

public APCheckBox(int x,
                  int y,
                  java.lang.String text)
Creates a new check box.

Parameters:
x - The x position of the check box.
y - The y position of the check box.
text - The text on the label of the check box.
Method Detail

init

public void init(processing.core.PApplet argPApplet)
Initializes the check box. Is called by APWidgetContainer as it is added to it.

Overrides:
init in class APCompoundButton