Module com.flexganttfx.view
Class HoverTimeIntervalLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.HoverTimeIntervalLayer<R>
- Type Parameters:
R
- the type of the rows
public class HoverTimeIntervalLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws the hover time interval specified by the dateline. If the mouse cursor
hovers over a week in the dateline then the layer will fill the time interval
defined by this week with a highlighting color.
-
Property Summary
Properties Type Property Description ObjectProperty<Paint>
hoverTimeIntervalFill
Properties inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
opacity, snapToPixel, visible
-
Constructor Summary
Constructors Constructor Description HoverTimeIntervalLayer(GraphicsBase<R> graphics)
-
Method Summary
Modifier and Type Method Description void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
Paint
getHoverTimeIntervalFill()
Gets the value of the property hoverTimeIntervalFill.ObjectProperty<Paint>
hoverTimeIntervalFillProperty()
void
setHoverTimeIntervalFill(Paint fill)
Sets the value of the property hoverTimeIntervalFill.Methods inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
fadeInOutObservable, getGraphics, getName, getOpacity, isSnapToPixel, isVisible, opacityProperty, redraw, redrawObservable, setSnapToPixel, setVisible, snapPosition, snapSize, snapSpace, snapToPixelProperty, visibleProperty
-
Property Details
-
Constructor Details
-
Method Details
-
hoverTimeIntervalFillProperty
-
getHoverTimeIntervalFill
Gets the value of the property hoverTimeIntervalFill.- Property description:
-
setHoverTimeIntervalFill
Sets the value of the property hoverTimeIntervalFill.- Property description:
-
drawLayer
- Specified by:
drawLayer
in classSystemLayer<R extends Row<?,?,?>>
-