Klasse GraphicsBase.ContextMenuParameter<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.GraphicsBase.ContextMenuParameter<R>
- Typparameter:
R- the type of the rows used in the graphics view
- Umschließende Klasse:
GraphicsBase<R extends Row<?,?, ?>>
A callback parameter class used for displaying a context menu. Instances
of this class will be passed constructed based on the information
available at the location of the context menu trigger event.
- Seit:
- 1.0
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungContextMenuParameter(GraphicsBase<R> graphics, R row, List<ActivityRef<?>> activities, Layout layout, Instant time, LocalTime localTime) Constructs a new context menu parameter object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal List<ActivityRef<?>> Returns the activities found at the location where the context menu has been requested.final GraphicsBase<R> Returns the graphics view where the context menu has been requested.Returns the layout found at the location where the context menu has been requested.Returns the local time found at the location where the context menu has been requested.final RgetRow()Returns the row where the context menu has been requested.getTime()Returns the time found at the location where the context menu has been requested.
-
Konstruktordetails
-
ContextMenuParameter
public ContextMenuParameter(GraphicsBase<R> graphics, R row, List<ActivityRef<?>> activities, Layout layout, Instant time, LocalTime localTime) Constructs a new context menu parameter object.- Parameter:
graphics- the view where the context menu has been requestedrow- the row where the context menu has been requestedactivities- the activities found at the location within the row where the context menu has been requestedlayout- the layout found at the location within the row where the context menu has been requestedtime- the time found at the location within the row where the context menu has been requestedlocalTime- the local time found at the location within the row where the context menu has been requested- Seit:
- 1.0
-
-
Methodendetails
-
getGraphics
Returns the graphics view where the context menu has been requested.- Gibt zurück:
- the graphics view
- Seit:
- 1.0
-
getRow
Returns the row where the context menu has been requested.- Gibt zurück:
- the row
- Seit:
- 1.0
-
getActivities
Returns the activities found at the location where the context menu has been requested.- Gibt zurück:
- the activities
- Seit:
- 1.0
-
getLayout
Returns the layout found at the location where the context menu has been requested.- Gibt zurück:
- the layout (e.g. GanttLayout)
- Seit:
- 1.0
-
getLocalTime
Returns the local time found at the location where the context menu has been requested.- Gibt zurück:
- the local time (e.g. 6pm)
- Seit:
- 1.0
-
getTime
Returns the time found at the location where the context menu has been requested.- Gibt zurück:
- the time
- Seit:
- 1.0
-