|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echoservlet.FCRenderer
public class FCRenderer
This class takes care of performing quick differential updates to components.
Constructor Summary | |
---|---|
FCRenderer()
|
Method Summary | |
---|---|
boolean |
dequeueFastComponent(ComponentPeer peer)
|
void |
enqueueFastComponent(ComponentPeer peer,
Component cause)
The componentPeer being passed in is one that has modifications to it, as such it needs to be re-rendered to the client browser. |
void |
enqueueFastComponentForClear(Component component)
|
static java.util.Set |
getAllClassesWithGetInitializeMethod()
|
static java.lang.reflect.Method |
getGetInitializeScriptMethod(java.lang.Class peerClass)
|
static java.util.List |
getPeersForComponents(InstancePeer instancePeer,
java.util.List components)
|
static FCRenderer |
getRenderer()
|
boolean |
handlesUpdates(InstancePeer instancePeer)
Returns true if the FastComponentUpdateManager will handle the updates... |
static Element |
renderFastComponentSpan(RenderingContext rc,
Element parent,
Id id,
Component component,
boolean forceGeneration)
|
void |
renderUpdateScript(Connection conn,
InstancePeer instancePeer)
|
void |
reset()
|
static void |
sortComponentTree(InstancePeer instancePeer,
Component component,
java.util.Map typeToList)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FCRenderer()
Method Detail |
---|
public void enqueueFastComponent(ComponentPeer peer, Component cause)
The componentPeer being passed in is one that has modifications to it, as such it needs to be re-rendered to the client browser.
This method will decide whether or not the update to the component/componentPeer being passed in can be handled by the FastComponent inforstructure.
This method will return true if this infrastructure can handle the update, and as such the Service that normally needs to be updated is to ignore the component. Otherwise false is returned.
componentPeer
- public boolean dequeueFastComponent(ComponentPeer peer)
public void enqueueFastComponentForClear(Component component)
public boolean handlesUpdates(InstancePeer instancePeer)
public void reset()
public void renderUpdateScript(Connection conn, InstancePeer instancePeer)
public static FCRenderer getRenderer()
public static java.lang.reflect.Method getGetInitializeScriptMethod(java.lang.Class peerClass)
public static java.util.Set getAllClassesWithGetInitializeMethod()
public static void sortComponentTree(InstancePeer instancePeer, Component component, java.util.Map typeToList)
public static java.util.List getPeersForComponents(InstancePeer instancePeer, java.util.List components)
public static Element renderFastComponentSpan(RenderingContext rc, Element parent, Id id, Component component, boolean forceGeneration)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |