Module com.flexganttfx.view
Package com.flexganttfx.view.graphics
Class GraphicsBase.EditModeCallbackParameter
java.lang.Object
com.flexganttfx.view.graphics.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 Summary
Constructors Constructor Description EditModeCallbackParameter(ActivityBounds activityBounds, MouseEvent event)
Constructs a new callback parameter. -
Method Summary
Modifier and Type Method Description ActivityBounds
getActivityBounds()
The activity / bounds for which to determine the edit mode.MouseEvent
getMouseEvent()
The event that triggered the lookup.
-
Constructor Details
-
EditModeCallbackParameter
Constructs a new callback parameter.- Parameters:
activityBounds
- the activity / bounds for which to determine the edit modeevent
- the mouse event triggering the edit mode lookup
-
-
Method Details
-
getActivityBounds
The activity / bounds for which to determine the edit mode.- Returns:
- the activity
-
getMouseEvent
The event that triggered the lookup.- Returns:
- the event causing the lookup
-