public boolean isToggleButtonChecked ( String text ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "isToggleButtonChecked(\"" + text + "\")" ) ; } return checker . isButtonChecked ( ToggleButton . class , text ) ; }
Checks if a ToggleButton displaying the specified text is checked .