datechooser.beans.editor.dates
Class DateEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by datechooser.beans.editor.VisualEditor
          extended by datechooser.beans.editor.VisualEditorCashed
              extended by datechooser.beans.editor.dates.DateEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class DateEditor
extends VisualEditorCashed

Date editor. Uses datechooser components.
Редактор дат. Используются компоненты из этой библиотеки.

Since:
1.0
Author:
Androsov Vadim

Constructor Summary
DateEditor()
           
 
Method Summary
protected  javax.swing.JComponent createEditor()
           
 java.lang.String getAsText()
           
 java.lang.String getJavaInitializationString()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box)
           
 
Methods inherited from class datechooser.beans.editor.VisualEditorCashed
getCustomEditor, getEditorCash, setEditorCash
 
Methods inherited from class datechooser.beans.editor.VisualEditor
supportsCustomEditor
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, getValue, removePropertyChangeListener, setAsText, setSource, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface java.beans.PropertyEditor
Overrides:
isPaintable in class java.beans.PropertyEditorSupport

paintValue

public void paintValue(java.awt.Graphics gfx,
                       java.awt.Rectangle box)
Specified by:
paintValue in interface java.beans.PropertyEditor
Overrides:
paintValue in class java.beans.PropertyEditorSupport

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport

createEditor

protected javax.swing.JComponent createEditor()
Specified by:
createEditor in class VisualEditor