Class GraphicsBase.EditModeCallbackParameter

  • Enclosing class:
    GraphicsBase<R extends Row<?,​?,​?>>

    public static final class GraphicsBase.EditModeCallbackParameter
    extends Object
    A callback parameter object used by the edit mode callback that provides information about the context for which the edit mode will be determined.
    • Constructor Detail

      • EditModeCallbackParameter

        public EditModeCallbackParameter​(ActivityBounds activityBounds,
                                         MouseEvent event)
        Constructs a new callback parameter.
        Parameters:
        activityBounds - the activity / bounds for which to determine the edit mode
        event - the mouse event triggering the edit mode lookup
    • Method Detail

      • getActivityBounds

        public ActivityBounds getActivityBounds()
        The activity / bounds for which to determine the edit mode.
        Returns:
        the activity
      • getMouseEvent

        public MouseEvent getMouseEvent()
        The event that triggered the lookup.
        Returns:
        the event causing the lookup