echopointng.ui.util
Class AblePartialUpdater

java.lang.Object
  extended by echopointng.ui.util.AblePartialUpdater
All Implemented Interfaces:
PartialUpdateParticipant

public class AblePartialUpdater
extends java.lang.Object
implements PartialUpdateParticipant

AblePartialUpdater is a PartialUpdateParticipant that can handle the basic echopoint.able.* interfaces


Constructor Summary
AblePartialUpdater(java.lang.String targetPropertyName)
          Constructs a AblePartialUpdater that handles the specified property name.
 
Method Summary
static void addToUpdateManager(PartialUpdateManager partialUpdateManager)
          This creates a set of AblePartialUpdater's and adds them to the PartialUpdateManager for the particular able properties.
 boolean canRenderProperty(RenderContext rc, ServerComponentUpdate update)
          Determines if this partial update participant is capable of performing its specific task.
 void renderProperty(RenderContext rc, ServerComponentUpdate update)
          Renders an update to the client to perform the partial update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AblePartialUpdater

public AblePartialUpdater(java.lang.String targetPropertyName)
Constructs a AblePartialUpdater that handles the specified property name.

Parameters:
targetPropertyName - - the name of the property to handle
Method Detail

addToUpdateManager

public static void addToUpdateManager(PartialUpdateManager partialUpdateManager)
This creates a set of AblePartialUpdater's and adds them to the PartialUpdateManager for the particular able properties.

Parameters:
partialUpdateManager - - the PartialUpdateManager to add a AblePartialUpdater's to

canRenderProperty

public boolean canRenderProperty(RenderContext rc,
                                 ServerComponentUpdate update)
Description copied from interface: PartialUpdateParticipant
Determines if this partial update participant is capable of performing its specific task.

Specified by:
canRenderProperty in interface PartialUpdateParticipant
Parameters:
rc - the relevant RenderContext
update - the ServerComponentUpdate to be processed.
Returns:
true if the participant is capable of performing the task
See Also:
PartialUpdateParticipant.canRenderProperty(nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate)

renderProperty

public void renderProperty(RenderContext rc,
                           ServerComponentUpdate update)
Description copied from interface: PartialUpdateParticipant
Renders an update to the client to perform the partial update.

Specified by:
renderProperty in interface PartialUpdateParticipant
Parameters:
rc - the relevant RenderContext
update - the ServerComponentUpdate to be processed
See Also:
PartialUpdateParticipant.renderProperty( nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate)