Klasse CalendarActivityRenderer<A extends CalendarActivity>
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.CalendarActivityRenderer<A>
- Bekannte direkte Unterklassen:
WeekendCalendarActivityRenderer
Renders calendar activities as row-spanning background fills.
It paints translucent blocks and borders for calendar entries without producing interactive activity bounds.
-
Eigenschaftsübersicht
Von Klasse geerbte Eigenschaften ActivityRenderer
cornerRadius, cornersRounded, lineWidth, strokeHighlight, strokeHover, strokePressed, stroke, strokeSelectedVon Klasse geerbte Eigenschaften Renderer
fillHighlight, fillHover, fillPressed, fill, fillSelected, paddingVon Klasse geerbte Eigenschaften RendererBase
alpha, enabled, snapToPixel -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCalendarActivityRenderer(GraphicsBase<?> graphics, String name) Constructs a calendar activity renderer with the default fill and stroke styling for calendar entries. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected ActivityBoundsdrawActivity(ActivityRef<A> activityRef, Position position, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the calendar activity and returns the resulting bounds.Von Klasse geerbte Methoden ActivityRenderer
cornerRadiusProperty, cornersRoundedProperty, draw, drawBackground, drawBorder, getCornerRadius, getLineWidth, getStroke, getStroke, getStrokeHighlight, getStrokeHover, getStrokePressed, getStrokeSelected, isCornersRounded, lineWidthProperty, setCornerRadius, setCornersRounded, setLineWidth, setStroke, setStrokeHighlight, setStrokeHover, setStrokePressed, setStrokeSelected, strokeHighlightProperty, strokeHoverProperty, strokePressedProperty, strokeProperty, strokeSelectedPropertyVon 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
-
CalendarActivityRenderer
Constructs a calendar activity renderer with the default fill and stroke styling for calendar entries.- Parameter:
graphics- the graphics control that uses this renderername- the renderer name
-
-
Methodendetails
-
drawActivity
protected ActivityBounds drawActivity(ActivityRef<A> activityRef, Position position, GraphicsContext gc, double x, double y, double w, double h, boolean selected, boolean hover, boolean highlighted, boolean pressed) Draws the calendar activity and returns the resulting bounds.- Setzt außer Kraft:
drawActivityin KlasseActivityRenderer<A extends CalendarActivity>- Parameter:
activityRef- the activity reference to renderposition- the activity positiongc- the graphics contextx- the x coordinatey- the y coordinatew- the widthh- the heightselected- whether the activity is selectedhover- whether the activity is hoveredhighlighted- whether the activity is highlightedpressed- whether the activity is pressed- Gibt zurück:
- the bounds of the rendered activity, or
nullfor background fills
-