Klasse RowRenderer<R extends Row<?,?,?> >
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.renderer.Renderer
com.flexganttfx.view.graphics.renderer.RowRenderer<R>
-
Eigenschaftsübersicht
Von Klasse geerbte Eigenschaften Renderer
fillHighlight, fillHover, fillPressed, fill, fillSelected, paddingVon Klasse geerbte Eigenschaften RendererBase
alpha, enabled, snapToPixel -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRowRenderer(GraphicsBase<?> graphics, String name) Constructs a row renderer and initializes the default background fills for the supported row states. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungfinal voiddraw(R row, GraphicsContext gc, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the given row.protected voiddrawRow(R row, GraphicsContext gc, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the row contents into the graphics context.Von Klasse geerbte Methoden Renderer
fillHighlightProperty, fillHoverProperty, fillPressedProperty, fillProperty, fillSelectedProperty, getFill, getFill, getFillHighlight, getFillHover, getFillPressed, getFillSelected, getPadding, paddingProperty, setFill, setFillHighlight, setFillHover, setFillPressed, setFillSelected, setPaddingVon Klasse geerbte Methoden RendererBase
alphaProperty, disableRedrawAfterPropertyChange, enabledProperty, enableRedrawAfterPropertyChange, getAlpha, getGraphics, getLocation, getName, getTimeAt, isEnabled, isSnapToPixel, redrawObservable, setAlpha, setEnabled, setSnapToPixel, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty
-
Konstruktordetails
-
RowRenderer
Constructs a row renderer and initializes the default background fills for the supported row states.- Parameter:
graphics- the graphics control that uses this renderername- the renderer name
-
-
Methodendetails
-
draw
public final void draw(R row, GraphicsContext gc, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the given row.- Parameter:
row- the row to rendergc- the graphics contextw- the widthh- the heightselected- whether the row is selectedhover- whether the row is hoveredhighlighted- whether the row is highlightedpressed- whether the row is pressed
-
drawRow
protected void drawRow(R row, GraphicsContext gc, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the row contents into the graphics context.- Parameter:
row- the row to rendergc- the graphics contextw- the widthh- the heightselected- whether the row is selectedhover- whether the row is hoveredhighlighted- whether the row is highlightedpressed- whether the row is pressed
-