|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoTextualPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoObjectPropertyEditor
Field Summary |
Fields inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor |
customEditor, value |
Constructor Summary | |
XoObjectPropertyEditor()
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. |
java.lang.String |
getAsText()
Returns current value as string representation |
void |
setProperty(XoProperty p)
Sets the property possibly using this editor. |
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoTextualPropertyEditor |
createCustomEditor, initCustomEditor, setCustomEditorValue, supportsCustomEditor |
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor |
getCustomEditor, getValue, isPaintable, setAsText, 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 |
public XoObjectPropertyEditor()
Method Detail |
public java.lang.String getAsText()
XoAbstractPropertyEditor
getAsText
in interface java.beans.PropertyEditor
getAsText
in class XoAbstractPropertyEditor
public void setProperty(XoProperty p)
XoAbstractPropertyEditor
setProperty
in interface XoPropertyEditor
setProperty
in class XoAbstractPropertyEditor
protected java.lang.Object createValue(java.lang.String str) throws java.lang.IllegalArgumentException
XoAbstractPropertyEditor
createValue
in class XoAbstractPropertyEditor
str
- the string to convert into value
java.lang.IllegalArgumentException
- if str is not convertible
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |