org.w3c.tools.resources.event
Class AttributeChangedEvent
java.lang.Object
java.util.EventObject
org.w3c.tools.resources.event.ResourceEvent
org.w3c.tools.resources.event.AttributeChangedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AttributeChangedEvent
- extends ResourceEvent
- See Also:
- Serialized Form
Field Summary |
protected Attribute |
attr
The index of the attribut modified. |
protected java.lang.Object |
newvalue
The attribut new value. |
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attr
protected Attribute attr
- The index of the attribut modified.
newvalue
protected java.lang.Object newvalue
- The attribut new value.
AttributeChangedEvent
public AttributeChangedEvent(ResourceReference ref,
Attribute attr,
java.lang.Object newvalue)
- Create an attribute change event.
- Parameters:
source
- The resource whose attribute has changed.idx
- The index of the attribute that has changed.newvalue
- The new attribuyte value.
getAttribute
public Attribute getAttribute()
getNewValue
public java.lang.Object getNewValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject