edu.neu.ccs.gui
Class AlertEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.awt.AWTEvent
          extended byedu.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
 
Fields inherited from class java.util.EventObject
source
 
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.
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, setSource, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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 event
status - the alert status specifier
Method Detail

isAlertOn

public boolean isAlertOn()
Returns whether or not this event designates that alert status should be entered.