Class ActivityRenderer<A extends Activity>

    • Constructor Detail

    • Method Detail

      • 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)
      • drawBackground

        protected void drawBackground​(ActivityRef<A> activityRef,
                                      Position position,
                                      GraphicsContext gc,
                                      double x,
                                      double y,
                                      double w,
                                      double h,
                                      boolean selected,
                                      boolean hover,
                                      boolean highlighted,
                                      boolean pressed)
      • drawBorder

        protected void drawBorder​(ActivityRef<A> activityRef,
                                  Position position,
                                  GraphicsContext gc,
                                  double x,
                                  double y,
                                  double w,
                                  double h,
                                  boolean selected,
                                  boolean hover,
                                  boolean highlighted,
                                  boolean pressed)
      • getStroke

        protected Paint getStroke​(boolean selected,
                                  boolean hover,
                                  boolean highlighted,
                                  boolean pressed)
      • cornersRoundedProperty

        public final BooleanProperty cornersRoundedProperty()
      • cornerRadiusProperty

        public final DoubleProperty cornerRadiusProperty()
      • getStroke

        public final Paint getStroke()
      • setStroke

        public final void setStroke​(Paint paint)
      • getStrokePressed

        public final Paint getStrokePressed()
      • setStrokePressed

        public final void setStrokePressed​(Paint paint)
      • getStrokeHighlight

        public final Paint getStrokeHighlight()
      • setStrokeHighlight

        public final void setStrokeHighlight​(Paint paint)
      • getStrokeSelected

        public final Paint getStrokeSelected()
      • setStrokeSelected

        public final void setStrokeSelected​(Paint paint)
      • getStrokeHover

        public final Paint getStrokeHover()
      • setStrokeHover

        public final void setStrokeHover​(Paint paint)
      • setCornerRadius

        public final void setCornerRadius​(double radius)
      • getCornerRadius

        public final double getCornerRadius()
      • setCornersRounded

        public final void setCornersRounded​(boolean rounded)
      • isCornersRounded

        public final boolean isCornersRounded()
      • setLineWidth

        public final void setLineWidth​(double lineWidth)
      • getLineWidth

        public final double getLineWidth()