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
Properties Type Property Description ObjectProperty<Paint>
fillCompletionHighlight
ObjectProperty<Paint>
fillCompletionHover
ObjectProperty<Paint>
fillCompletionPressed
ObjectProperty<Paint>
fillCompletion
ObjectProperty<Paint>
fillCompletionSelected
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 Constructor Description CompletableActivityRenderer(GraphicsBase<?> graphics, String name)
-
Method Summary
Modifier and Type Method Description 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)
protected void
drawCompletion(ActivityRef<A> activityRef, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed)
ObjectProperty<Paint>
fillCompletionHighlightProperty()
ObjectProperty<Paint>
fillCompletionHoverProperty()
ObjectProperty<Paint>
fillCompletionPressedProperty()
ObjectProperty<Paint>
fillCompletionProperty()
ObjectProperty<Paint>
fillCompletionSelectedProperty()
Paint
getFillCompletion()
Gets the value of the property fillCompletion.protected Paint
getFillCompletion(boolean selected, boolean hover, boolean highlighted, boolean pressed)
Paint
getFillCompletionHighlight()
Gets the value of the property fillCompletionHighlight.Paint
getFillCompletionHover()
Gets the value of the property fillCompletionHover.Paint
getFillCompletionPressed()
Gets the value of the property fillCompletionPressed.Paint
getFillCompletionSelected()
Gets the value of the property fillCompletionSelected.void
setFillCompletion(Paint fill)
Sets the value of the property fillCompletion.void
setFillCompletionHighlight(Paint fill)
Sets the value of the property fillCompletionHighlight.void
setFillCompletionHover(Paint fill)
Sets the value of the property fillCompletionHover.void
setFillCompletionPressed(Paint fill)
Sets the value of the property fillCompletionPressed.void
setFillCompletionSelected(Paint fill)
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:
getFillCompletion()
,setFillCompletion(Paint)
-
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:
getFillCompletion()
,setFillCompletion(Paint)
-
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:
-