Module com.flexganttfx.view
Class RowLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.RowLayer<R>
- Type Parameters:
R- the type of the rows
public class RowLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws the background of each row. The layer can be configured with pluggable
renderers that are mapped to the type of the row. Applications can register
their own renderers by calling
setRowRenderer(Class, RowRenderer).-
Property Summary
Properties 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 RowLayer(GraphicsBase<R> graphics) -
Method Summary
Modifier and Type Method Description voiddrawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)<RT extends Row<?, ?, ?>>
RowRenderer<RT>getRowRenderer(Class<RT> clazz)voidsetRowRenderer(Class<Row> clazz, RowRenderer<?> renderer)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
-
Constructor Details
-
RowLayer
-
-
Method Details
-
drawLayer
- Specified by:
drawLayerin classSystemLayer<R extends Row<?,?,?>>
-
setRowRenderer
-
getRowRenderer
-