jas.hist.util
Class SliceEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jas.hist.util.SliceEvent
All Implemented Interfaces:
java.io.Serializable

public class SliceEvent
extends java.util.EventObject

An event which is fired by a SliceAdapter when a new slice is added or removed

See Also:
Serialized Form

Inner Class Summary
static class SliceEvent.EventType
          Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SliceEvent(java.lang.Object source, SliceEvent.EventType type, int index)
          Creates a new object representing a hypertext link event.
 
Method Summary
 SliceEvent.EventType getEventType()
          Gets the type of event.
 int getIndex()
          Gets the index of the slice
 
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

SliceEvent

public SliceEvent(java.lang.Object source,
                  SliceEvent.EventType type,
                  int index)
Creates a new object representing a hypertext link event.
Parameters:
source - the object responsible for the event
type - the event type
u - the affected URL
Method Detail

getEventType

public SliceEvent.EventType getEventType()
Gets the type of event.
Returns:
the type

getIndex

public int getIndex()
Gets the index of the slice
Returns:
the index