Class CircleSegmentHandlePart

All Implemented Interfaces:
Comparable<AbstractSegmentHandlePart<? extends javafx.scene.Node>>, IActivatable, IAdaptable, IAdaptable.Bound<IViewer>, IDisposable, IHandlePart<javafx.scene.shape.Circle>, IVisualPart<javafx.scene.shape.Circle>

public class CircleSegmentHandlePart extends AbstractSegmentHandlePart<javafx.scene.shape.Circle>
The CircleSegmentHandlePart is an AbstractSegmentHandlePart that uses Circle for the visualization.
  • Field Details

    • DEFAULT_SIZE

      protected static final double DEFAULT_SIZE
      The default size for this part's visualization.
      See Also:
  • Constructor Details

    • CircleSegmentHandlePart

      public CircleSegmentHandlePart()
  • Method Details

    • doCreateVisual

      protected javafx.scene.shape.Circle doCreateVisual()
      Creates the visual representation of this selection handle.
      Specified by:
      doCreateVisual in class AbstractVisualPart<javafx.scene.shape.Circle>
      Returns:
      Node representing the handle visually
    • doRefreshVisual

      public void doRefreshVisual(javafx.scene.shape.Circle visual)
      Description copied from class: AbstractVisualPart
      Refreshes this part's visualization based on this part's content.
      Overrides:
      doRefreshVisual in class AbstractSegmentHandlePart<javafx.scene.shape.Circle>
      Parameters:
      visual - This part's visual.
    • updateColor

      protected void updateColor()
      Updates the color of this part's visualization. If this handle part represents a way or end point of an Connection, it's color will be set to indicate whether the handle is connected to another part or not.