Packages
 In this topic

*Constructors

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.ui.event   Previous This
Package
Next

 


Class UIEvent

public abstract class UIEvent extends UIBaseEvent
{
  // Fields
  public static final int ACTION_EVENT_BASE;
  public final static long ACTION_EVENT_MASK;
  public static final int ADJUST_EVENT_BASE;
  public final static long ADJUSTMENT_EVENT_MASK;
  public static final int CONTAINER_EVENT_BASE;
  public final static long CONTAINER_EVENT_MASK;
  public static final int FOCUS_EVENT_BASE;
  public final static long FOCUS_EVENT_MASK;
  public static final int ITEM_EVENT_BASE;
  public final static long ITEM_EVENT_MASK;
  public static final int KEY_EVENT_BASE;
  public final static long KEY_EVENT_MASK;
  public static final int MOUSE_EVENT_BASE;
  public final static long MOUSE_EVENT_MASK;
  public final static long MOUSE_MOTION_EVENT_MASK;
  public final static int RESERVED_ID_MAX;
  public static final int TEXT_EVENT_BASE;
  public final static long TEXT_EVENT_MASK;
  public static final int WINDOW_EVENT_BASE;
  public final static long WINDOW_EVENT_MASK;

  // Constructors
  public UIEvent(Object source, int id);
}

This is the class for all the JDK 1.1 events defined in the com.ms.ui package. This class defines the base level functionality of UI events. UIEvent objects are defined to match their AWT counterparts.

EventObject
  |
  +--UIBaseEvent
    |
    +--UIEvent

Constructors

UIEvent

public UIEvent(Object source, int id);

Creates a UIEvent object with the specified source object and type.

ParameterDescription
source The object where the event originated.
id The event type.

Fields

ACTION_EVENT_BASE
The base identifier for all UIActionEvent events.
ACTION_EVENT_MASK
The event mask for selecting action events.
ADJUST_EVENT_BASE
The base identifier for all UIAdjustmentEvent events.
ADJUSTMENT_EVENT_MASK
The event mask for selecting adjustment events.
CONTAINER_EVENT_BASE
The base identifier for all UIContainerEvent events.
CONTAINER_EVENT_MASK
The event mask for selecting container events.
FOCUS_EVENT_BASE
The base identifier for all UIFocusEvent events.
FOCUS_EVENT_MASK
The event mask for selecting focus events.
ITEM_EVENT_BASE
The base identifier for all UIItemEvent events.
ITEM_EVENT_MASK
The event mask for selecting item events.
KEY_EVENT_BASE
The base identifier for all UIKeyEvent events.
KEY_EVENT_MASK
The event mask for selecting key events.
MOUSE_EVENT_BASE
The base identifier for all UIMouseEvent events.
MOUSE_EVENT_MASK
The event mask for selecting mouse events.
MOUSE_MOTION_EVENT_MASK
The event mask for selecting mouse motion events.
RESERVED_ID_MAX
The maximum value for reserved UI event identifiers. Programs defining their own event identifiers should use identifiers greater than this value. AFC reserves above AWTEvent.RESERVED_ID_MAX for internally used custom events.
TEXT_EVENT_BASE
The base identifier for all UITextEvent events.
TEXT_EVENT_MASK
The event mask for selecting text events.
WINDOW_EVENT_BASE
The base identifier for all UIWindowEvent events.
WINDOW_EVENT_MASK
The event mask for selecting window events.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.