snap
Class SnapEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--snap.SnapEvent
All Implemented Interfaces:
java.io.Serializable

public class SnapEvent
extends java.util.EventObject

An event that indicates that some action has occured on a specific set of keys (tuples). This event will be thrown from Snapable visualizations and will be passed along to the visualization through the performSnapEvent() method.

Author:
Nathan Conklin - nathan@conklinfamily.net, Chris North - north@cs.vt.edu, Varun Saini - vsaini@vt.edu, Umer Farooq - ufarooq@vt.edu
See Also:
Serialized Form

Constructor Summary
SnapEvent(java.lang.Object source, java.lang.String eventType, java.util.Vector keys)
           
 
Method Summary
 java.lang.String getEventType()
          The action that occured at the source
 java.util.Vector getKeys()
          The primary keys that identify the tuple(s) in the SnapEvent.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnapEvent

public SnapEvent(java.lang.Object source,
                 java.lang.String eventType,
                 java.util.Vector keys)
Method Detail

getEventType

public java.lang.String getEventType()
The action that occured at the source


getKeys

public java.util.Vector getKeys()
The primary keys that identify the tuple(s) in the SnapEvent. The type of the primary keys is determined by the database.