javax.swing
public static class JToggleButton.ToggleButtonModel extends DefaultButtonModel
Method Summary | |
---|---|
boolean | isSelected()
Checks if the button is selected.
|
void | setPressed(boolean p)
Sets the pressed state of the button. |
void | setSelected(boolean b)
Sets the selected state of the button.
|
Returns: true
if the button is selected.
Parameters: p true if the button is pressed down.
Parameters: b true if button is selected