public final class ApplicationChangeEvent
extends java.lang.Object
DESELECTED
state and
getApplication()
returns the old application.
SELECTED
state and
getApplication()
returns the new application.
Modifier and Type | Field and Description |
---|---|
static int |
DESELECTED
State change value returned from
getStateChange() when
the ApplicationChangeEvent was triggered by deselecting an
application. |
static int |
SELECTED
State change value returned from
getStateChange() when
the ApplicationChangeEvent was triggered by selecting an
application. |
Constructor and Description |
---|
ApplicationChangeEvent(int stateChange,
Workspace application) |
Modifier and Type | Method and Description |
---|---|
Workspace |
getApplication()
Returns the application for which this event applies.
|
int |
getStateChange()
Returns an integer specifying what kind of change event occurred.
|
public static final int DESELECTED
getStateChange()
when
the ApplicationChangeEvent was triggered by deselecting an
application.public static final int SELECTED
getStateChange()
when
the ApplicationChangeEvent was triggered by selecting an
application.public ApplicationChangeEvent(int stateChange, Workspace application)
public int getStateChange()
DESELECTED
and SELECTED
.public Workspace getApplication()