Code example for ToggleButton

Methods: setEnabled

0
  } 
 
  public void a(boolean paramBoolean1, boolean paramBoolean2)
  { 
    this.c.setEnabled(paramBoolean1);
    this.m.setEnabled(paramBoolean2);
  } 
 
  public void b() 
  { 
    this.c.setChecked(e().b(this.g + "SMS", this.a));
    this.m.setChecked(e().b(this.g + "Call", this.a));
  } 
 
  public void setEnabled(boolean paramBoolean)
  { 
    super.setEnabled(paramBoolean);
    this.c.setEnabled(paramBoolean);
    this.m.setEnabled(paramBoolean);
  } 
}