Package com.macrofocus.properties.swing
Class PropertyButtonModel<V>
- java.lang.Object
-
- javax.swing.DefaultButtonModel
-
- javax.swing.JToggleButton.ToggleButtonModel
-
- com.macrofocus.properties.swing.PropertyButtonModel<V>
-
- All Implemented Interfaces:
java.awt.ItemSelectable
,java.io.Serializable
,javax.swing.ButtonModel
- Direct Known Subclasses:
BooleanPropertyButtonModel
public class PropertyButtonModel<V> extends javax.swing.JToggleButton.ToggleButtonModel
Adapter class for interfacing Selection with Swing's ComboBox.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyButtonModel(MutableProperty<V> property, V selected, V unselected)
-
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
-
PropertyButtonModel
public PropertyButtonModel(MutableProperty<V> property, V selected, V unselected)
-
-