com.artima.place.attribute
Class LinkChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.artima.place.attribute.LinkChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class LinkChangeEvent
extends java.util.EventObject

An event that indicates a revised progress of a Link activation expressed in terms of percent complete.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LinkChangeEvent(LinkChangeEventGenerator source, int percentComplete)
          Constructs a LinkChangeEvent object with the specified percent completion.
 
Method Summary
 int getPercentComplete()
          Returns the percent complete for this Link activation.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkChangeEvent

public LinkChangeEvent(LinkChangeEventGenerator source,
                       int percentComplete)
Constructs a LinkChangeEvent object with the specified percent completion.
Parameters:
source - the source of this LinkChangeEvent
percentComplete - the percentage of completion that this LinkChangeEvent represents
Throws:
NullPointerException - if passed source is null
java.lang.IllegalArgumentException - if percentComplete is less than zero or greater than 100
Method Detail

getPercentComplete

public int getPercentComplete()
Returns the percent complete for this Link activation.
Returns:
the percent complete for this Link activation.