|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jzeno.echo.AutoRebindManager
public class AutoRebindManager
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.
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 |
---|
public AutoRebindManager()
Method Detail |
---|
public void checkRebind()
public void checkRebind(Component startFrom)
public void checkRebind(java.util.List pcs)
public void cloneValues()
public void cloneValuesRecursively(Component startFrom)
public void cloneValues(RebindableComponent onlyMe)
public void clearCache()
public void rebind(Component component)
Rebinds a component, and takes into account the new value, to avoid succesive rebinds.
public void rebindRecursively(Component startFrom)
Does a recursive rebind, updating the auto rebind managers clone of the value, to avoid succesive rebinds.
public void removeComponents(java.util.Set components)
public boolean isMonitored(Component c)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |