|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentSerializationListener
Used to notify an object stored in a component, when the component is going to be serialized or has been deserialized.
When a component is going to be serialized, it checks every
attribute (Component.setAttribute(java.lang.String, java.lang.Object, int))
and listener (Component.addEventListener(int, java.lang.String, org.zkoss.zk.ui.event.EventListener extends org.zkoss.zk.ui.event.Event>))
to see whether this interface is implemented.
If implemented, willSerialize(org.zkoss.zk.ui.Component) will be called.
Similarly, didDeserialize(org.zkoss.zk.ui.Component) is called if the component has
been deserialized.
| Method Summary | |
|---|---|
void |
didDeserialize(Component comp)
Called when a component has de-serialized this object back. |
void |
willSerialize(Component comp)
Called when a component is going to serialize this object. |
| Method Detail |
|---|
void willSerialize(Component comp)
void didDeserialize(Component comp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||