butler.swing.util
Class TextEditor

java.lang.Object
  extended by butler.swing.util.ValueEditor.BaseImpl
      extended by butler.swing.util.TextEditor
All Implemented Interfaces:
ValueEditor

public class TextEditor
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
TextEditor(StringDatatype datatype)
           
 
Method Summary
 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

TextEditor

public TextEditor(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()