|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo2.webcontainer.PartialUpdateManager
public class PartialUpdateManager
A utility class for rendering a collection of property updates to an existing HTML representation of a component on the client browser.
Constructor Summary | |
---|---|
PartialUpdateManager()
|
Method Summary | |
---|---|
void |
add(java.lang.String propertyName,
PartialUpdateParticipant updateParticipant)
Adds a PartialUpdateParticipant to handle a given property. |
boolean |
canProcess(RenderContext rc,
nextapp.echo2.app.update.ServerComponentUpdate update)
Determines if this PartialUpdateManager has participants
to update all changed properties specified in update . |
void |
process(RenderContext rc,
nextapp.echo2.app.update.ServerComponentUpdate update)
Renders updates to all properties in the provided update . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartialUpdateManager()
Method Detail |
---|
public void add(java.lang.String propertyName, PartialUpdateParticipant updateParticipant)
PartialUpdateParticipant
to handle a given property.
propertyName
- the name of the propertyupdateParticipant
- the PartialUpdateParticipant
public boolean canProcess(RenderContext rc, nextapp.echo2.app.update.ServerComponentUpdate update)
PartialUpdateManager
has participants
to update all changed properties specified in update
.
rc
- the relevant RenderContext
update
- the update
public void process(RenderContext rc, nextapp.echo2.app.update.ServerComponentUpdate update)
update
.
If the update contains a property for which a participant does not
exist in this registry, the given property is skipped.
rc
- the relevant RenderContext
update
- the update to process
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |