butler.swing.util
Class StringEditor

java.lang.Object
  extended by butler.swing.util.ValueEditor.BaseImpl
      extended by butler.swing.util.StringEditor
All Implemented Interfaces:
ValueEditor
Direct Known Subclasses:
NumericEditor

public class StringEditor
extends ValueEditor.BaseImpl

Editor for strings.

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from class butler.swing.util.ValueEditor.BaseImpl
ValueEditor.BaseImpl.ThisChangeListener, ValueEditor.BaseImpl.ThisFocusListener, ValueEditor.BaseImpl.ThisKeyListener
 
Nested classes/interfaces inherited from interface butler.swing.util.ValueEditor
ValueEditor.BaseImpl
 
Constructor Summary
StringEditor(StringDatatype datatype)
           
 
Method Summary
 void clear()
           
 javax.swing.JComponent getComponent()
           
 Datatype getDatatype()
           
 java.lang.Object getValue()
           
 void setDatatype(StringDatatype datatype)
           
 void setValue0(java.lang.Object value)
           
 
Methods inherited from class butler.swing.util.ValueEditor.BaseImpl
addChangeListener, fireStateChanged, isDirty, isNullable, setCaption, setDatatype, setEdited, setNullable, setValidator, setValue, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEditor

public StringEditor(StringDatatype datatype)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getValue

public java.lang.Object getValue()
                          throws java.lang.Exception
Throws:
java.lang.Exception

setValue0

public void setValue0(java.lang.Object value)
               throws java.lang.Exception
Overrides:
setValue0 in class ValueEditor.BaseImpl
Throws:
java.lang.Exception

setDatatype

public void setDatatype(StringDatatype datatype)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getDatatype

public Datatype getDatatype()
Overrides:
getDatatype in class ValueEditor.BaseImpl

getComponent

public javax.swing.JComponent getComponent()

clear

public void clear()