datechooser.beans.editor.cell
Class CellViewEditor

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.cell.CellViewEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class CellViewEditor
extends VisualEditorCashed

Cell appearance editor. May be used independently. But it was desided do not make such properies. It is used be calendar appearance editor.
Редактор внешнего вида ячейки. Может использоваться и отдельно. Однако было принято решение не делать таких свойств компонента. Но он все равно используется в составе редактора внешнего вида

Since:
1.0
Author:
Androsov Vadim
See Also:
AppearEditor

Constructor Summary
CellViewEditor()
           
 
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

CellViewEditor

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