public class ControlNodeEvent
extends java.util.EventObject
| Constructor and Description |
|---|
ControlNodeEvent(java.lang.Object source,
ControlNode node,
org.w3c.dom.Element element,
XmlPersistContext context)
Initializes a new instance of the
ControlNodeEvent class. |
| Modifier and Type | Method and Description |
|---|---|
XmlPersistContext |
getContext()
Gets an XmlPersistContext object that provides serialization helper methods.
|
boolean |
getHandled()
Gets a value indicating whether the event is handled.
|
ControlNode |
getNode()
Gets a reference to the ControlNode being serialized or deserialized.
|
org.w3c.dom.Element |
getXmlElement()
Gets an XML element that stores the control attributes.
|
void |
setHandled(boolean value)
Sets a value indicating whether the event is handled.
|
public ControlNodeEvent(java.lang.Object source,
ControlNode node,
org.w3c.dom.Element element,
XmlPersistContext context)
ControlNodeEvent class.source - Specifies the event source.node - The ControlNode being serialized or deserialized.element - The org.w3c.dom.Element that stores the control attributes.context - An XmlPersistContext object that provides serialization helper methods.public org.w3c.dom.Element getXmlElement()
org.w3c.dom.Element instance.public ControlNode getNode()
ControlNode instance.public boolean getHandled()
true if some handler has already serialized the control, otherwise false.public void setHandled(boolean value)
value - true to indicate that the control has been serialized, otherwise false.public XmlPersistContext getContext()
XmlPersistContext instance.