Build 1.0_r1(from source)

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 checked)
          Change the checked state of the view
 void toggle()
          Change the checked state of the view to the inverse of its current state
 

Method Detail

setChecked

void setChecked(boolean checked)
Change the checked state of the view

Parameters:
checked - The new checked state

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(from source)

Please submit a feedback, bug or feature