Liking cljdoc? Tell your friends :D

jdk.awt.AWTEvent

The root event class for all AWT events. This class and its subclasses supercede the original java.awt.Event class. Subclasses of this root AWTEvent class defined outside of the java.awt.event package should define event ID values greater than the value defined by RESERVED_ID_MAX.

The event masks defined in this class are needed by Component subclasses which are using Component.enableEvents() to select for event types not selected by registered listeners. If a listener is registered on a component, the appropriate event mask is already set internally by the component.

The masks are also used to specify to which types of events an AWTEventListener should listen. The masks are bitwise-ORed together and passed to Toolkit.addAWTEventListener.

The root event class for all AWT events.
This class and its subclasses supercede the original
java.awt.Event class.
Subclasses of this root AWTEvent class defined outside of the
java.awt.event package should define event ID values greater than
the value defined by RESERVED_ID_MAX.

The event masks defined in this class are needed by Component subclasses
which are using Component.enableEvents() to select for event types not
selected by registered listeners. If a listener is registered on a
component, the appropriate event mask is already set internally by the
component.

The masks are also used to specify to which types of events an
AWTEventListener should listen. The masks are bitwise-ORed together
and passed to Toolkit.addAWTEventListener.
raw docstring

*-action-event-maskclj

Static Constant.

The event mask for selecting action events.

type: long

Static Constant.

The event mask for selecting action events.

type: long
raw docstring

*-adjustment-event-maskclj

Static Constant.

The event mask for selecting adjustment events.

type: long

Static Constant.

The event mask for selecting adjustment events.

type: long
raw docstring

*-component-event-maskclj

Static Constant.

The event mask for selecting component events.

type: long

Static Constant.

The event mask for selecting component events.

type: long
raw docstring

*-container-event-maskclj

Static Constant.

The event mask for selecting container events.

type: long

Static Constant.

The event mask for selecting container events.

type: long
raw docstring

*-focus-event-maskclj

Static Constant.

The event mask for selecting focus events.

type: long

Static Constant.

The event mask for selecting focus events.

type: long
raw docstring

*-hierarchy-bounds-event-maskclj

Static Constant.

The event mask for selecting hierarchy bounds events.

type: long

Static Constant.

The event mask for selecting hierarchy bounds events.

type: long
raw docstring

*-hierarchy-event-maskclj

Static Constant.

The event mask for selecting hierarchy events.

type: long

Static Constant.

The event mask for selecting hierarchy events.

type: long
raw docstring

*-input-method-event-maskclj

Static Constant.

The event mask for selecting input method events.

type: long

Static Constant.

The event mask for selecting input method events.

type: long
raw docstring

*-invocation-event-maskclj

Static Constant.

The event mask for selecting invocation events.

type: long

Static Constant.

The event mask for selecting invocation events.

type: long
raw docstring

*-item-event-maskclj

Static Constant.

The event mask for selecting item events.

type: long

Static Constant.

The event mask for selecting item events.

type: long
raw docstring

*-key-event-maskclj

Static Constant.

The event mask for selecting key events.

type: long

Static Constant.

The event mask for selecting key events.

type: long
raw docstring

*-mouse-event-maskclj

Static Constant.

The event mask for selecting mouse events.

type: long

Static Constant.

The event mask for selecting mouse events.

type: long
raw docstring

*-mouse-motion-event-maskclj

Static Constant.

The event mask for selecting mouse motion events.

type: long

Static Constant.

The event mask for selecting mouse motion events.

type: long
raw docstring

*-mouse-wheel-event-maskclj

Static Constant.

The event mask for selecting mouse wheel events.

type: long

Static Constant.

The event mask for selecting mouse wheel events.

type: long
raw docstring

*-paint-event-maskclj

Static Constant.

The event mask for selecting paint events.

type: long

Static Constant.

The event mask for selecting paint events.

type: long
raw docstring

*-reserved-id-maxclj

Static Constant.

The maximum value for reserved AWT event IDs. Programs defining their own event IDs should use IDs greater than this value.

type: int

Static Constant.

The maximum value for reserved AWT event IDs. Programs defining
 their own event IDs should use IDs greater than this value.

type: int
raw docstring

*-text-event-maskclj

Static Constant.

The event mask for selecting text events.

type: long

Static Constant.

The event mask for selecting text events.

type: long
raw docstring

*-window-event-maskclj

Static Constant.

The event mask for selecting window events.

type: long

Static Constant.

The event mask for selecting window events.

type: long
raw docstring

*-window-focus-event-maskclj

Static Constant.

The event mask for selecting window focus events.

type: long

Static Constant.

The event mask for selecting window focus events.

type: long
raw docstring

*-window-state-event-maskclj

Static Constant.

The event mask for selecting window state events.

type: long

Static Constant.

The event mask for selecting window state events.

type: long
raw docstring

->awt-eventclj

(->awt-event event)
(->awt-event source id)

Constructor.

Constructs an AWTEvent object with the specified source object and type.

source - the object where the event originated - java.lang.Object id - the event type - int

Constructor.

Constructs an AWTEvent object with the specified source object and type.

source - the object where the event originated - `java.lang.Object`
id - the event type - `int`
raw docstring

get-idclj

(get-id this)

Returns the event type.

returns: int

Returns the event type.

returns: `int`
raw docstring

param-stringclj

(param-string this)

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 - java.lang.String

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 - `java.lang.String`
raw docstring

set-sourceclj

(set-source this new-source)

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.

new-source - the new Object to which the event should be dispatched - java.lang.Object

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.

new-source - the new Object to which the event should be dispatched - `java.lang.Object`
raw docstring

to-stringclj

(to-string this)

Returns a String representation of this object.

returns: A a String representation of this EventObject. - java.lang.String

Returns a String representation of this object.

returns: A a String representation of this EventObject. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close