butler.swing.util
Class NumericEditor

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

public class NumericEditor
extends StringEditor

Editor for numeric values.

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
NumericEditor(NumericDatatype datatype)
           
 
Method Summary
 java.lang.Object getValue()
           
 
Methods inherited from class butler.swing.util.StringEditor
clear, getComponent, getDatatype, setDatatype, setValue0
 
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

NumericEditor

public NumericEditor(NumericDatatype datatype)
              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getValue

public java.lang.Object getValue()
                          throws java.lang.Exception
Specified by:
getValue in interface ValueEditor
Overrides:
getValue in class StringEditor
Throws:
java.lang.Exception