com.virtualweaver.xotics.datamodel.editor
Class XoCalendarXsdPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.virtualweaver.xotics.datamodel.editor.XoAbstractPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoXsdPropertyEditor
com.virtualweaver.xotics.datamodel.editor.XoCalendarXsdPropertyEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor, XoPropertyEditor
- Direct Known Subclasses:
- XoXsdwDatePropertyEditor, XoXsdwDateTimePropertyEditor, XoXsdwgDayPropertyEditor, XoXsdwgMonthDayPropertyEditor, XoXsdwgMonthPropertyEditor, XoXsdwgYearMonthPropertyEditor, XoXsdwgYearPropertyEditor, XoXsdwTimePropertyEditor
- public class XoCalendarXsdPropertyEditor
- extends XoXsdPropertyEditor
Base PE for all XSD date types.
- Version:
- 4.1
Method Summary |
protected void |
createCustomEditor()
This method informs this to create the graphical UI to edit the value.
|
protected java.lang.Object |
createValue(java.util.GregorianCalendar gc)
|
protected void |
initCustomEditor()
This method informs this to init or reinit the graphical UI previously created by
createCustomEditor(). |
protected void |
setCustomEditorValue()
This method informs this to setup the graphical UI with current value. |
void |
setProperty(XoProperty p)
Here, this method extracts XSD class if any. |
Methods inherited from class com.virtualweaver.xotics.datamodel.editor.XoXsdPropertyEditor |
createValue, decode, getAsString, getAsText, getFractionDigit, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getPattern, getTotalDigit, getWhiteSpace, getXsdTypeLabel, matchFractionDigit, matchLength, matchMaxExclusive, matchMaxInclusive, matchMaxLength, matchMinExclusive, matchMinInclusive, matchMinLength, matchPattern, matchTotalDigit, whiteSpace |
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 |
calendarMode
protected int calendarMode
XoCalendarXsdPropertyEditor
public XoCalendarXsdPropertyEditor()
- Creates a new instance of XoNumericXsdPropertyEditor
setProperty
public void setProperty(XoProperty p)
- Description copied from class:
XoXsdPropertyEditor
- Here, this method extracts XSD class if any.
- Specified by:
setProperty
in interface XoPropertyEditor
- Overrides:
setProperty
in class XoXsdPropertyEditor
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 XoXsdPropertyEditor
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 XoXsdPropertyEditor
setCustomEditorValue
protected void setCustomEditorValue()
- Description copied from class:
XoAbstractPropertyEditor
- This method informs this to setup the graphical UI with current value.
- Specified by:
setCustomEditorValue
in class XoXsdPropertyEditor
createValue
protected java.lang.Object createValue(java.util.GregorianCalendar gc)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException