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>hoverTimeIntervalFillProperties inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
opacity, visibleProperties 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 voiddrawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)PaintgetHoverTimeIntervalFill()Gets the value of the property hoverTimeIntervalFill.ObjectProperty<Paint>hoverTimeIntervalFillProperty()voidsetHoverTimeIntervalFill(Paint fill)Sets the value of the property hoverTimeIntervalFill.Methods inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
fadeInOutObservable, getOpacity, isVisible, opacityProperty, setVisible, visiblePropertyMethods 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:
drawLayerin classSystemLayer<R extends Row<?,?,?>>
-