com.samskivert.swing
Class RuntimeAdjust.BooleanAdjust

java.lang.Object
  extended by com.samskivert.swing.RuntimeAdjust.Adjust
      extended by com.samskivert.swing.RuntimeAdjust.BooleanAdjust
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Comparable<RuntimeAdjust.Adjust>, EventListener
Enclosing class:
RuntimeAdjust

public static class RuntimeAdjust.BooleanAdjust
extends RuntimeAdjust.Adjust
implements ActionListener

Provides runtime adjustable boolean variables.


Field Summary
protected  JCheckBox _valbox
           
protected  boolean _value
           
 
Fields inherited from class com.samskivert.swing.RuntimeAdjust.Adjust
_config, _descrip, _editor, _name
 
Constructor Summary
RuntimeAdjust.BooleanAdjust(String descrip, String name, PrefsConfig config, boolean defval)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected  void adjusted(boolean newValue)
           
 boolean getValue()
           
protected  void populateEditor(JPanel editor)
           
 void propertyChange(PropertyChangeEvent evt)
           
 void setValue(boolean value)
           
 
Methods inherited from class com.samskivert.swing.RuntimeAdjust.Adjust
compareTo, equals, getAdjustment, getDescription, getEditor, getLibrary, getName, getPackage, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_value

protected boolean _value

_valbox

protected JCheckBox _valbox
Constructor Detail

RuntimeAdjust.BooleanAdjust

public RuntimeAdjust.BooleanAdjust(String descrip,
                                   String name,
                                   PrefsConfig config,
                                   boolean defval)
Method Detail

getValue

public final boolean getValue()

setValue

public void setValue(boolean 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(boolean newValue)


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.