Class 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
    • Field Summary

      • Fields inherited from class javax.swing.DefaultButtonModel

        actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyButtonModel

        public PropertyButtonModel​(MutableProperty<V> property,
                                   V selected,
                                   V unselected)