Class InteractiveHandleRenderer

java.lang.Object
org.jhotdraw8.draw.render.InteractiveHandleRenderer

public class InteractiveHandleRenderer extends Object
  • Property Details

  • Constructor Details

    • InteractiveHandleRenderer

      public InteractiveHandleRenderer()
  • Method Details

    • createHandles

      protected void createHandles(@NonNull Map<Figure,List<Handle>> handles)
      Creates selection handles and adds them to the provided list.
      Parameters:
      handles - The provided list
    • editorProperty

      public @NonNull javafx.beans.property.ObjectProperty<DrawingEditor> editorProperty()
      Returns:
      the editor property
    • drawingViewProperty

      public @NonNull javafx.beans.property.ObjectProperty<DrawingView> drawingViewProperty()
      Returns:
      the drawingView property
      See Also:
    • findHandle

      public @Nullable Handle findHandle(double vx, double vy)
    • getFiguresWithCompatibleHandle

      public @NonNull Set<Figure> getFiguresWithCompatibleHandle(@NonNull Collection<Figure> figures, Handle master)
    • getNode

      public @NonNull javafx.scene.Node getNode()
    • invalidateHandleNodes

      public void invalidateHandleNodes()
    • invalidateHandles

      public void invalidateHandles()
    • revalidateHandles

      public void revalidateHandles()
    • jiggleHandles

      public void jiggleHandles()
    • modelProperty

      public @NonNull javafx.beans.property.Property<DrawingModel> modelProperty()
      Returns:
      the model property
    • recreateHandles

      public void recreateHandles()
    • repaint

      public void repaint()
    • setDrawingView

      public void setDrawingView(@NonNull DrawingView newValue)
      Sets the value of the drawingView property.
      Property description:
      Parameters:
      newValue - the value for the drawingView property
      See Also:
    • setSelectedFigures

      public void setSelectedFigures(@NonNull javafx.collections.ObservableSet<Figure> selectedFigures)
    • handlesProperty

      public @NonNull javafx.beans.property.ReadOnlySetProperty<Handle> handlesProperty()
      The set of all handles which were produced by selected figures.
      Returns:
      the handles property