EchoPoint API - 3.0.0b5
App Webcontainer

echopoint
Class BorderLayoutPeer

java.lang.Object
  extended by nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
      extended by echopoint.internal.AbstractPeer
          extended by echopoint.internal.AbstractContainerPeer
              extended by echopoint.BorderLayoutPeer
All Implemented Interfaces:
ComponentSynchronizePeer

public class BorderLayoutPeer
extends AbstractContainerPeer

Component rendering peer for BorderLayout.

Version:
$Id: BorderLayoutPeer.java 144 2009-04-02 16:47:01Z sptrakesh $
Author:
Rakesh Vidyadharan 2009-04-02

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
AbstractComponentSynchronizePeer.EventPeer
 
Field Summary
protected static com.thoughtworks.xstream.XStream xstream
          The property name to apply to the /** The serialiser used to serialise Tag instances.
 
Constructor Summary
BorderLayoutPeer()
          Default constructor.
 
Method Summary
 String getClientComponentType(boolean shortType)
          
 Class getComponentClass()
          
 Object getOutputProperty(nextapp.echo.app.util.Context context, nextapp.echo.app.Component component, String propertyName, int propertyIndex)
          Over-ridden to handle requests for the REGION_TO_INDEX and INDEX_TO_REGION properties.
 void init(nextapp.echo.app.util.Context context, nextapp.echo.app.Component component)
          
 
Methods inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer
addEvent, addOutputProperty, addOutputProperty, addRequiredComponentClass, getEventDataClass, getEventTypes, getInputPropertyClass, 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
 

Field Detail

xstream

protected static final com.thoughtworks.xstream.XStream xstream
The property name to apply to the /** The serialiser used to serialise Tag instances.

Constructor Detail

BorderLayoutPeer

public BorderLayoutPeer()
Default constructor. Adds output properties for REGION_TO_INDEX and INDEX_TO_REGION.

Method Detail

init

public void init(nextapp.echo.app.util.Context context,
                 nextapp.echo.app.Component component)

Specified by:
init in interface ComponentSynchronizePeer
Overrides:
init in class AbstractContainerPeer
See Also:
AbstractComponentSynchronizePeer.init(nextapp.echo.app.util.Context, nextapp.echo.app.Component)

getOutputProperty

public Object getOutputProperty(nextapp.echo.app.util.Context context,
                                nextapp.echo.app.Component component,
                                String propertyName,
                                int propertyIndex)
Over-ridden to handle requests for the REGION_TO_INDEX and INDEX_TO_REGION properties. The map instances are serialised as a JSON stucture.

Specified by:
getOutputProperty in interface ComponentSynchronizePeer
Overrides:
getOutputProperty in class AbstractComponentSynchronizePeer
See Also:
ComponentSynchronizePeer.getOutputProperty(Context, Component, String, int)

getComponentClass

public Class getComponentClass()

Specified by:
getComponentClass in interface ComponentSynchronizePeer
Overrides:
getComponentClass in class AbstractContainerPeer
See Also:
AbstractComponentSynchronizePeer.getComponentClass()

getClientComponentType

public String getClientComponentType(boolean shortType)

Specified by:
getClientComponentType in interface ComponentSynchronizePeer
Overrides:
getClientComponentType in class AbstractContainerPeer
See Also:
ComponentSynchronizePeer.getClientComponentType(boolean)

EchoPoint API - 3.0.0b5
App Webcontainer