public class ToggleButtonModel extends JToggleButton.ToggleButtonModel
actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask
Constructor and Description |
---|
ToggleButtonModel() |
Modifier and Type | Method and Description |
---|---|
ButtonGroup |
getGroup() |
String |
getGroupName() |
void |
setGroupName(String groupName) |
isSelected, setPressed, setSelected
addActionListener, addChangeListener, addItemListener, fireActionPerformed, fireItemStateChanged, fireStateChanged, getActionCommand, getActionListeners, getChangeListeners, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setRollover
public ButtonGroup getGroup()
getGroup
in class DefaultButtonModel
public String getGroupName()
public void setGroupName(String groupName)