public class EventDelegateDispatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_EVENTS_MASK |
static int |
FOCUS_EVENT_MASK |
static int |
KEY_EVENT_MASK |
static int |
MOUSE_EVENT_MASK |
Constructor and Description |
---|
EventDelegateDispatcher() |
Modifier and Type | Method and Description |
---|---|
static void |
initializeDispatchers(java.awt.Component child,
java.awt.Component parent)
This function adds mouse, key, and focus listeners to the actual subcomponent (usually in a scrollpane) in order
to dispatch them upwards to the parent, the scrollpane, so that these events can be seen by jython event handlers
|
static void |
initializeDispatchers(java.awt.Component child,
java.awt.Component parent,
int mask)
This function adds listeners to the actual subcomponent (usually in a scrollpane) in order to dispatch them
upwards to the parent, the scrollpane, so that these events can be seen by jython event handlers
|
public static final int KEY_EVENT_MASK
public static final int MOUSE_EVENT_MASK
public static final int FOCUS_EVENT_MASK
public static final int ALL_EVENTS_MASK
public static void initializeDispatchers(java.awt.Component child, java.awt.Component parent)
public static void initializeDispatchers(java.awt.Component child, java.awt.Component parent, int mask)