public class DatePickerPeer
extends nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
AbstractComponentSynchronizePeer initializing the libraries for the DatePicker component and
responsible for transport of the properties to the javascript based echo3 client.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INPUT_CHANGE
Input property name for text change events.
|
protected static com.thoughtworks.xstream.XStream |
xstream
The serializer used to serialize model instances.
|
| Constructor and Description |
|---|
DatePickerPeer()
Default constructor for a
DatePickerPeer. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientComponentType(boolean shortType) |
java.lang.Class |
getComponentClass() |
java.lang.Class |
getInputPropertyClass(java.lang.String propertyName) |
java.lang.Object |
getOutputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex)
Over-ridden to handle requests for the
DatePicker properties. |
void |
init(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component) |
void |
storeInputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex,
java.lang.Object newValue) |
addEvent, addOutputProperty, addOutputProperty, addRequiredComponentClass, getEventDataClass, getEventTypes, getOutputPropertyIndices, getOutputPropertyMethodName, getOutputPropertyNames, getUpdatedOutputPropertyNames, hasListeners, hasUpdatedListeners, isOutputPropertyIndexed, isOutputPropertyReferenced, processEvent, setOutputPropertyReferencedpublic static final java.lang.String INPUT_CHANGE
protected static final com.thoughtworks.xstream.XStream xstream
public DatePickerPeer()
DatePickerPeer. Registers an event peer for client events.public java.lang.String getClientComponentType(boolean shortType)
public java.lang.Class getComponentClass()
getComponentClass in interface nextapp.echo.webcontainer.ComponentSynchronizePeergetComponentClass in class nextapp.echo.webcontainer.AbstractComponentSynchronizePeerpublic void init(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component)
init in interface nextapp.echo.webcontainer.ComponentSynchronizePeerinit in class nextapp.echo.webcontainer.AbstractComponentSynchronizePeerpublic java.lang.Class getInputPropertyClass(java.lang.String propertyName)
getInputPropertyClass in interface nextapp.echo.webcontainer.ComponentSynchronizePeergetInputPropertyClass in class nextapp.echo.webcontainer.AbstractComponentSynchronizePeerAbstractComponentSynchronizePeer.getInputPropertyClass(java.lang.String)public void storeInputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex,
java.lang.Object newValue)
storeInputProperty in interface nextapp.echo.webcontainer.ComponentSynchronizePeerstoreInputProperty in class nextapp.echo.webcontainer.AbstractComponentSynchronizePeerComponentSynchronizePeer.storeInputProperty(Context, Component, String, int, Object)public java.lang.Object getOutputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex)
DatePicker properties. The collection of tag instances are serialised as a
JSON stucture.getOutputProperty in interface nextapp.echo.webcontainer.ComponentSynchronizePeergetOutputProperty in class nextapp.echo.webcontainer.AbstractComponentSynchronizePeerComponentSynchronizePeer.getOutputProperty(Context, Component, String, int)Copyright notice.