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.
-
-
Constructor Summary
Constructors Constructor Description HoverTimeIntervalLayer(GraphicsBase<R> graphics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
Paint
getHoverTimeIntervalFill()
ObjectProperty<Paint>
hoverTimeIntervalFillProperty()
void
setHoverTimeIntervalFill(Paint fill)
-
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
-
-
-
-
Constructor Detail
-
HoverTimeIntervalLayer
public HoverTimeIntervalLayer(GraphicsBase<R> graphics)
-
-
Method Detail
-
hoverTimeIntervalFillProperty
public final ObjectProperty<Paint> hoverTimeIntervalFillProperty()
-
getHoverTimeIntervalFill
public final Paint getHoverTimeIntervalFill()
-
setHoverTimeIntervalFill
public final void setHoverTimeIntervalFill(Paint fill)
-
-