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 the property fillCompletion.protected Paint
getFillCompletion
(boolean selected, boolean hover, boolean highlighted, boolean pressed) final Paint
Gets the value of the property fillCompletionHighlight.final Paint
Gets the value of the property fillCompletionHover.final Paint
Gets the value of the property fillCompletionPressed.final Paint
Gets the value of the property fillCompletionSelected.final void
setFillCompletion
(Paint fill) Sets the value of the property fillCompletion.final void
Sets the value of the property fillCompletionHighlight.final void
setFillCompletionHover
(Paint fill) Sets the value of the property fillCompletionHover.final void
Sets the value of the property fillCompletionPressed.final void
Sets the value of the property fillCompletionSelected.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
- See Also:
-
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
- See Also:
-
setFillCompletion
Sets the value of the property fillCompletion.- Property description:
-
getFillCompletion
Gets the value of the property fillCompletion.- Property description:
-
fillCompletionHoverProperty
-
setFillCompletionHover
Sets the value of the property fillCompletionHover.- Property description:
-
getFillCompletionHover
Gets the value of the property fillCompletionHover.- Property description:
-
fillCompletionHighlightProperty
-
setFillCompletionHighlight
Sets the value of the property fillCompletionHighlight.- Property description:
-
getFillCompletionHighlight
Gets the value of the property fillCompletionHighlight.- Property description:
-
fillCompletionSelectedProperty
-
setFillCompletionSelected
Sets the value of the property fillCompletionSelected.- Property description:
-
getFillCompletionSelected
Gets the value of the property fillCompletionSelected.- Property description:
-
fillCompletionPressedProperty
-
setFillCompletionPressed
Sets the value of the property fillCompletionPressed.- Property description:
-
getFillCompletionPressed
Gets the value of the property fillCompletionPressed.- Property description:
-