java.lang.Object
org.jhotdraw8.draw.render.InteractiveHandleRenderer
-
Property Summary
PropertiesTypePropertyDescription@NonNull javafx.beans.property.ObjectProperty<DrawingView> @NonNull javafx.beans.property.ObjectProperty<DrawingEditor> The set of all handles which were produced by selected figures.@NonNull javafx.beans.property.Property<DrawingModel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCreates selection handles and adds them to the provided list.@NonNull javafx.beans.property.ObjectProperty<DrawingView> @NonNull javafx.beans.property.ObjectProperty<DrawingEditor> findHandle(double vx, double vy) getFiguresWithCompatibleHandle(@NonNull Collection<Figure> figures, Handle master) @NonNull javafx.scene.NodegetNode()The set of all handles which were produced by selected figures.voidvoidvoid@NonNull javafx.beans.property.Property<DrawingModel> voidvoidrepaint()voidvoidsetDrawingView(@NonNull DrawingView newValue) Sets the value of thedrawingViewproperty.voidsetSelectedFigures(@NonNull javafx.collections.ObservableSet<Figure> selectedFigures)
-
Property Details
-
editor
- See Also:
-
drawingView
- See Also:
-
model
- See Also:
-
handles
The set of all handles which were produced by selected figures.- See Also:
-
-
Constructor Details
-
InteractiveHandleRenderer
public InteractiveHandleRenderer()
-
-
Method Details
-
createHandles
Creates selection handles and adds them to the provided list.- Parameters:
handles- The provided list
-
editorProperty
- Returns:
- the
editorproperty
-
drawingViewProperty
- Returns:
- the
drawingViewproperty - See Also:
-
findHandle
-
getFiguresWithCompatibleHandle
-
getNode
-
invalidateHandleNodes
public void invalidateHandleNodes() -
invalidateHandles
public void invalidateHandles() -
revalidateHandles
public void revalidateHandles() -
jiggleHandles
public void jiggleHandles() -
modelProperty
- Returns:
- the
modelproperty
-
recreateHandles
public void recreateHandles() -
repaint
public void repaint() -
setDrawingView
Sets the value of thedrawingViewproperty.- Property description:
- Parameters:
newValue- the value for thedrawingViewproperty- See Also:
-
setSelectedFigures
-
handlesProperty
The set of all handles which were produced by selected figures.- Returns:
- the
handlesproperty
-