public class EventProcessor
extends java.lang.Object
EventProcessingThread
.Constructor and Description |
---|
EventProcessor(Desktop desktop,
Component comp,
Event event) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup this process after processing the event by calling
process() . |
Component |
getComponent()
Returns the component.
|
Desktop |
getDesktop()
Returns the desktop.
|
Event |
getEvent()
Returns the event.
|
static boolean |
inEventListener()
Returns whether the current thread is an event listener.
|
void |
process()
Process the event.
|
void |
setup()
Setup this processor before processing the event by calling
process() . |
java.lang.String |
toString() |
public static final boolean inEventListener()
public final Desktop getDesktop()
public final Event getEvent()
public final Component getComponent()
public void process() throws java.lang.Exception
This method is to implement
EventProcessingThread
.
See also Configuration.isEventThreadEnabled()
.
java.lang.Exception
public void setup()
process()
.
Note: it doesn't invoke ExecutionCtrl.onActivate()
public void cleanup()
process()
.
Note: Don't call this method if the event process executes in the same thread.
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.