# Class SingleSelectionButtonModel

java.lang.Object
javax.swing.DefaultButtonModel
javax.swing.JToggleButton.ToggleButtonModel
com.macrofocus.selection.swing.SingleSelectionButtonModel

All Implemented Interfaces:
  `ItemSelectable, Serializable, ButtonModel`

public class SingleSelectionButtonModel extends JToggleButton.ToggleButtonModel
Adapter class for interfacing Selection with Swing's ComboBox.

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class DefaultButtonModel

  `actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SingleSelectionButtonModel(MutableProperty<Boolean> selection)`
  `SingleSelectionButtonModel(MutableSingleSelection<Boolean> selection)`

- ## Method Summary

  ### Methods inherited from class JToggleButton.ToggleButtonModel

  `isSelected, setPressed, setSelected`

  ### Methods inherited from class DefaultButtonModel

  `addActionListener, addChangeListener, addItemListener, fireActionPerformed, fireItemStateChanged, fireStateChanged, getActionCommand, getActionListeners, getChangeListeners, getGroup, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setRollover`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SingleSelectionButtonModel

    public SingleSelectionButtonModel(MutableSingleSelection<Boolean> selection)

  - ### SingleSelectionButtonModel

    public SingleSelectionButtonModel(MutableProperty<Boolean> selection)