Module com.flexganttfx.view
Class HoverTimeIntervalLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
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, visible
Properties inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alpha, enabled, snapToPixel
-
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, 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
-
hoverTimeIntervalFill
-
-
Constructor Details
-
HoverTimeIntervalLayer
-
-
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<?,?,?>>
-