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
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 |
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
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
getAction
public int getAction()
- Returns the action of the event
- Returns:
- int The action of the event