echopointng.ui.syncpeer
Class TreeTableCellPeer
java.lang.Object
echopointng.ui.syncpeer.AbstractEchoPointPeer
echopointng.ui.syncpeer.TreeTableCellPeer
- All Implemented Interfaces:
- ActionProcessor, ComponentSynchronizePeer, DomUpdateSupport
public class TreeTableCellPeer
- extends AbstractEchoPointPeer
- implements ActionProcessor
TreeTableCellPeer is a peer for the scope hidden component
TreeTable.TreeTableCell.
Its purpose it to render an individual "row" of a Tree, with the intended
parent a Table cell. Because it is scope hidden, it uses "named" properties
to access its data.
| Methods inherited from class echopointng.ui.syncpeer.AbstractEchoPointPeer |
disposeRenderState, getContainerId, renderAdd, renderDispose, renderHtml, renderReplaceableChild, renderUpdate, renderUpdateAddChildren, renderUpdateBaseImpl, renderUpdateRemoveChildren, retreiveRenderState, storeRenderState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeTableCellPeer
public TreeTableCellPeer()
processAction
public void processAction(ContainerInstance ci,
Component component,
org.w3c.dom.Element actionElement)
- Description copied from interface:
ActionProcessor
- Notifies the
ComponentSynchronizePeer that a client action
has occurred.
- Specified by:
processAction in interface ActionProcessor
- Parameters:
ci - the relevant ContainerInstancecomponent - the target ComponentactionElement - the XML element describing the action
(the name and value of the action may be obtained
by querying the ACTION_NAME and
ACTION_VALUE attribute values.- See Also:
ActionProcessor.processAction(nextapp.echo2.webcontainer.ContainerInstance,
nextapp.echo2.app.Component, org.w3c.dom.Element)
renderHtml
public void renderHtml(RenderingContext rc,
org.w3c.dom.Node parentNode,
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 useparentNode - -
the parent Node to put content intocomponent - -
the component in question- See Also:
AbstractEchoPointPeer.renderHtml(echopointng.ui.util.RenderingContext,
org.w3c.dom.Node, nextapp.echo2.app.Component)