    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.tools.resources.event.AttributeChangedEvent

    java.lang.Object
       |
       +----java.util.EventObject
               |
               +----org.w3c.tools.resources.event.ResourceEvent
                       |
                       +----org.w3c.tools.resources.event.AttributeChangedEvent

public class AttributeChangedEvent
extends ResourceEvent

##

attr
  The index of the attribut modified.
newvalue
  The attribut new value.

##

AttributeChangedEvent(ResourceReference, Attribute, Object)

##

getAttribute()
getNewValue()
toString()
  Create an attribute change event.

##

attr

     protected Attribute attr

  The index of the attribut modified.

newvalue

     protected Object newvalue

  The attribut new value.

##

AttributeChangedEvent

     public AttributeChangedEvent(ResourceReference ref,
                                  Attribute attr,
                                  Object newvalue)

##

getAttribute

     public Attribute getAttribute()

getNewValue

     public Object getNewValue()

toString

     public String toString()

  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.
  Overrides:
    toString in class EventObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index