com.usefullittlethings.saw.util
Class ChangeEvent

java.lang.Object
  |
  +--com.usefullittlethings.saw.util.ChangeEvent

public class ChangeEvent
extends java.lang.Object

An event instance, including a source object, an event description, and an event type (INFORMATIONAL or EVENT).


Field Summary
static int EVENT
           
static int INFORMATIONAL
           
 
Constructor Summary
ChangeEvent(int type, java.lang.Object source, java.lang.String event)
           
ChangeEvent(java.lang.Object source, java.lang.String event)
           
 
Method Summary
 java.lang.String getEvent()
           
 java.lang.Object getSource()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFORMATIONAL

public static final int INFORMATIONAL
See Also:
Constant Field Values

EVENT

public static final int EVENT
See Also:
Constant Field Values
Constructor Detail

ChangeEvent

public ChangeEvent(java.lang.Object source,
                   java.lang.String event)

ChangeEvent

public ChangeEvent(int type,
                   java.lang.Object source,
                   java.lang.String event)
Method Detail

getSource

public java.lang.Object getSource()

getEvent

public java.lang.String getEvent()

getType

public int getType()