R
- the type of the rows used in the graphics viewpublic static final class GraphicsBase.ContextMenuParameter<R extends Row<?,?,?>> extends Object
GraphicsBase.setContextMenuCallback(Callback)
Constructor and Description |
---|
ContextMenuParameter(GraphicsBase<R> graphics,
R row,
List<ActivityRef<?>> activities,
Layout layout,
Instant time,
LocalTime localTime)
Constructs a new context menu parameter object.
|
Modifier and Type | Method and Description |
---|---|
List<ActivityRef<?>> |
getActivities()
Returns the activities found at the location where the context menu
has been requested.
|
GraphicsBase<R> |
getGraphics()
Returns the graphics view where the context menu has been requested.
|
Layout |
getLayout()
Returns the layout found at the location where the context menu has
been requested.
|
LocalTime |
getLocalTime()
Returns the local time found at the location where the context menu
has been requested.
|
R |
getRow()
Returns the row where the context menu has been requested.
|
Instant |
getTime()
Returns the time found at the location where the context menu has
been requested.
|
public ContextMenuParameter(GraphicsBase<R> graphics, R row, List<ActivityRef<?>> activities, Layout layout, Instant time, LocalTime localTime)
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 requestedpublic final GraphicsBase<R> getGraphics()
public final R getRow()
public final List<ActivityRef<?>> getActivities()
public Layout getLayout()
public LocalTime getLocalTime()
public Instant getTime()
Copyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.