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
- public class AttributeChangedEvent
- extends ResourceEvent
- See Also:
- Serialized Form
Field Summary |
protected org.w3c.tools.resources.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 |
Constructor Summary |
AttributeChangedEvent(org.w3c.tools.resources.ResourceReference ref,
org.w3c.tools.resources.Attribute attr,
java.lang.Object newvalue)
Create an attribute change event. |
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 org.w3c.tools.resources.Attribute attr
- The index of the attribut modified.
newvalue
protected java.lang.Object newvalue
- The attribut new value.
AttributeChangedEvent
public AttributeChangedEvent(org.w3c.tools.resources.ResourceReference ref,
org.w3c.tools.resources.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 org.w3c.tools.resources.Attribute getAttribute()
getNewValue
public java.lang.Object getNewValue()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.util.EventObject