Package com.macrofocus.selection.swing
Class SingleSelectionButtonModel
- java.lang.Object
-
- javax.swing.DefaultButtonModel
-
- javax.swing.JToggleButton.ToggleButtonModel
-
- com.macrofocus.selection.swing.SingleSelectionButtonModel
-
- All Implemented Interfaces:
java.awt.ItemSelectable
,java.io.Serializable
,javax.swing.ButtonModel
public class SingleSelectionButtonModel extends javax.swing.JToggleButton.ToggleButtonModel
Adapter class for interfacing Selection with Swing's ComboBox.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleSelectionButtonModel(MutableProperty<java.lang.Boolean> selection)
SingleSelectionButtonModel(MutableSingleSelection<java.lang.Boolean> selection)
-
Method Summary
-
Methods inherited from class javax.swing.JToggleButton.ToggleButtonModel
isSelected, setPressed, setSelected
-
Methods inherited from class javax.swing.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
-
-
-
-
Constructor Detail
-
SingleSelectionButtonModel
public SingleSelectionButtonModel(MutableSingleSelection<java.lang.Boolean> selection)
-
SingleSelectionButtonModel
public SingleSelectionButtonModel(MutableProperty<java.lang.Boolean> selection)
-
-