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.
Static Constant.
The event mask for selecting action events.
type: long
Static Constant. The event mask for selecting action events. type: long
Static Constant.
The event mask for selecting adjustment events.
type: long
Static Constant. The event mask for selecting adjustment events. type: long
Static Constant.
The event mask for selecting component events.
type: long
Static Constant. The event mask for selecting component events. type: long
Static Constant.
The event mask for selecting container events.
type: long
Static Constant. The event mask for selecting container events. type: long
Static Constant.
The event mask for selecting focus events.
type: long
Static Constant. The event mask for selecting focus events. type: long
Static Constant.
The event mask for selecting hierarchy bounds events.
type: long
Static Constant. The event mask for selecting hierarchy bounds events. type: long
Static Constant.
The event mask for selecting hierarchy events.
type: long
Static Constant. The event mask for selecting hierarchy events. type: long
Static Constant.
The event mask for selecting input method events.
type: long
Static Constant. The event mask for selecting input method events. type: long
Static Constant.
The event mask for selecting invocation events.
type: long
Static Constant. The event mask for selecting invocation events. type: long
Static Constant.
The event mask for selecting item events.
type: long
Static Constant. The event mask for selecting item events. type: long
Static Constant.
The event mask for selecting key events.
type: long
Static Constant. The event mask for selecting key events. type: long
Static Constant.
The event mask for selecting mouse events.
type: long
Static Constant. The event mask for selecting mouse events. type: long
Static Constant.
The event mask for selecting mouse motion events.
type: long
Static Constant. The event mask for selecting mouse motion events. type: long
Static Constant.
The event mask for selecting mouse wheel events.
type: long
Static Constant. The event mask for selecting mouse wheel events. type: long
Static Constant.
The event mask for selecting paint events.
type: long
Static Constant. The event mask for selecting paint events. type: long
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
Static Constant.
The event mask for selecting text events.
type: long
Static Constant. The event mask for selecting text events. type: long
Static Constant.
The event mask for selecting window events.
type: long
Static Constant. The event mask for selecting window events. type: long
Static Constant.
The event mask for selecting window focus events.
type: long
Static Constant. The event mask for selecting window focus events. type: long
Static Constant.
The event mask for selecting window state events.
type: long
Static Constant. The event mask for selecting window state events. type: long
(->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`
(get-id this)
Returns the event type.
returns: int
Returns the event type. returns: `int`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close