Class VoronoiChart

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
eu.hansolo.fx.charts.voronoi.VoronoiChart
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget

@DefaultProperty("children") public class VoronoiChart extends javafx.scene.layout.Region
User: hansolo Date: 19.08.21 Time: 04:25
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<VoronoiChart.Type>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     

    Properties inherited from class javafx.scene.layout.Region

    background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width

    Properties inherited from class javafx.scene.Parent

    needsLayout

    Properties inherited from class javafx.scene.Node

    accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields inherited from class javafx.scene.layout.Region

    USE_COMPUTED_SIZE, USE_PREF_SIZE

    Fields inherited from class javafx.scene.Node

    BASELINE_OFFSET_SAME_AS_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    void
     
    protected double
    computeMaxHeight(double width)
     
    protected double
    computeMaxWidth(double height)
     
    protected double
    computeMinHeight(double width)
     
    protected double
    computeMinWidth(double height)
     
    protected double
    computePrefHeight(double width)
     
    protected double
    computePrefWidth(double height)
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.scene.paint.Color
    Gets the value of the property borderColor.
    javafx.collections.ObservableList<javafx.scene.Node>
     
    javafx.scene.paint.Color
     
    boolean
    Gets the value of the property fillRegions.
    boolean
    Gets the value of the property multicolor.
    javafx.scene.paint.Color
    Gets the value of the property pointColor.
    javafx.collections.ObservableList<VPoint>
     
    boolean
    Gets the value of the property pointsVisible.
    Gets the value of the property type.
     
    javafx.scene.paint.Color
    Gets the value of the property voronoiColor.
    javafx.beans.property.BooleanProperty
     
    boolean
    Gets the value of the property interactive.
    boolean
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    void
    setBorderColor(javafx.scene.paint.Color color)
    Sets the value of the property borderColor.
    void
    setDelaunayColor(javafx.scene.paint.Color color)
     
    void
    setFillRegions(boolean fill)
    Sets the value of the property fillRegions.
    void
    setInteractive(boolean interactive)
    Sets the value of the property interactive.
    void
    setMulticolor(boolean multicolor)
    Sets the value of the property multicolor.
    void
    setPointColor(javafx.scene.paint.Color color)
    Sets the value of the property pointColor.
    void
     
    void
    setPointsVisible(boolean visible)
    Sets the value of the property pointsVisible.
    void
    Sets the value of the property type.
    void
    setVoronoiColor(javafx.scene.paint.Color color)
    Sets the value of the property voronoiColor.
    javafx.beans.property.ObjectProperty<VoronoiChart.Type>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     

    Methods inherited from class javafx.scene.layout.Region

    backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty

    Methods inherited from class javafx.scene.Parent

    getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBounds

    Methods inherited from class javafx.scene.Node

    accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface javafx.css.Styleable

    getStyleableNode
  • Property Details

  • Constructor Details

    • VoronoiChart

      public VoronoiChart()
    • VoronoiChart

      public VoronoiChart(List<VPoint> points)
  • Method Details

    • computeMinWidth

      protected double computeMinWidth(double height)
      Overrides:
      computeMinWidth in class javafx.scene.layout.Region
    • computeMinHeight

      protected double computeMinHeight(double width)
      Overrides:
      computeMinHeight in class javafx.scene.layout.Region
    • computePrefWidth

      protected double computePrefWidth(double height)
      Overrides:
      computePrefWidth in class javafx.scene.layout.Region
    • computePrefHeight

      protected double computePrefHeight(double width)
      Overrides:
      computePrefHeight in class javafx.scene.layout.Region
    • computeMaxWidth

      protected double computeMaxWidth(double height)
      Overrides:
      computeMaxWidth in class javafx.scene.layout.Region
    • computeMaxHeight

      protected double computeMaxHeight(double width)
      Overrides:
      computeMaxHeight in class javafx.scene.layout.Region
    • getChildren

      public javafx.collections.ObservableList<javafx.scene.Node> getChildren()
      Overrides:
      getChildren in class javafx.scene.Parent
    • getPoints

      public javafx.collections.ObservableList<VPoint> getPoints()
    • setPoints

      public void setPoints(List<VPoint> points)
    • getPointsVisible

      public boolean getPointsVisible()
      Gets the value of the property pointsVisible.
      Property description:
    • setPointsVisible

      public void setPointsVisible(boolean visible)
      Sets the value of the property pointsVisible.
      Property description:
    • pointsVisibleProperty

      public javafx.beans.property.BooleanProperty pointsVisibleProperty()
      See Also:
    • getPointColor

      public javafx.scene.paint.Color getPointColor()
      Gets the value of the property pointColor.
      Property description:
    • setPointColor

      public void setPointColor(javafx.scene.paint.Color color)
      Sets the value of the property pointColor.
      Property description:
    • pointColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> pointColorProperty()
      See Also:
    • getFillRegions

      public boolean getFillRegions()
      Gets the value of the property fillRegions.
      Property description:
    • setFillRegions

      public void setFillRegions(boolean fill)
      Sets the value of the property fillRegions.
      Property description:
    • fillRegionsProperty

      public javafx.beans.property.BooleanProperty fillRegionsProperty()
      See Also:
    • getBorderColor

      public javafx.scene.paint.Color getBorderColor()
      Gets the value of the property borderColor.
      Property description:
    • setBorderColor

      public void setBorderColor(javafx.scene.paint.Color color)
      Sets the value of the property borderColor.
      Property description:
    • borderColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> borderColorProperty()
      See Also:
    • isVoronoi

      public boolean isVoronoi()
    • getMulticolor

      public boolean getMulticolor()
      Gets the value of the property multicolor.
      Property description:
    • setMulticolor

      public void setMulticolor(boolean multicolor)
      Sets the value of the property multicolor.
      Property description:
    • multicolorProperty

      public javafx.beans.property.BooleanProperty multicolorProperty()
      See Also:
    • getVoronoiColor

      public javafx.scene.paint.Color getVoronoiColor()
      Gets the value of the property voronoiColor.
      Property description:
    • setVoronoiColor

      public void setVoronoiColor(javafx.scene.paint.Color color)
      Sets the value of the property voronoiColor.
      Property description:
    • voronoiColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> voronoiColorProperty()
      See Also:
    • getDelaunayColor

      public javafx.scene.paint.Color getDelaunayColor()
    • setDelaunayColor

      public void setDelaunayColor(javafx.scene.paint.Color color)
    • delaunyColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> delaunyColorProperty()
    • addPoint

      public void addPoint(VPoint point)
    • clear

      public void clear()
    • getType

      public VoronoiChart.Type getType()
      Gets the value of the property type.
      Property description:
    • setType

      public void setType(VoronoiChart.Type TYPE)
      Sets the value of the property type.
      Property description:
    • typeProperty

      public javafx.beans.property.ObjectProperty<VoronoiChart.Type> typeProperty()
      See Also:
    • isInteractive

      public boolean isInteractive()
      Gets the value of the property interactive.
      Property description:
    • setInteractive

      public void setInteractive(boolean interactive)
      Sets the value of the property interactive.
      Property description:
    • interactiveProperty

      public javafx.beans.property.BooleanProperty interactiveProperty()
      See Also:
    • getUserAgentStylesheet

      public String getUserAgentStylesheet()
      Overrides:
      getUserAgentStylesheet in class javafx.scene.layout.Region