com.timeindexing.event
Class IndexAccessEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.timeindexing.event.IndexEvent
          extended bycom.timeindexing.event.IndexAccessEvent
All Implemented Interfaces:
java.io.Serializable

public class IndexAccessEvent
extends IndexEvent

An Index Access Event, which is generated when an IndexItem is accessed in an Index.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IndexAccessEvent(java.lang.String aName, ID anID, IndexItem anItem, java.lang.Object aSource)
          Construct an IndexAccessEvent.
 
Method Summary
 IndexItem getIndexItem()
          Get the IndexItem from the event.
 
Methods inherited from class com.timeindexing.event.IndexEvent
getID, getName, getSource
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexAccessEvent

public IndexAccessEvent(java.lang.String aName,
                        ID anID,
                        IndexItem anItem,
                        java.lang.Object aSource)
Construct an IndexAccessEvent. Constructed from an index name, an index ID, the IndexItem, and the source of the event.

Method Detail

getIndexItem

public IndexItem getIndexItem()
Get the IndexItem from the event.