|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.webcontainer.AbstractComponentSynchronizePeer
nextapp.echo.webcontainer.sync.component.AbstractListComponentPeer
public class AbstractListComponentPeer
Base synchronization peer for AbstractListComponents.
| Nested Class Summary | |
|---|---|
static class |
AbstractListComponentPeer.ListDataPeer
Server-to-client serialization peer for ListData objects. |
| Nested classes/interfaces inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer |
|---|
AbstractComponentSynchronizePeer.EventPeer |
| Constructor Summary | |
|---|---|
AbstractListComponentPeer()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClientComponentType(boolean mode)
Returns the remote client component type name. |
java.lang.Class |
getComponentClass()
Returns the (most basic) supported component class. |
java.lang.Class |
getInputPropertyClass(java.lang.String propertyName)
Returns null. |
java.lang.Object |
getOutputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex)
Returns any property from the local style of the Component. |
java.lang.String |
getOutputPropertyMethodName(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName)
Returns null. |
java.util.Iterator |
getUpdatedOutputPropertyNames(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
nextapp.echo.app.update.ServerComponentUpdate update)
Returns property names that have been updated in the specified ServerComponentUpdate that are either part of the local style
or have been added via the addOutputProperty() method. |
void |
init(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component)
Invokes the init() methods of peers of required component classes (added via addRequiredComponentClass()). |
void |
storeInputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int index,
java.lang.Object newValue)
Does nothing. |
| Methods inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer |
|---|
addEvent, addOutputProperty, addOutputProperty, addRequiredComponentClass, getEventDataClass, getEventTypes, getOutputPropertyIndices, getOutputPropertyNames, hasListeners, hasUpdatedListeners, isOutputPropertyIndexed, isOutputPropertyReferenced, processEvent, setOutputPropertyReferenced |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractListComponentPeer()
| Method Detail |
|---|
public java.lang.String getClientComponentType(boolean mode)
ComponentSynchronizePeer
mode - a boolean flag indicating whether a component name (true) or style name (false) is being rendered
ComponentSynchronizePeer.getClientComponentType(boolean)public java.lang.Class getComponentClass()
AbstractComponentSynchronizePeer
getComponentClass in interface ComponentSynchronizePeergetComponentClass in class AbstractComponentSynchronizePeerComponentSynchronizePeer.getComponentClass()public java.lang.Class getInputPropertyClass(java.lang.String propertyName)
AbstractComponentSynchronizePeer
getInputPropertyClass in interface ComponentSynchronizePeergetInputPropertyClass in class AbstractComponentSynchronizePeerpropertyName - the name of the property
ClassAbstractComponentSynchronizePeer.getInputPropertyClass(java.lang.String)
public java.lang.Object getOutputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int propertyIndex)
AbstractComponentSynchronizePeerComponent.
Implementations should override if they wish to support additional properties.
getOutputProperty in interface ComponentSynchronizePeergetOutputProperty in class AbstractComponentSynchronizePeercontext - the relevant Context, provides
standard contextual information described in class description, in
addition to the following:
component - the Component being renderedpropertyName - the name of the property being renderedpropertyIndex - the property index (only relevant for indexed properties, -1 will
be provided for non-indexed properties)
AbstractComponentSynchronizePeer.getOutputProperty(
nextapp.echo.app.util.Context, nextapp.echo.app.Component, java.lang.String, int)
public java.lang.String getOutputPropertyMethodName(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName)
AbstractComponentSynchronizePeer
getOutputPropertyMethodName in interface ComponentSynchronizePeergetOutputPropertyMethodName in class AbstractComponentSynchronizePeercontext - the relevant Context, provides
standard contextual information described in class description, in
addition to the following:
component - the componentpropertyName - the property name
AbstractComponentSynchronizePeer.getOutputPropertyMethodName(
nextapp.echo.app.util.Context, nextapp.echo.app.Component, java.lang.String)
public java.util.Iterator getUpdatedOutputPropertyNames(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
nextapp.echo.app.update.ServerComponentUpdate update)
AbstractComponentSynchronizePeerServerComponentUpdate that are either part of the local style
or have been added via the addOutputProperty() method.
getUpdatedOutputPropertyNames in interface ComponentSynchronizePeergetUpdatedOutputPropertyNames in class AbstractComponentSynchronizePeercontext - the relevant Context, provides
standard contextual information described in class description, in
addition to the following:
component - the componentupdate - the ServerComponentUpdate being rendered
Iterator of property names to update on the clientAbstractComponentSynchronizePeer.getUpdatedOutputPropertyNames(
nextapp.echo.app.util.Context, nextapp.echo.app.Component, nextapp.echo.app.update.ServerComponentUpdate)
public void init(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component)
AbstractComponentSynchronizePeer
init in interface ComponentSynchronizePeerinit in class AbstractComponentSynchronizePeercontext - the relevant Context, provides
standard contextual information described in class description, in
addition to the following:
component - the component being renderedComponentSynchronizePeer.init(nextapp.echo.app.util.Context, Component)
public void storeInputProperty(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component,
java.lang.String propertyName,
int index,
java.lang.Object newValue)
AbstractComponentSynchronizePeer
storeInputProperty in interface ComponentSynchronizePeerstoreInputProperty in class AbstractComponentSynchronizePeercontext - the relevant Context, provides
standard contextual information described in class description, in
addition to the following:
ClientMessageClientUpdateManagercomponent - the updated ComponentpropertyName - the name of the propertyindex - the index of the property
(or -1 in the typical case of a non-indexed property)newValue - the new value of the propertyAbstractComponentSynchronizePeer.storeInputProperty(
nextapp.echo.app.util.Context, nextapp.echo.app.Component, java.lang.String, int, java.lang.Object)
|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||