Package Summary  Overview Summary

class:AWTEvent [NONE]

field:id [NONE]

field:consumed [NONE]

  • consumed

    protected boolean consumed
    Controls whether or not the event is sent back down to the peer once the source has processed it - false means it's sent to the peer; true means it's not. Semantic events always have a 'true' value since they were generated by the peer in response to a low-level event.
    See Also:
    consume(), isConsumed()

field:COMPONENT_EVENT_MASK [NONE]

  • COMPONENT_EVENT_MASK

    public static final long COMPONENT_EVENT_MASK
    The event mask for selecting component events.
    See Also:
    Constant Field Values

field:CONTAINER_EVENT_MASK [NONE]

  • CONTAINER_EVENT_MASK

    public static final long CONTAINER_EVENT_MASK
    The event mask for selecting container events.
    See Also:
    Constant Field Values

field:FOCUS_EVENT_MASK [NONE]

  • FOCUS_EVENT_MASK

    public static final long FOCUS_EVENT_MASK
    The event mask for selecting focus events.
    See Also:
    Constant Field Values

field:KEY_EVENT_MASK [NONE]

  • KEY_EVENT_MASK

    public static final long KEY_EVENT_MASK
    The event mask for selecting key events.
    See Also:
    Constant Field Values

field:MOUSE_EVENT_MASK [NONE]

  • MOUSE_EVENT_MASK

    public static final long MOUSE_EVENT_MASK
    The event mask for selecting mouse events.
    See Also:
    Constant Field Values

field:MOUSE_MOTION_EVENT_MASK [NONE]

  • MOUSE_MOTION_EVENT_MASK

    public static final long MOUSE_MOTION_EVENT_MASK
    The event mask for selecting mouse motion events.
    See Also:
    Constant Field Values

field:WINDOW_EVENT_MASK [NONE]

  • WINDOW_EVENT_MASK

    public static final long WINDOW_EVENT_MASK
    The event mask for selecting window events.
    See Also:
    Constant Field Values

field:ACTION_EVENT_MASK [NONE]

  • ACTION_EVENT_MASK

    public static final long ACTION_EVENT_MASK
    The event mask for selecting action events.
    See Also:
    Constant Field Values

field:ADJUSTMENT_EVENT_MASK [NONE]

  • ADJUSTMENT_EVENT_MASK

    public static final long ADJUSTMENT_EVENT_MASK
    The event mask for selecting adjustment events.
    See Also:
    Constant Field Values

field:ITEM_EVENT_MASK [NONE]

  • ITEM_EVENT_MASK

    public static final long ITEM_EVENT_MASK
    The event mask for selecting item events.
    See Also:
    Constant Field Values

field:TEXT_EVENT_MASK [NONE]

  • TEXT_EVENT_MASK

    public static final long TEXT_EVENT_MASK
    The event mask for selecting text events.
    See Also:
    Constant Field Values

field:INPUT_METHOD_EVENT_MASK [NONE]

  • INPUT_METHOD_EVENT_MASK

    public static final long INPUT_METHOD_EVENT_MASK
    The event mask for selecting input method events.
    See Also:
    Constant Field Values

field:PAINT_EVENT_MASK [NONE]

  • PAINT_EVENT_MASK

    public static final long PAINT_EVENT_MASK
    The event mask for selecting paint events.
    See Also:
    Constant Field Values

field:INVOCATION_EVENT_MASK [NONE]

  • INVOCATION_EVENT_MASK

    public static final long INVOCATION_EVENT_MASK
    The event mask for selecting invocation events.
    See Also:
    Constant Field Values

field:HIERARCHY_EVENT_MASK [NONE]

  • HIERARCHY_EVENT_MASK

    public static final long HIERARCHY_EVENT_MASK
    The event mask for selecting hierarchy events.
    See Also:
    Constant Field Values

field:HIERARCHY_BOUNDS_EVENT_MASK [NONE]

  • HIERARCHY_BOUNDS_EVENT_MASK

    public static final long HIERARCHY_BOUNDS_EVENT_MASK
    The event mask for selecting hierarchy bounds events.
    See Also:
    Constant Field Values

field:MOUSE_WHEEL_EVENT_MASK [NONE]

  • MOUSE_WHEEL_EVENT_MASK

    public static final long MOUSE_WHEEL_EVENT_MASK
    The event mask for selecting mouse wheel events.
    Since:
    1.4
    See Also:
    Constant Field Values

field:WINDOW_STATE_EVENT_MASK [NONE]

  • WINDOW_STATE_EVENT_MASK

    public static final long WINDOW_STATE_EVENT_MASK
    The event mask for selecting window state events.
    Since:
    1.4
    See Also:
    Constant Field Values

field:WINDOW_FOCUS_EVENT_MASK [NONE]

  • WINDOW_FOCUS_EVENT_MASK

    public static final long WINDOW_FOCUS_EVENT_MASK
    The event mask for selecting window focus events.
    Since:
    1.4
    See Also:
    Constant Field Values

field:RESERVED_ID_MAX [NONE]

  • RESERVED_ID_MAX

    public static final int RESERVED_ID_MAX
    The maximum value for reserved AWT event IDs. Programs defining their own event IDs should use IDs greater than this value.
    See Also:
    Constant Field Values

constructor:AWTEvent(java.awt.Event) [NONE]

  • AWTEvent

    @Deprecated(since="9")
    public AWTEvent​(Event event)
    Deprecated. It is recommended that AWTEvent(Object, int) be used instead
    Constructs an AWTEvent object from the parameters of a 1.0-style event.
    Parameters:
    event - the old-style event

constructor:AWTEvent(java.lang.Object, int) [NONE]

  • AWTEvent

    public AWTEvent​(Object source,
                    int id)
    Constructs an AWTEvent object with the specified source object and type.
    Parameters:
    source - the object where the event originated
    id - the event type

method:setSource(java.lang.Object) [NONE]

  • setSource

    public void setSource​(Object newSource)
    Retargets an event to a new source. This method is typically used to retarget an event to a lightweight child Component of the original heavyweight source.

    This method is intended to be used only by event targeting subsystems, such as client-defined KeyboardFocusManagers. It is not for general client use.

    Parameters:
    newSource - the new Object to which the event should be dispatched
    Since:
    1.4

method:getID() [NONE]

  • getID

    public int getID​()
    Returns the event type.
    Returns:
    the event's type id

method:toString() [NONE]

  • toString

    public String toString​()
    Returns a String representation of this object.
    Overrides:
    toString in class EventObject
    Returns:
    A a String representation of this EventObject.

method:paramString() [NONE]

  • paramString

    public String paramString​()
    Returns a string representing the state of this Event. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.
    Returns:
    a string representation of this event

method:consume() [NONE]

  • consume

    protected void consume​()
    Consumes this event, if this event can be consumed. Only low-level, system events can be consumed

method:isConsumed() [NONE]

  • isConsumed

    protected boolean isConsumed​()
    Returns whether this event has been consumed.
    Returns:
    true if this event has been consumed; otherwise false