com.samskivert.swing
Class RuntimeAdjust.EnumAdjust
java.lang.Object
com.samskivert.swing.RuntimeAdjust.Adjust
com.samskivert.swing.RuntimeAdjust.EnumAdjust
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Comparable<RuntimeAdjust.Adjust>, EventListener
- Enclosing class:
- RuntimeAdjust
public static class RuntimeAdjust.EnumAdjust
- extends RuntimeAdjust.Adjust
- implements ActionListener
Provides runtime adjustable enumerated variables.
_value
protected String _value
_values
protected String[] _values
_valbox
protected JComboBox _valbox
RuntimeAdjust.EnumAdjust
public RuntimeAdjust.EnumAdjust(String descrip,
String name,
PrefsConfig config,
String[] values,
String defval)
getValue
public final String getValue()
setValue
public void setValue(String value)
populateEditor
protected void populateEditor(JPanel editor)
- Specified by:
populateEditor in class RuntimeAdjust.Adjust
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener
adjusted
protected void adjusted(String newValue,
String oldValue)
Copyright © 2000-2008 Michael Bayne.
All Rights Reserved.