com.samskivert.swing
Class RuntimeAdjust.TextFieldAdjust

java.lang.Object
  extended by com.samskivert.swing.RuntimeAdjust.Adjust
      extended by com.samskivert.swing.RuntimeAdjust.TextFieldAdjust
All Implemented Interfaces:
ActionListener, FocusListener, PropertyChangeListener, Comparable<RuntimeAdjust.Adjust>, EventListener
Direct Known Subclasses:
RuntimeAdjust.IntAdjust
Enclosing class:
RuntimeAdjust

protected abstract static class RuntimeAdjust.TextFieldAdjust
extends RuntimeAdjust.Adjust
implements ActionListener, FocusListener

Base class for adjusts which use a text field for entry.


Field Summary
protected  JTextField _valbox
          The textbox that holds the value.
 
Fields inherited from class com.samskivert.swing.RuntimeAdjust.Adjust
_config, _descrip, _editor, _name
 
Constructor Summary
RuntimeAdjust.TextFieldAdjust(String descrip, String name, PrefsConfig config)
           
 
Method Summary
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
protected  void populateEditor(JPanel editor)
           
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Field Detail

_valbox

protected JTextField _valbox
The textbox that holds the value.

Constructor Detail

RuntimeAdjust.TextFieldAdjust

public RuntimeAdjust.TextFieldAdjust(String descrip,
                                     String name,
                                     PrefsConfig config)
Method Detail

populateEditor

protected void populateEditor(JPanel editor)
Specified by:
populateEditor in class RuntimeAdjust.Adjust

focusGained

public void focusGained(FocusEvent e)
Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)
Specified by:
focusLost in interface FocusListener


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