java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.EventDelegateDispatcher

public class EventDelegateDispatcher extends Object
  • Field Details

  • Constructor Details

    • EventDelegateDispatcher

      public EventDelegateDispatcher()
  • Method Details

    • initializeDispatchers

      public static 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 handlers
    • initializeDispatchers

      public static 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