Module com.flexganttfx.view
Class SystemLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
- Type Parameters:
R
- the type of the rows
- Direct Known Subclasses:
AgendaLinesLayer
,CalendarLayer
,ChartLinesLayer
,DSTLineLayer
,GridLinesLayer
,HoverTimeIntervalLayer
,InnerLinesLayer
,LayoutLayer
,NowLineLayer
,RowLayer
,SelectedTimeIntervalsLayer
,ZoomTimeIntervalLayer
System layers are used in the background and foreground of each row. A
background layer gets drawn before the activities are drawn while a
foreground layer gets drawn after the activities are drawn. Each layer
is specialized on drawing one type of information: current time, selected
time intervals, grid lines, and so on. The graphics view manages the layers
in two lists and provides convenience methods to easily look them up.
-
Property Summary
PropertiesProperties inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alpha, enabled, snapToPixel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
protected void
fadeInOutObservable
(ObservableBooleanValue observable) final double
Gets the value of theopacity
property.final boolean
Gets the value of thevisible
property.final ReadOnlyDoubleProperty
final void
setVisible
(boolean visible) Sets the value of thevisible
property.final BooleanProperty
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
-
visible
- See Also:
-
opacity
- See Also:
-
-
Constructor Details
-
SystemLayer
-
-
Method Details
-
fadeInOutObservable
-
visibleProperty
- Returns:
- the
visible
property - See Also:
-
isVisible
public final boolean isVisible()Gets the value of thevisible
property.- Property description:
- Returns:
- the value of the
visible
property - See Also:
-
setVisible
public final void setVisible(boolean visible) Sets the value of thevisible
property.- Property description:
- Parameters:
visible
- the value for thevisible
property- See Also:
-
opacityProperty
- Returns:
- the
opacity
property - See Also:
-
getOpacity
public final double getOpacity()Gets the value of theopacity
property.- Property description:
- Returns:
- the value of the
opacity
property - See Also:
-
drawLayer
-