public class ControlTaskStateEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CONTROL_TASK_CONNECTED |
static int |
CONTROL_TASK_DISCONNECTED |
static int |
CONTROL_TASK_UNSTABLE |
Constructor and Description |
---|
ControlTaskStateEvent(int id,
TaskGraph taskgraph,
int state)
Constructs a task graph cable event
|
Modifier and Type | Method and Description |
---|---|
int |
getControlTaskState() |
int |
getID() |
TaskGraph |
getTaskGraph() |
public static final int CONTROL_TASK_CONNECTED
public static final int CONTROL_TASK_DISCONNECTED
public static final int CONTROL_TASK_UNSTABLE
public ControlTaskStateEvent(int id, TaskGraph taskgraph, int state)
id
- the id of this event (either CONTROL_TASK_CONNECTED, CONTROL_TASK_DISCONNECTED or
CONTROL_TASK_UNSTABLE)state
- the state of the control taskpublic int getID()
public TaskGraph getTaskGraph()
public int getControlTaskState()