processEvent
before returning for 1.1-style events which have been enabled for the Component
.
@param e the event
consume
method; this causes the event to not get dispatched to the component's event processing methods or event listeners. Events are dispatched if they are instances of InputEvent or its subclasses. This includes instances of the AWT classes KeyEvent and MouseEvent.
This method is called by {@link ae.java.awt.im.InputContext#dispatchEvent InputContext.dispatchEvent}.
@param event the event being dispatched to the input method
@exception NullPointerException if event
is null
processEvent
before returning for 1.1-style events which have been enabled for the Component
.
@param e the event
event
is null
consume
method; this causes the event to not get dispatched to the component's event processing methods or event listeners. Events are dispatched if they are instances of InputEvent or its subclasses. This includes instances of the AWT classes KeyEvent and MouseEvent.
This method is called by {@link java.awt.im.InputContext#dispatchEvent InputContext.dispatchEvent}.
@param event the event being dispatched to the input method
@exception NullPointerException if event
is null
EventTarget
on which dispatchEvent
is called.
@param evt Specifies the event type, behavior, and contextual information to be used in processing the event.
@return The return value of dispatchEvent
indicates whether any of the listeners which handled the event called preventDefault
. If preventDefault
was called the value is false, else the value is true.
@exception EventException UNSPECIFIED_EVENT_TYPE_ERR: Raised if the Event
's type was not specified by initializing the event before dispatchEvent
was called. Specification of the Event
's type as null
or an empty string will also trigger this exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|