Module com.flexganttfx.view
Class SelectedTimeIntervalsLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.SelectedTimeIntervalsLayer<R>
- Type Parameters:
R
- the type of the rows
public class SelectedTimeIntervalsLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws the time intervals that were selected by the user (or the application)
in the dateline.
-
Property Summary
Properties Type Property Description ObjectProperty<Paint>
selectedTimeIntervalFill
Properties inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
opacity, visible
Properties inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alpha, enabled, snapToPixel
-
Constructor Summary
Constructors Constructor Description SelectedTimeIntervalsLayer(GraphicsBase<R> graphics)
-
Method Summary
Modifier and Type Method Description void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
Paint
getSelectedTimeIntervalFill()
Gets the value of the property selectedTimeIntervalFill.ObjectProperty<Paint>
selectedTimeIntervalFillProperty()
void
setSelectedTimeIntervalFill(Paint fill)
Sets the value of the property selectedTimeIntervalFill.Methods inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
fadeInOutObservable, getOpacity, isVisible, opacityProperty, setVisible, visibleProperty
Methods inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alphaProperty, disableRedrawAfterPropertyChange, enabledProperty, enableRedrawAfterPropertyChange, getAlpha, getGraphics, getLocation, getName, getTimeAt, isEnabled, isSnapToPixel, redrawObservable, setAlpha, setEnabled, setSnapToPixel, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty
-
Property Details
-
selectedTimeIntervalFill
-
-
Constructor Details
-
SelectedTimeIntervalsLayer
-
-
Method Details
-
selectedTimeIntervalFillProperty
-
getSelectedTimeIntervalFill
Gets the value of the property selectedTimeIntervalFill.- Property description:
-
setSelectedTimeIntervalFill
Sets the value of the property selectedTimeIntervalFill.- Property description:
-
drawLayer
- Specified by:
drawLayer
in classSystemLayer<R extends Row<?,?,?>>
-