net.sf.jzeno.echo
Class AutoRebindManager

java.lang.Object
  extended by net.sf.jzeno.echo.AutoRebindManager
All Implemented Interfaces:
java.io.Serializable

public class AutoRebindManager
extends java.lang.Object
implements java.io.Serializable

Manager that takes care of perfoming rebind automatically. It stores the last value a propertyComponent was bound to and after every controller submit (from the hidden frame) all propertyComponents on the screen are checked to see if the value they are bound to is still the same as it is now. If not so rebind is executed to resync the component to it's new binding in the domain model.

See Also:
Serialized Form

Constructor Summary
AutoRebindManager()
           
 
Method Summary
 void checkRebind()
           
 void checkRebind(Component startFrom)
           
 void checkRebind(java.util.List pcs)
           
 void clearCache()
           
 void cloneValues()
           
 void cloneValues(RebindableComponent onlyMe)
           
 void cloneValuesRecursively(Component startFrom)
           
 boolean isMonitored(Component c)
           
 void rebind(Component component)
           Rebinds a component, and takes into account the new value, to avoid succesive rebinds.
 void rebindRecursively(Component startFrom)
           Does a recursive rebind, updating the auto rebind managers clone of the value, to avoid succesive rebinds.
 void removeComponents(java.util.Set components)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoRebindManager

public AutoRebindManager()
Method Detail

checkRebind

public void checkRebind()

checkRebind

public void checkRebind(Component startFrom)

checkRebind

public void checkRebind(java.util.List pcs)

cloneValues

public void cloneValues()

cloneValuesRecursively

public void cloneValuesRecursively(Component startFrom)

cloneValues

public void cloneValues(RebindableComponent onlyMe)

clearCache

public void clearCache()

rebind

public void rebind(Component component)

Rebinds a component, and takes into account the new value, to avoid succesive rebinds.


rebindRecursively

public void rebindRecursively(Component startFrom)

Does a recursive rebind, updating the auto rebind managers clone of the value, to avoid succesive rebinds.


removeComponents

public void removeComponents(java.util.Set components)

isMonitored

public boolean isMonitored(Component c)