com.ibm.dse.tools.workbench.gui
Class DWChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.swing.event.ChangeEvent
              |
              +--com.ibm.dse.tools.workbench.gui.DWChangeEvent

public class DWChangeEvent
extends javax.swing.event.ChangeEvent

This class is used to notify interested parties that state has changed in the event source.

See Also:
Serialized Form

Field Summary
protected  int action
           
static int DELETE
           
static int MOVE
           
static int NEW
           
static int OPEN_EDITION
           
static int REBUILD
           
static int REBUILD_CACHE_FILES
           
static int REFRESH
           
static int UNKNOW
           
static int UPDATE
           
static int VALIDATE
           
static int VERSION
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DWChangeEvent(java.lang.Object source)
          Constructs a DWChangeEvent object.
DWChangeEvent(java.lang.Object source, int action)
          Constructs a DWChangeEvent object.
 
Method Summary
 int getAction()
          Returns the action of the event
 
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
 

Field Detail

action

protected int action

UNKNOW

public static final int UNKNOW

NEW

public static final int NEW

UPDATE

public static final int UPDATE

DELETE

public static final int DELETE

REFRESH

public static final int REFRESH

VERSION

public static final int VERSION

OPEN_EDITION

public static final int OPEN_EDITION

REBUILD

public static final int REBUILD

REBUILD_CACHE_FILES

public static final int REBUILD_CACHE_FILES

MOVE

public static final int MOVE

VALIDATE

public static final int VALIDATE
Constructor Detail

DWChangeEvent

public DWChangeEvent(java.lang.Object source)
Constructs a DWChangeEvent object.
Parameters:
source - java.lang.Object the Object that is the source of the event (typically this)

DWChangeEvent

public DWChangeEvent(java.lang.Object source,
                     int action)
Constructs a DWChangeEvent object.
Parameters:
source - java.lang.Object the Object that is the source of the event (typically this)
action - int the action
Method Detail

getAction

public int getAction()
Returns the action of the event
Returns:
int The action of the event