com.virtualweaver.xotics.datamodel.editor
Class XoTextualPropertyEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bycom.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
          extended bycom.virtualweaver.xotics.datamodel.editor.XoTextualPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor, XoPropertyEditor
Direct Known Subclasses:
XoCharPropertyEditor, XoClassPropertyEditor, XoDefaultPropertyEditor, XoObjectPropertyEditor, XoStringPropertyEditor

public abstract class XoTextualPropertyEditor
extends XoAbstractPropertyEditor

Version:
4.1

Field Summary
 
Fields inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
customEditor, value
 
Constructor Summary
XoTextualPropertyEditor()
          Creates a new instance of XoTextualPropertyEditor
 
Method Summary
protected  void createCustomEditor()
          This method informs this to create the graphical UI to edit the value.
protected  void initCustomEditor()
          This method informs this to init or reinit the graphical UI previously created by createCustomEditor().
 void setCustomEditorValue()
          This method informs this to setup the graphical UI with current value.
 boolean supportsCustomEditor()
          This class supports customEditor
 
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
createValue, getAsText, getCustomEditor, getValue, isPaintable, setAsText, 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

XoTextualPropertyEditor

public XoTextualPropertyEditor()
Creates a new instance of XoTextualPropertyEditor

Method Detail

createCustomEditor

protected void createCustomEditor()
Description copied from class: XoAbstractPropertyEditor
This method informs this to create the graphical UI to edit the value. The result must be stored in customEditor field. If a customEditor instance already exists, it must be released cleanly (i.e. remove any listener on it) before creating new instance.

Specified by:
createCustomEditor in class XoAbstractPropertyEditor

initCustomEditor

protected void initCustomEditor()
Description copied from class: XoAbstractPropertyEditor
This method informs this to init or reinit the graphical UI previously created by createCustomEditor().

Specified by:
initCustomEditor in class XoAbstractPropertyEditor

setCustomEditorValue

public void setCustomEditorValue()
Description copied from class: XoAbstractPropertyEditor
This method informs this to setup the graphical UI with current value.

Specified by:
setCustomEditorValue in class XoAbstractPropertyEditor

supportsCustomEditor

public boolean supportsCustomEditor()
Description copied from class: XoAbstractPropertyEditor
This class supports customEditor

Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class XoAbstractPropertyEditor