com.virtualweaver.xotics.datamodel.editor
Class XoCharPropertyEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bycom.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
          extended bycom.virtualweaver.xotics.datamodel.editor.XoTextualPropertyEditor
              extended bycom.virtualweaver.xotics.datamodel.editor.XoCharPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor, XoPropertyEditor

public class XoCharPropertyEditor
extends XoTextualPropertyEditor

Version:
4.1

Field Summary
 
Fields inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
customEditor, value
 
Constructor Summary
XoCharPropertyEditor()
          Creates a new instance of XoDefaultPropertyEditor
 
Method Summary
protected  java.lang.Object createValue(java.lang.String str)
          Creates an instance of value object by converting string param str.
 void setAsText(java.lang.String str)
          Sets value with result of converting param str as object, by createValue()
 
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoTextualPropertyEditor
createCustomEditor, initCustomEditor, setCustomEditorValue, supportsCustomEditor
 
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
getAsText, getCustomEditor, getValue, isPaintable, setProperty, setValue
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, paintValue, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getJavaInitializationString, getTags, paintValue, removePropertyChangeListener
 

Constructor Detail

XoCharPropertyEditor

public XoCharPropertyEditor()
Creates a new instance of XoDefaultPropertyEditor

Method Detail

setAsText

public void setAsText(java.lang.String str)
               throws java.lang.IllegalArgumentException
Description copied from class: XoAbstractPropertyEditor
Sets value with result of converting param str as object, by createValue()

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class XoAbstractPropertyEditor
Throws:
java.lang.IllegalArgumentException

createValue

protected java.lang.Object createValue(java.lang.String str)
                                throws java.lang.IllegalArgumentException
Description copied from class: XoAbstractPropertyEditor
Creates an instance of value object by converting string param str.

Specified by:
createValue in class XoAbstractPropertyEditor
Parameters:
str - the string to convert into value
Returns:
an object created with str
Throws:
java.lang.IllegalArgumentException - if str is not convertible