echopointng.ui.syncpeer
Class ListSectionPeer

java.lang.Object
  extended by echopointng.ui.syncpeer.AbstractEchoPointPeer
      extended by echopointng.ui.syncpeer.AbstractEchoPointContainerPeer
          extended by echopointng.ui.syncpeer.ListSectionPeer
All Implemented Interfaces:
java.util.Comparator, ComponentSynchronizePeer, DomUpdateSupport

public class ListSectionPeer
extends AbstractEchoPointContainerPeer
implements java.util.Comparator


Field Summary
 
Fields inherited from class echopointng.ui.syncpeer.AbstractEchoPointPeer
DEFAULT_CONTAINER_TAG, partialUpdateManager
 
Constructor Summary
ListSectionPeer()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          we are a comparator on the List Section list
 void renderHtml(RenderingContext rc, org.w3c.dom.Node parent, Component component)
          This is the rendering method you must implement if you are to use AbstractEchoPointPeer.
 
Methods inherited from class echopointng.ui.syncpeer.AbstractEchoPointContainerPeer
getContainerId, renderUpdate
 
Methods inherited from class echopointng.ui.syncpeer.AbstractEchoPointPeer
disposeRenderState, renderAdd, renderDispose, renderHtml, renderReplaceableChild, renderUpdateAddChildren, renderUpdateBaseImpl, renderUpdateRemoveChildren, retreiveRenderState, storeRenderState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ListSectionPeer

public ListSectionPeer()
Method Detail

renderHtml

public void renderHtml(RenderingContext rc,
                       org.w3c.dom.Node parent,
                       Component component)
Description copied from class: AbstractEchoPointPeer
This is the rendering method you must implement if you are to use AbstractEchoPointPeer.

Its a simpler wrapper for the standard one but provides some neato setup services that would otherwise be repeated over and over again.

Note the use of RenderingContext object instead of the standard Echo RenderContext as this provides more rich code facilities.

Specified by:
renderHtml in class AbstractEchoPointPeer
Parameters:
rc - - the RenderingContext to use
parent - - the parent Node to put content into
component - - the component in question
See Also:
AbstractEchoPointPeer.renderHtml(echopointng.ui.util.RenderingContext, Node, nextapp.echo2.app.Component)

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
we are a comparator on the List Section list

Specified by:
compare in interface java.util.Comparator