Class EventDelegateDispatcher
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.EventDelegateDispatcher
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
initializeDispatchers
(Component child, 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
(Component child, 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 Details
-
KEY_EVENT_MASK
public static final int KEY_EVENT_MASK- See Also:
-
MOUSE_EVENT_MASK
public static final int MOUSE_EVENT_MASK- See Also:
-
FOCUS_EVENT_MASK
public static final int FOCUS_EVENT_MASK- See Also:
-
ALL_EVENTS_MASK
public static final int ALL_EVENTS_MASK- See Also:
-
-
Constructor Details
-
EventDelegateDispatcher
public EventDelegateDispatcher()
-
-
Method Details
-
initializeDispatchers
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
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
-