public class FlexiGridPeer
extends nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
AbstractComponentSynchronizePeer initializing the libraries for the FlexiGrid component
and responsible for transport of the properties to the javascript based echo3 client.| Modifier and Type | Field and Description |
|---|---|
protected static com.thoughtworks.xstream.XStream |
xstreamIn |
protected static com.thoughtworks.xstream.XStream |
xstreamOut
The serializer used to serialize model instances.
|
| Constructor and Description |
|---|
FlexiGridPeer()
Default constructor for a
FlexiGridPeer. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientComponentType(boolean shortType) |
java.lang.Class |
getComponentClass() |
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
FlexiGrid properties. |
void |
init(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component) |
addEvent, addOutputProperty, addOutputProperty, addRequiredComponentClass, getEventDataClass, getEventTypes, getInputPropertyClass, getOutputPropertyIndices, getOutputPropertyMethodName, getOutputPropertyNames, getUpdatedOutputPropertyNames, hasListeners, hasUpdatedListeners, isOutputPropertyIndexed, isOutputPropertyReferenced, processEvent, setOutputPropertyReferenced, storeInputPropertyprotected static final com.thoughtworks.xstream.XStream xstreamOut
protected static final com.thoughtworks.xstream.XStream xstreamIn
public FlexiGridPeer()
FlexiGridPeer. 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.Object getOutputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex)
FlexiGrid 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.