butler.swing.util
Class DateEditor

java.lang.Object
  extended by butler.swing.util.ValueEditor.BaseImpl
      extended by butler.swing.util.DateEditor
All Implemented Interfaces:
ValueEditor
Direct Known Subclasses:
SwingDateChooser, SwingMonthChooser

public class DateEditor
extends ValueEditor.BaseImpl

Editor for dates.

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
DateEditor(DateDatatype datatype)
           
DateEditor(DateDatatype datatype, java.text.DateFormat format)
           
 
Method Summary
 javax.swing.JComponent getComponent()
           
 java.lang.Object getValue()
           
 void setValue0(java.lang.Object value)
           
 
Methods inherited from class butler.swing.util.ValueEditor.BaseImpl
addChangeListener, fireStateChanged, getDatatype, 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

DateEditor

public DateEditor(DateDatatype datatype)
           throws java.lang.Exception
Throws:
java.lang.Exception

DateEditor

public DateEditor(DateDatatype datatype,
                  java.text.DateFormat format)
           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

getComponent

public javax.swing.JComponent getComponent()