    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)
  Create an attribute change event.

##

getAttribute()
getNewValue()
toString()

##

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)

  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 Object getNewValue()

toString

     public String toString()

  Overrides:
    toString in class EventObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index