- java.lang.Object
-
- com.flexganttfx.view.graphics.renderer.RendererBase
-
- com.flexganttfx.view.graphics.renderer.Renderer
-
- Direct Known Subclasses:
ActivityRenderer
,RowRenderer
public abstract class Renderer extends RendererBase
-
-
Constructor Summary
Constructors Constructor Description Renderer(GraphicsBase<?> graphics, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectProperty<Paint>
fillHighlightProperty()
ObjectProperty<Paint>
fillHoverProperty()
ObjectProperty<Paint>
fillPressedProperty()
ObjectProperty<Paint>
fillProperty()
ObjectProperty<Paint>
fillSelectedProperty()
Paint
getFill()
protected Paint
getFill(boolean selected, boolean hover, boolean highlighted, boolean pressed)
Paint
getFillHighlight()
Paint
getFillHover()
Paint
getFillPressed()
Paint
getFillSelected()
Insets
getPadding()
ObjectProperty<Insets>
paddingProperty()
void
setFill(Paint paint)
void
setFillHighlight(Paint paint)
void
setFillHover(Paint paint)
void
setFillPressed(Paint paint)
void
setFillSelected(Paint paint)
void
setPadding(Insets insets)
-
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
-
-
-
-
Constructor Detail
-
Renderer
public Renderer(GraphicsBase<?> graphics, String name)
-
-
Method Detail
-
getFill
protected Paint getFill(boolean selected, boolean hover, boolean highlighted, boolean pressed)
-
fillProperty
public final ObjectProperty<Paint> fillProperty()
-
fillPressedProperty
public final ObjectProperty<Paint> fillPressedProperty()
-
fillHoverProperty
public final ObjectProperty<Paint> fillHoverProperty()
-
fillSelectedProperty
public final ObjectProperty<Paint> fillSelectedProperty()
-
fillHighlightProperty
public final ObjectProperty<Paint> fillHighlightProperty()
-
getFill
public final Paint getFill()
-
setFill
public final void setFill(Paint paint)
-
getFillPressed
public final Paint getFillPressed()
-
setFillPressed
public final void setFillPressed(Paint paint)
-
getFillHighlight
public final Paint getFillHighlight()
-
setFillHighlight
public final void setFillHighlight(Paint paint)
-
getFillSelected
public final Paint getFillSelected()
-
setFillSelected
public final void setFillSelected(Paint paint)
-
getFillHover
public final Paint getFillHover()
-
setFillHover
public final void setFillHover(Paint paint)
-
paddingProperty
public final ObjectProperty<Insets> paddingProperty()
-
getPadding
public final Insets getPadding()
-
setPadding
public final void setPadding(Insets insets)
-
-