Android
android.widget
public interface

android.widget.Checkable

android.widget.Checkable

Defines an extension for views that make them checkable.

Known Indirect Subclasses

Summary

Public Methods

          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

Details

Public Methods

public boolean isChecked()

Returns

  • The current checked state of the view

public void setChecked(boolean checked)

Change the checked state of the view

Parameters

checked The new checked state

public void toggle()

Change the checked state of the view to the inverse of its current state
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56