Class EventDelegateDispatcher
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.util.EventDelegateDispatcher
-
public class EventDelegateDispatcher extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventDelegateDispatcher.MouseEventDispatcher
-
Field Summary
Fields Modifier and Type Field Description static int
ALL_EVENTS_MASK
static int
FOCUS_EVENT_MASK
static int
KEY_EVENT_MASK
static int
MOUSE_EVENT_MASK
-
Constructor Summary
Constructors Constructor Description EventDelegateDispatcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 handlersstatic 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
-
-
-
Field Detail
-
KEY_EVENT_MASK
public static final int KEY_EVENT_MASK
- See Also:
- Constant Field Values
-
MOUSE_EVENT_MASK
public static final int MOUSE_EVENT_MASK
- See Also:
- Constant Field Values
-
FOCUS_EVENT_MASK
public static final int FOCUS_EVENT_MASK
- See Also:
- Constant Field Values
-
ALL_EVENTS_MASK
public static final int ALL_EVENTS_MASK
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeDispatchers
public 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
-
initializeDispatchers
public 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
-
-