Build 1.0_r1

android.widget
Interface Checkable

All Known Implementing Classes:
CheckBox, CheckedTextView, CompoundButton, RadioButton, ToggleButton

public interface Checkable

Defines an extension for views that make them checkable.


Method Summary
 boolean isChecked()
           
 void setChecked(boolean flag)
           
 void toggle()
          Change the checked state of the view to the inverse of its current state
 

Method Detail

setChecked

void setChecked(boolean flag)

isChecked

boolean isChecked()
Returns:
The current checked state of the view

toggle

void toggle()
Change the checked state of the view to the inverse of its current state


Build 1.0_r1

Please submit a feedback, bug or feature