public interface ComponentSerializationListener
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.
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.