|  Known Indirect Subclasses 
      
      
  
        
              | CheckBox | 
 A checkbox is a specific type of two-states button that can be either
 checked or unchecked.  |  
              | CheckedTextView | An extension to TextView that supports the Checkable interface. |  
              | CompoundButton | 
 A button with two states, checked and unchecked.  |  
              | RadioButton | 
 A radio button is a two-states button that can be either checked or
 unchecked.  |  
              | ToggleButton | Displays checked/unchecked states as a button
 with a "light" indicator and by default accompanied with the text "ON" or "OFF". |  | 
Class Overview
Defines an extension for views that make them checkable.
 
Summary
| Public Methods | 
|---|
    
        | abstract
            
            
            
            
            boolean | isChecked() | 
    
        | abstract
            
            
            
            
            void | setChecked(boolean checked) Change the checked state of the view | 
    
        | abstract
            
            
            
            
            void | toggle() Change the checked state of the view to the inverse of its current state
 | 
 
Public Methods
 
    
      
        public 
         
         
        abstract 
         
        boolean
      
      isChecked
      ()
    
    
  
  
      Returns
      - The current checked state of the view
 
 
 
 
    
      
        public 
         
         
        abstract 
         
        void
      
      setChecked
      (boolean checked)
    
    
  Change the checked state of the view
      Parameters
      
        
          | checked | The new checked state | 
      
   
 
 
 
    
      
        public 
         
         
        abstract 
         
        void
      
      toggle
      ()
    
    
  Change the checked state of the view to the inverse of its current state