datechooser.beans.editor
Class StringEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by datechooser.beans.editor.StringEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class StringEditor
extends java.beans.PropertyEditorSupport

Editor for string properties. Needs for uniform properties store.
Редактор-заглушка для свойств строкового типа. Используется для единообразного сохранения свойств.

Since:
1.0
Author:
Androsov Vadim

Constructor Summary
StringEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 java.lang.String getJavaInitializationString()
           
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEditor

public StringEditor()
Method Detail

getAsText

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

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException

getJavaInitializationString

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