NextApp Echo3
v3.0.b4

nextapp.echo.webcontainer.sync.component
Class CompositePeer

java.lang.Object
  extended by nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
      extended by nextapp.echo.webcontainer.sync.component.CompositePeer
All Implemented Interfaces:
ComponentSynchronizePeer
Direct Known Subclasses:
PanelPeer

public class CompositePeer
extends AbstractComponentSynchronizePeer

Synchronization peer for Composites.

Author:
n.beekman

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
AbstractComponentSynchronizePeer.EventPeer
 
Constructor Summary
CompositePeer()
           
 
Method Summary
 java.lang.String getClientComponentType(boolean shortType)
          Returns the remote client component type name.
 java.lang.Class getComponentClass()
          Returns the (most basic) supported component class.
 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()).
 
Methods inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
addEvent, addOutputProperty, addOutputProperty, addRequiredComponentClass, getEventDataClass, getEventTypes, getInputPropertyClass, getOutputProperty, getOutputPropertyIndices, getOutputPropertyMethodName, getOutputPropertyNames, getUpdatedOutputPropertyNames, hasListeners, hasUpdatedListeners, isOutputPropertyIndexed, isOutputPropertyReferenced, processEvent, setOutputPropertyReferenced, storeInputProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositePeer

public CompositePeer()
Method Detail

getClientComponentType

public java.lang.String getClientComponentType(boolean shortType)
Description copied from interface: ComponentSynchronizePeer
Returns the remote client component type name.

Parameters:
shortType - flag indicating whether short type or normal type name should be returned
Returns:
the client component type name
See Also:
ComponentSynchronizePeer.getClientComponentType(boolean)

getComponentClass

public java.lang.Class getComponentClass()
Description copied from class: AbstractComponentSynchronizePeer
Returns the (most basic) supported component class.

Specified by:
getComponentClass in interface ComponentSynchronizePeer
Specified by:
getComponentClass in class AbstractComponentSynchronizePeer
Returns:
the (most basic) supported component class
See Also:
ComponentSynchronizePeer.getComponentClass()

init

public void init(nextapp.echo.app.util.Context context,
                 nextapp.echo.app.Component component)
Description copied from class: AbstractComponentSynchronizePeer
Invokes the init() methods of peers of required component classes (added via addRequiredComponentClass()). Implementations requiring initialization should override this method and invoke the super-implementation out of convention (even if they do not presently have any dependencies on other components).

Specified by:
init in interface ComponentSynchronizePeer
Overrides:
init in class AbstractComponentSynchronizePeer
Parameters:
context - the relevant Context, provides standard contextual information described in class description, in addition to the following:
  • ServerMessage
component - the component being rendered
See Also:
ComponentSynchronizePeer.init(nextapp.echo.app.util.Context, Component)

NextApp Echo3
v3.0.b4