edu.neu.ccs.gui
Class AlertEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
edu.neu.ccs.gui.AlertEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MalformedDataEvent
- public class AlertEvent
- extends AWTEvent
Class of AWTEvents
encapsulating the designation that a graphical input object
should enter or exit alert status.
- Since:
- 1.0
- Version:
- 2.2
- See Also:
- Serialized Form
|
Field Summary |
static int |
ALERT_OFF
Value designating that alert status should be exited. |
static int |
ALERT_ON
Value designating that alert status should be entered. |
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK |
|
Constructor Summary |
AlertEvent(Object source,
int status)
Constructs an alert event
generated by the given source object
with the given alert status specifier. |
|
Method Summary |
boolean |
isAlertOn()
Returns whether or not this event designates
that alert status should be entered. |
ALERT_ON
public static final int ALERT_ON
- Value designating that alert status should be entered.
- See Also:
- Constant Field Values
ALERT_OFF
public static final int ALERT_OFF
- Value designating that alert status should be exited.
- See Also:
- Constant Field Values
AlertEvent
public AlertEvent(Object source,
int status)
- Constructs an alert event
generated by the given source object
with the given alert status specifier.
- Parameters:
source - the object generating the eventstatus - the alert status specifier
isAlertOn
public boolean isAlertOn()
- Returns whether or not this event designates
that alert status should be entered.