Module com.flexganttfx.view
Class CompletableActivityRenderer<A extends CompletableActivity>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.renderer.Renderer
com.flexganttfx.view.graphics.renderer.ActivityRenderer<A>
com.flexganttfx.view.graphics.renderer.ActivityBarRenderer<A>
com.flexganttfx.view.graphics.renderer.CompletableActivityRenderer<A>
public class CompletableActivityRenderer<A extends CompletableActivity>
extends ActivityBarRenderer<A>
-
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
Properties inherited from class com.flexganttfx.view.graphics.renderer.ActivityBarRenderer
autoFixText, barHeight, font, glossy, textFillHighlight, textFillHover, textFillPressed, textFill, textFillSelected, textGap
Properties inherited from class com.flexganttfx.view.graphics.renderer.ActivityRenderer
cornerRadius, cornersRounded, lineWidth, strokeHighlight, strokeHover, strokePressed, stroke, strokeSelected
Properties inherited from class com.flexganttfx.view.graphics.renderer.Renderer
fillHighlight, fillHover, fillPressed, fill, fillSelected, padding
Properties inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alpha, enabled, snapToPixel
-
Nested Class Summary
Nested classes/interfaces inherited from class com.flexganttfx.view.graphics.renderer.ActivityBarRenderer
ActivityBarRenderer.TextPosition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ActivityBounds
drawActivity
(ActivityRef<A> path, Position position, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) protected void
drawCompletion
(ActivityRef<A> activityRef, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final Paint
Gets the value of thefillCompletion
property.protected Paint
getFillCompletion
(boolean selected, boolean hover, boolean highlighted, boolean pressed) final Paint
Gets the value of thefillCompletionHighlight
property.final Paint
Gets the value of thefillCompletionHover
property.final Paint
Gets the value of thefillCompletionPressed
property.final Paint
Gets the value of thefillCompletionSelected
property.final void
setFillCompletion
(Paint fill) Sets the value of thefillCompletion
property.final void
Sets the value of thefillCompletionHighlight
property.final void
setFillCompletionHover
(Paint fill) Sets the value of thefillCompletionHover
property.final void
Sets the value of thefillCompletionPressed
property.final void
Sets the value of thefillCompletionSelected
property.Methods inherited from class com.flexganttfx.view.graphics.renderer.ActivityBarRenderer
autoFixTextProperty, barHeightProperty, drawBackground, drawBorder, drawText, fontProperty, getBarHeight, getFont, getTextFill, getTextFill, getTextFillHighlight, getTextFillHover, getTextFillPressed, getTextFillSelected, getTextGap, glossyProperty, isAutoFixText, isGlossy, isTextVisible, setAutoFixText, setBarHeight, setFont, setGlossy, setTextFill, setTextFillHighlight, setTextFillHover, setTextFillPressed, setTextFillSelected, setTextGap, textFillHighlightProperty, textFillHoverProperty, textFillPressedProperty, textFillProperty, textFillSelectedProperty, textGapProperty
Methods inherited from class com.flexganttfx.view.graphics.renderer.ActivityRenderer
cornerRadiusProperty, cornersRoundedProperty, draw, getCornerRadius, getLineWidth, getStroke, getStroke, getStrokeHighlight, getStrokeHover, getStrokePressed, getStrokeSelected, isCornersRounded, lineWidthProperty, setCornerRadius, setCornersRounded, setLineWidth, setStroke, setStrokeHighlight, setStrokeHover, setStrokePressed, setStrokeSelected, strokeHighlightProperty, strokeHoverProperty, strokePressedProperty, strokeProperty, strokeSelectedProperty
Methods inherited from class com.flexganttfx.view.graphics.renderer.Renderer
fillHighlightProperty, fillHoverProperty, fillPressedProperty, fillProperty, fillSelectedProperty, getFill, getFill, getFillHighlight, getFillHover, getFillPressed, getFillSelected, getPadding, paddingProperty, setFill, setFillHighlight, setFillHover, setFillPressed, setFillSelected, setPadding
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
-
fillCompletion
-
fillCompletionHover
-
fillCompletionHighlight
-
fillCompletionSelected
-
fillCompletionPressed
-
-
Constructor Details
-
CompletableActivityRenderer
-
-
Method Details
-
drawActivity
protected ActivityBounds drawActivity(ActivityRef<A> path, Position position, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) - Overrides:
drawActivity
in classActivityBarRenderer<A extends CompletableActivity>
-
drawCompletion
protected void drawCompletion(ActivityRef<A> activityRef, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) -
getFillCompletion
protected Paint getFillCompletion(boolean selected, boolean hover, boolean highlighted, boolean pressed) -
fillCompletionProperty
- Returns:
- the
fillCompletion
property - See Also:
-
setFillCompletion
Sets the value of thefillCompletion
property.- Property description:
- Parameters:
fill
- the value for thefillCompletion
property- See Also:
-
getFillCompletion
Gets the value of thefillCompletion
property.- Property description:
- Returns:
- the value of the
fillCompletion
property - See Also:
-
fillCompletionHoverProperty
- Returns:
- the
fillCompletionHover
property - See Also:
-
setFillCompletionHover
Sets the value of thefillCompletionHover
property.- Property description:
- Parameters:
fill
- the value for thefillCompletionHover
property- See Also:
-
getFillCompletionHover
Gets the value of thefillCompletionHover
property.- Property description:
- Returns:
- the value of the
fillCompletionHover
property - See Also:
-
fillCompletionHighlightProperty
- Returns:
- the
fillCompletionHighlight
property - See Also:
-
setFillCompletionHighlight
Sets the value of thefillCompletionHighlight
property.- Property description:
- Parameters:
fill
- the value for thefillCompletionHighlight
property- See Also:
-
getFillCompletionHighlight
Gets the value of thefillCompletionHighlight
property.- Property description:
- Returns:
- the value of the
fillCompletionHighlight
property - See Also:
-
fillCompletionSelectedProperty
- Returns:
- the
fillCompletionSelected
property - See Also:
-
setFillCompletionSelected
Sets the value of thefillCompletionSelected
property.- Property description:
- Parameters:
fill
- the value for thefillCompletionSelected
property- See Also:
-
getFillCompletionSelected
Gets the value of thefillCompletionSelected
property.- Property description:
- Returns:
- the value of the
fillCompletionSelected
property - See Also:
-
fillCompletionPressedProperty
- Returns:
- the
fillCompletionPressed
property - See Also:
-
setFillCompletionPressed
Sets the value of thefillCompletionPressed
property.- Property description:
- Parameters:
fill
- the value for thefillCompletionPressed
property- See Also:
-
getFillCompletionPressed
Gets the value of thefillCompletionPressed
property.- Property description:
- Returns:
- the value of the
fillCompletionPressed
property - See Also:
-