Uses of Interface
org.jhotdraw8.draw.figure.Figure
Packages that use Figure
Package
Description
Defines a programming model for structured drawing editors and provides default
implementations.
Provides
Handles for direct manipulation of
figures on a drawing view.Provides interfaces and classes for locating a point on a figure.
-
Uses of Figure in org.jhotdraw8.draw
Methods in org.jhotdraw8.draw that return FigureModifier and TypeMethodDescriptiondefault @Nullable FigureDrawingView.findFigure(double vx, double vy) Finds the figure at the given view coordinates.default @Nullable FigureDrawingView.findFigure(double vx, double vy, Predicate<Figure> predicate) Finds the figure at the given view coordinates.default @Nullable FigureDrawingView.findFigure(double vx, double vy, Set<Figure> figures) Finds the figure at the given view coordinates.default @Nullable FigureDrawingView.findFigure(javafx.geometry.Point2D pointInView) Finds the figure at the given view coordinates.default @Nullable FigureDrawingView.getActiveParent()Gets the value of theactiveParentproperty.default FigureDrawingView.getClosestFigure(List<Map.Entry<Figure, Double>> result) default @Nullable FigureDrawingView.getSelectionAnchor()default @Nullable FigureDrawingView.getSelectionLead()Methods in org.jhotdraw8.draw that return types with arguments of type FigureModifier and TypeMethodDescriptionjavafx.beans.property.ObjectProperty<Figure> DrawingView.activeParentProperty()The active layer of the drawing.javafx.beans.property.ObjectProperty<Figure> SimpleDrawingView.activeParentProperty()DrawingView.findFigures(double vx, double vy, boolean decompose) Finds the figure at the given view coordinates behind the given figure.DrawingView.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) Finds the figure at the given view coordinates behind the given figure.DrawingView.findFigures(javafx.geometry.Point2D pointInView, boolean decompose) Finds the figures at the given view coordinates.SimpleDrawingView.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) DrawingView.findFiguresInside(double vx, double vy, double vwidth, double vheight, boolean decompose) Returns all figures that lie within the specified bounds given in view coordinates.DrawingView.findFiguresInside(javafx.geometry.Rectangle2D rectangleInView, boolean decompose) Returns all figures that are inside the specified bounds given in view coordinates.SimpleDrawingView.findFiguresInside(double vx, double vy, double vwidth, double vheight, boolean decompose) DrawingView.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose) Returns all figures that intersect the specified bounds given in view coordinates.DrawingView.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) Returns all figures that intersect the specified bounds given in view coordinates.DrawingView.findFiguresIntersecting(javafx.geometry.Rectangle2D rectangleInView, boolean decompose) Returns all figures that intersect the specified bounds given in view coordinates.SimpleDrawingView.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) DrawingView.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle handle) Gets selected figures with the same handle.SimpleDrawingView.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle handle) default javafx.collections.ObservableSet<Figure> DrawingView.getSelectedFigures()Gets the value of theselectedFiguresproperty.javafx.beans.property.ReadOnlySetProperty<Figure> AbstractDrawingView.selectedFiguresProperty()The selectedFiguresProperty holds the list of selected figures in the sequence they were selected by the user.javafx.beans.property.ReadOnlySetProperty<Figure> DrawingView.selectedFiguresProperty()The selected figures.Methods in org.jhotdraw8.draw with parameters of type FigureModifier and TypeMethodDescription@Nullable javafx.scene.NodeDrawingView.findFigureNode(Figure figure, double vx, double vy) Finds the front-most node of the specified figure that contains the specified view coordinates.@Nullable javafx.scene.NodeSimpleDrawingView.findFigureNode(Figure figure, double vx, double vy) @Nullable javafx.scene.NodeGets the node which is used to render the specified figure by the drawing view.@Nullable javafx.scene.Nodedefault voidDrawingView.scrollFigureToVisible(Figure f) Scrolls the specified figure to visible.default voidDrawingView.setActiveParent(@Nullable Figure newValue) Sets the value of theactiveParentproperty.Method parameters in org.jhotdraw8.draw with type arguments of type FigureModifier and TypeMethodDescriptiondefault @Nullable FigureDrawingView.findFigure(double vx, double vy, Predicate<Figure> predicate) Finds the figure at the given view coordinates.default @Nullable FigureDrawingView.findFigure(double vx, double vy, Set<Figure> figures) Finds the figure at the given view coordinates.DrawingView.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) Finds the figure at the given view coordinates behind the given figure.SimpleDrawingView.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) DrawingView.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) Returns all figures that intersect the specified bounds given in view coordinates.SimpleDrawingView.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) default FigureDrawingView.getClosestFigure(List<Map.Entry<Figure, Double>> result) DrawingView.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle handle) Gets selected figures with the same handle.SimpleDrawingView.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle handle) -
Uses of Figure in org.jhotdraw8.draw.action
Fields in org.jhotdraw8.draw.action with type parameters of type FigureMethods in org.jhotdraw8.draw.action with parameters of type FigureModifier and TypeMethodDescriptionstatic voidSelectSameAction.selectSame(DrawingView view, @Nullable Figure prototype) Method parameters in org.jhotdraw8.draw.action with type arguments of type FigureModifier and TypeMethodDescriptionstatic voidAddToGroupAction.addToGroup(DrawingView view, List<Figure> figures) voidBringToFrontAction.bringToFront(DrawingView view, Collection<Figure> figures) static voidGroupAction.group(DrawingView view, Collection<Figure> figures, Supplier<Figure> groupFactory) static voidGroupAction.group(DrawingView view, Collection<Figure> figures, Supplier<Figure> groupFactory) voidSendBackwardAction.moveDown(DrawingView view, Collection<Figure> figures) voidBringForwardAction.moveUp(DrawingView view, Collection<Figure> figures) voidRemoveFromGroupAction.removeFromGroup(DrawingView view, List<Figure> figures) static voidRemoveTransformationsAction.removeTransformations(DrawingView view, Collection<Figure> figures) static voidSelectChildrenAction.selectChildren(DrawingView view, Collection<Figure> figures) voidSendToBackAction.sendToBack(DrawingView view, Collection<Figure> figures) static voidUngroupAction.ungroup(DrawingView view, Collection<Figure> figures) Constructor parameters in org.jhotdraw8.draw.action with type arguments of type FigureModifierConstructorDescriptionGroupAction(String id, DrawingEditor editor, @Nullable Supplier<Figure> groupFactory) GroupAction(DrawingEditor editor, Supplier<Figure> groupFactory) Creates a new instance. -
Uses of Figure in org.jhotdraw8.draw.connector
Methods in org.jhotdraw8.draw.connector with parameters of type FigureModifier and TypeMethodDescriptiondefault IntersectionPointExConnector.chopStart(RenderContext ctx, Figure connection, Figure target, double sx, double sy, double ex, double ey) Clips the start of the provided line at the bounds of the target figure.default IntersectionPointExConnector.chopStart(RenderContext ctx, Figure connection, Figure target, javafx.geometry.Point2D start, javafx.geometry.Point2D end) Clips the start of the provided line at the bounds of the target figure.Connector.getPointAndDerivativeInLocal(Figure connection, Figure target) Returns a point and derivative on the target figure for the specified connection figure in local coordinates.LocatorConnector.getPointAndDerivativeInLocal(Figure connection, Figure target) default PointAndDerivativeConnector.getPointAndDerivativeInWorld(Figure connection, Figure target) Returns a point and derivative on the target figure for the specified connection figure in world coordinates.default @Nullable IntersectionPointExConnector.intersect(RenderContext ctx, Figure connection, Figure target, javafx.geometry.Point2D start, javafx.geometry.Point2D end) Returns the intersection of the line going from start to end with the target figure.@Nullable IntersectionPointExEllipseConnector.intersect(RenderContext ctx, Figure connection, Figure target, javafx.geometry.Point2D start, javafx.geometry.Point2D end) PathConnector.intersect(RenderContext ctx, Figure connection, Figure target, javafx.geometry.Point2D start, javafx.geometry.Point2D end) @Nullable IntersectionPointExRectangleConnector.intersect(RenderContext ctx, Figure connection, Figure target, javafx.geometry.Point2D start, javafx.geometry.Point2D end) -
Uses of Figure in org.jhotdraw8.draw.constrain
Methods in org.jhotdraw8.draw.constrain with parameters of type FigureModifier and TypeMethodDescriptiondefault doubleConstrainer.constrainAngle(Figure f, double angle) Constrains the given angle (in degrees).doubleFigureSpecificConstrainer.constrainAngle(Figure f, double angle) default CssPoint2DConstrainer.constrainPoint(Figure f, CssPoint2D p) Constrains the placement of a point towards the closest constraint in any direction.FigureSpecificConstrainer.constrainPoint(Figure f, CssPoint2D p) default CssRectangle2DConstrainer.constrainRectangle(Figure f, CssRectangle2D r) Constrains the placement of a rectangle towards the closest constraint in any direction.FigureSpecificConstrainer.constrainRectangle(Figure f, CssRectangle2D r) doubleConstrainer.translateAngle(Figure f, double angle, double dir) Snaps an angle (in degrees) to the closest constrained orientation in the specified direction.doubleFigureSpecificConstrainer.translateAngle(Figure f, double angle, double dir) doubleGridConstrainer.translateAngle(Figure f, double angle, double dir) doubleNullConstrainer.translateAngle(Figure f, double angle, double dir) Constrainer.translatePoint(Figure f, CssPoint2D p, CssPoint2D dir) Snaps a point to the next constrained location in the specified direction.FigureSpecificConstrainer.translatePoint(Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, CssPoint2D cssp, CssPoint2D dir) NullConstrainer.translatePoint(Figure f, CssPoint2D cssp, CssPoint2D cssdir) Constrainer.translateRectangle(Figure f, CssRectangle2D r, CssPoint2D dir) Snaps a rectangle into the the closest constraint position in the given direction.FigureSpecificConstrainer.translateRectangle(Figure f, CssRectangle2D r, CssPoint2D dir) GridConstrainer.translateRectangle(Figure f, CssRectangle2D cssr, CssPoint2D cssdir) NullConstrainer.translateRectangle(Figure f, CssRectangle2D cssr, CssPoint2D cssdir) -
Uses of Figure in org.jhotdraw8.draw.css.model
Methods in org.jhotdraw8.draw.css.model that return FigureModifier and TypeMethodDescription@Nullable FigureFigureSelectorModel.getPreviousSibling(Figure element) Methods in org.jhotdraw8.draw.css.model with parameters of type FigureModifier and TypeMethodDescriptionbooleanFigureSelectorModel.attributeValueContains(Figure element, @Nullable String namespacePattern, String attributeName, String substring) booleanFigureSelectorModel.attributeValueContainsWord(Figure element, @Nullable String namespacePattern, String attributeName, String word) booleanFigureSelectorModel.attributeValueEndsWith(Figure element, @Nullable String namespacePattern, String attributeName, String substring) booleanFigureSelectorModel.attributeValueEquals(Figure element, @Nullable String namespacePattern, String attributeName, String requestedValue) booleanFigureSelectorModel.attributeValueStartsWith(Figure element, @Nullable String namespacePattern, String attributeName, String substring) @Nullable WritableStyleableMapAccessor<?> FigureSelectorModel.getAccessor(Figure element, @Nullable String namespace, String attributeName) FigureSelectorModel.getAttribute(Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, String attributeName) @Nullable StringFigureSelectorModel.getAttributeAsString(Figure element, @Nullable String namespacePattern, String attributeName) @Nullable StringFigureSelectorModel.getAttributeAsString(Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, String attributeName) FigureSelectorModel.getAttributeNames(Figure element) FigureSelectorModel.getComposedAttributeNames(Figure element) @Nullable org.jhotdraw8.base.converter.Converter<?> FigureSelectorModel.getConverter(Figure element, @Nullable String namespace, String attributeName) FigureSelectorModel.getDecomposedAttributeNames(Figure element) @Nullable FigureFigureSelectorModel.getPreviousSibling(Figure element) FigureSelectorModel.getPseudoClasses(Figure element) protected @Nullable ReadOnlyStyleableMapAccessor<Object> FigureSelectorModel.getReadableAttributeAccessor(Figure element, @Nullable String namespace, String attributeName) protected @Nullable StringFigureSelectorModel.getReadOnlyAttributeValueAsString(Figure element, @Nullable String namespace, String attributeName) FigureSelectorModel.getStyleClasses(Figure element) @Nullable QualifiedNameprotected Map<QualifiedName, List<WritableStyleableMapAccessor<Object>>> FigureSelectorModel.getWritableMetaMap(Figure elem) booleanFigureSelectorModel.hasAttribute(Figure element, @Nullable String namespace, String attributeName) booleanbooleanFigureSelectorModel.hasPseudoClass(Figure element, String pseudoClass) booleanFigureSelectorModel.hasStyleClass(Figure element, String clazz) booleanvoidvoidFigureSelectorModel.setAttribute(Figure elem, javafx.css.StyleOrigin origin, @Nullable String namespace, String name, @Nullable ReadOnlyList<CssToken> value) -
Uses of Figure in org.jhotdraw8.draw.figure
Subinterfaces of Figure in org.jhotdraw8.draw.figureModifier and TypeInterfaceDescriptioninterfaceAnchorableFigure has an anchor attribute which is a relative location to the bounds of the figure.interfaceMarker interface to all figures that layout their children, when methodlayout(RenderContext)is called.interfaceDefines a clipping of aDrawing.interfaceProvides properties for compositing a figure.interfaceConnectableFigure.interfaceConnectingFigure.interfaceinterfaceA drawing is an image composed of graphical (figurative) elements.interfaceA figure which supports drawing an elbow.interfaceInterface figures which render ajavafx.scene.shape.Shapeand can be filled.interfaceInterface figures which render ajavafx.scene.shape.Shapeand can have a fill rule.interfaceMarker interface for group of figures.interfaceHideableFigure.interfaceMixin interface for figures that have an image source.interfaceinterfaceDefines a layer of aDrawing.interfaceA layered drawing only acceptsLayers as children.interfaceLineConnectingFigure.interfaceLockableFigure.interfaceInterface for figures which are always locked.interfaceA figure which supports end markers.interfaceInterface figures which render ajavafx.scene.shape.Shapeand can be filled.interfaceA figure which supports markers at the nodes of a path.interfaceA figure which supports markers in the middle of a path segment.interfaceA figure which supports start markers.interfaceInterface for figures which can stroke a marker.interfaceProvides default implementations for figures which can not be transformed.interfaceinterfaceDefines a page layout for printing.interfacePathIterableFigure.interfaceDefines properties for figures that support a pattern in a stroke.interfaceDefines properties and default methods for figures which have a rectangular shape.interfaceInterface for figures which can be resized by the user through handles..interfaceInterface for figures which can render a second stroke.interfaceA figure which supports cutting off the start and end of a stroked path.interfaceinterfaceDefines a slice of a drawing.interfaceInterface for figures which render ajavafx.scene.shape.Shapeand can be stroked.interfaceA figure which supports cutting off the start and end of a stroked path.interfaceStyleableFigureprovides user-editable "id", "style class" and "style" properties, and a non-user-editable "pseudo-class" property.interfaceA figure which holds text in an attribute.interfaceInterface for figures that support text editing at one or more locations on the figure.interfaceTextFillableFigureallows to change the fill of the text.interfaceA figure which supports font attributes.interfaceA figure which supports font attributes.interfaceTextStrokeableFigureallows to change the stroke of the text.interfaceA transformable figure supports the transformation of a figure.interfaceTransformCachingFigure.interfaceClasses in org.jhotdraw8.draw.figure that implement FigureModifier and TypeClassDescriptionclassThis base class can be used to implement figures which support child figures.classDrawingFigure.classAbstractElbowLineConnectionWithMarkersFigure draws a straight line or an elbow line from start to end.classAbstractFigure.classA label that can be attached to another figure by settingLabelConnectionFigure.LABEL_CONNECTORandLabelConnectionFigure.LABEL_TARGET.classA Label that can be placed anywhere on a drawing.classThis base class can be used to implement figures which do not support child figures.classBase class for line connection figure.classAbstractPathConnectionWithMarkersFigure draws a path from start to end.classRenders a Shape (either a Rectangle or an SVGPath) inside a rectangular region.classAbstractStraightLineConnectionWithMarkersFigure draws a straight line from start to end.classAbstract drawing that supportsViewBoxableDrawing.classRenders ajavafx.scene.shape.Arc.classAFigurewhich draws aBezierPath.classClippingFigure.classThis is lake a group, but the shapes of the child figures are presented as a unified path.classRenders ajavafx.scene.shape.Ellipse.classA figure which groups child figures, so that they can be edited by the user as a unit.classImageFigure presents a bitmap image on a drawing.classLabelFigure presents a text on a drawing.classLayerFigure.classA figure which draws a line connection between two figures.classLineConnectionWithMarkersFigure.classA figure which draws a straight line from a start point to an end point.classDefines a page layout for printing.classPageLabelFigure.classA figure which draws a closed polygon.classA figure which draws a connected line segments.classRenders ajavafx.scene.shape.Rectangle.classclassA simple implementation ofDrawing.classLabelConnectionFigure.classclassThis is a special figure which is used to segment a drawing into tiles, when exporting it using theBitmapExportOutputFormat.classclassTextFigureis aTextFontableFigurewhich supports stroking and filling of the text.Fields in org.jhotdraw8.draw.figure with type parameters of type FigureModifier and TypeFieldDescriptionstatic final NullableObjectKey<Figure> LineConnectingFigure.END_TARGETThe end target.static final NullableObjectKey<Figure> LabelConnectionFigure.LABEL_TARGETThe label target.static final NullableObjectKey<Figure> LineConnectingFigure.START_TARGETThe start target.Methods in org.jhotdraw8.draw.figure that return FigureModifier and TypeMethodDescriptiondefault @Nullable FigureFigure.getParent()Gets the value of theparentproperty.default @Nullable FigureFigure.getRoot()Returns the root.Methods in org.jhotdraw8.draw.figure that return types with arguments of type FigureModifier and TypeMethodDescriptionprotected StylesheetsManager<Figure> AbstractDrawing.createStyleManager()javafx.collections.ObservableList<Figure> AbstractCompositeFigure.getChildren()final javafx.collections.ObservableList<Figure> AbstractLeafFigure.getChildren()javafx.collections.ObservableList<Figure> Figure.getChildren()The child figures.AbstractFigure.getLayoutObservers()Figure.getLayoutObservers()Returns all figures which observe the layout of this figure.AbstractLabelConnectionFigure.getLayoutSubjects()Returns all figures which are connected by this figure - they provide to the layout of this figure.AbstractLineConnectionFigure.getLayoutSubjects()Returns all figures which are connected by this figure - they provide to the layout of this figure.default ReadOnlySet<Figure> Figure.getLayoutSubjects()Returns all figures which are subject to the layout of this figure.AbstractFigure.getReadOnlyLayoutObservers()Figure.getReadOnlyLayoutObservers()@Nullable StylesheetsManager<Figure> AbstractDrawing.getStyleManager()@Nullable StylesheetsManager<Figure> Drawing.getStyleManager()Gets the style manager of the drawing.Drawing.layoutDependenciesIterable()Returns all figures in topological order according to their layout dependencies.javafx.beans.property.ObjectProperty<Figure> AbstractFigure.parentProperty()javafx.beans.property.ObjectProperty<Figure> Figure.parentProperty()The parent figure.Methods in org.jhotdraw8.draw.figure with parameters of type FigureModifier and TypeMethodDescriptiondefault booleanAdds a new child to the figure if it is a suitable child and this figure is a suitable parent.default booleanConnectingFigure.canConnect(Figure figure, Connector connector) Returns true if this figure can connect to the specified figure with the specified connector.protected voidLayerFigure.checkNewParent(@Nullable Figure newValue) This method throws an illegal argument exception if the new parent is not an instance of Drawing.@Nullable ConnectorAbstractLabelFigure.findConnector(javafx.geometry.Point2D p, @Nullable Figure prototype, double tolerance) @Nullable ConnectorBezierPathFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) @Nullable ConnectorCombinedPathFigure.findConnector(javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) default @Nullable ConnectorConnectableFigure.findConnector(double x, double y, @Nullable Figure prototype, double tolerance) Gets a connector for this figure at the given location.@Nullable ConnectorConnectableFigure.findConnector(javafx.geometry.Point2D pointInLocal, @Nullable Figure connectingFigure, double tolerance) Gets a connector for this figure at the given location.@Nullable ConnectorEllipseFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) @Nullable ConnectorImageFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) @Nullable ConnectorPolygonFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) @Nullable ConnectorRectangleFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) @Nullable ConnectorRegionFigure.findConnector(javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) @Nullable ConnectorTextAreaFigure.findConnector(javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) @Nullable ConnectorTextFigure.findConnector(javafx.geometry.Point2D p, Figure prototype, double tolerance) <T> voidAbstractCompositeFigure.firePropertyChangeEvent(@Nullable Figure source, Key<T> key, T oldValue, T newValue, boolean wasAdded, boolean wasRemoved) default <T> voidFigure.firePropertyChangeEvent(Figure source, Key<T> key, @Nullable T oldValue, @Nullable T newValue, boolean wasAdded, boolean wasRemoved) Fires a property change event.booleanAbstractLeafFigure.isSuitableChild(Figure newChild) This method returns false for all children.booleanClippingFigure.isSuitableChild(Figure newChild) This method returns true for all children.booleanCombinedPathFigure.isSuitableChild(Figure newChild) This method returns true for instances of PathIterableFigure.booleanFigure.isSuitableChild(Figure newChild) This method returns whether the provided figure is a suitable child for this figure.booleanGroupFigure.isSuitableChild(Figure newChild) default booleanLayeredDrawing.isSuitableChild(Figure newChild) Only returns true if newChild is aLayer.booleanLayerFigure.isSuitableChild(Figure newChild) booleanPageFigure.isSuitableChild(Figure newChild) booleanSimpleDrawing.isSuitableChild(Figure newChild) booleanAbstractDrawing.isSuitableParent(Figure newParent) booleanAbstractLeafFigure.isSuitableParent(Figure newParent) booleanClippingFigure.isSuitableParent(Figure newParent) This method returns false for all new parents.booleanCombinedPathFigure.isSuitableParent(Figure newParent) booleanFigure.isSuitableParent(Figure newParent) This method returns whether the provided figure is a suitable parent for this figure.booleanGroupFigure.isSuitableParent(Figure newParent) default booleanLayer.isSuitableParent(Figure newParent) default booleanPage.isSuitableParent(Figure newParent) default booleanSlice.isSuitableParent(Figure newParent) booleanSliceFigure.isSuitableParent(Figure newParent) default voidFigure.removeChild(Figure child) Removes a child from the figure.voidAbstractFigure.removeLayoutSubject(Figure connectedFigure) This implementation is empty.voidAbstractLabelConnectionFigure.removeLayoutSubject(Figure subject) voidAbstractLineConnectionFigure.removeLayoutSubject(Figure subject) voidFigure.removeLayoutSubject(Figure targetFigure) Removes the specified connection target.voidAbstractLineConnectionFigure.setEndConnection(Figure target, Connector connector) voidAbstractLabelConnectionFigure.setLabelConnection(@Nullable Figure target, @Nullable Connector connector) default voidSets the value of theparentproperty.voidAbstractLineConnectionFigure.setStartConnection(Figure target, Connector connector) static double[]PolylineFigure.toPointArray(Figure f, NonNullMapAccessor<? extends ImmutableList<javafx.geometry.Point2D>> key) Method parameters in org.jhotdraw8.draw.figure with type arguments of type FigureModifier and TypeMethodDescriptionstatic javafx.geometry.BoundsFigure.bounds(Collection<? extends Figure> selection) Computes the union of the bounds of the provided figures in world coordinates.static javafx.geometry.BoundsFigures.getBoundsInWorld(Iterable<? extends Figure> figures) static javafx.geometry.BoundsFigures.getCenterBounds(Iterable<? extends Figure> figures) booleanAbstractLabelConnectionFigure.isGroupReshapeableWith(Set<Figure> others) default booleanFigure.isGroupReshapeableWith(Set<Figure> others) Whether the figure can be reshaped as a group together with other figures.static @Nullable javafx.geometry.BoundsFigure.visualBounds(Collection<Figure> selection) Computes the union of the visual bounds of the provided figures in world coordinates.Constructors in org.jhotdraw8.draw.figure with parameters of type FigureModifierConstructorDescriptionFigurePropertyChangeEvent(Figure source, Key<T> key, @Nullable T oldValue, @Nullable T newValue, boolean wasAdded, boolean wasRemoved) Constructor parameters in org.jhotdraw8.draw.figure with type arguments of type Figure -
Uses of Figure in org.jhotdraw8.draw.handle
Fields in org.jhotdraw8.draw.handle declared as FigureModifier and TypeFieldDescriptionprotected final FigureAbstractBezierNodeHandleAction.ownerprotected final FigureAbstractHandle.ownerFields in org.jhotdraw8.draw.handle with type parameters of type FigureModifier and TypeFieldDescriptionprotected final MapAccessor<Figure> AbstractConnectorHandle.targetKeyMethods in org.jhotdraw8.draw.handle that return FigureModifier and TypeMethodDescriptionAbstractConnectorHandle.ConnectorAndConnectedFigure.connectedFigure()Returns the value of theconnectedFigurerecord component.AbstractHandle.getOwner()Handle.getOwner()Returns the figure to which the handle is associated.Methods in org.jhotdraw8.draw.handle with parameters of type FigureModifier and TypeMethodDescriptionstatic voidResizeHandleKit.addCornerResizeHandles(Figure f, Collection<Handle> handles) Creates handles for each corner of a figure and adds them to the provided collection.static voidResizeHandleKit.addEdgeResizeHandles(Figure f, Collection<Handle> handles) Fills the given collection with handles at each the north, south, east, and west of the figure.static voidResizeHandleKit.addResizeHandles(Figure f, Collection<Handle> handles) Fills the given collection with handles at each the north, south, east, and west of the figure.protected voidMoveHandle.doTranslateFigure(Figure f, CssPoint2D oldPoint, CssPoint2D newPoint, @Nullable DrawingModel model) static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static HandleCreates a handle for the specified figure.static voidBezierNodeMoveHandle.translateFigure(Figure f, javafx.geometry.Point2D oldPoint, javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position ofCollection a point.static voidMoveHandle.translateFigure(Figure f, javafx.geometry.Point2D oldPoint, javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position of a point.static voidMoveHandle.translateFigure(Figure f, CssPoint2D oldPoint, CssPoint2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position of a point.static voidPolyPointMoveHandle.translateFigure(Figure f, javafx.geometry.Point2D oldPoint, javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position ofCollection a point.static HandleCreates a handle for the specified figure.Constructors in org.jhotdraw8.draw.handle with parameters of type FigureModifierConstructorDescriptionAbstractBezierNodeHandleAction(String id, Figure owner, MapAccessor<BezierPath> pathKey, int nodeIndex, DrawingView view) AbstractHandle(Figure owner) AnchorOutlineHandle(Figure figure) BezierControlPointEditHandle(Figure figure, MapAccessor<BezierPath> pathKey, int nodeIndex, int controlPointMask) BezierNodeEditHandle(Figure figure, MapAccessor<BezierPath> pathKey, int nodeIndex) BezierNodeHandleIncomingAndOutgoingTangentAction(Figure owner, MapAccessor<BezierPath> pathKey, int nodeIndex, DrawingView view) BezierNodeHandleIncomingTangentAction(Figure figure, MapAccessor<BezierPath> nodeListKey, int nodeIndex, DrawingView model) BezierNodeHandleNoTangentsAction(Figure owner, MapAccessor<BezierPath> pathKey, int nodeIndex, DrawingView view) BezierNodeHandleOutgoingTangentAction(Figure figure, MapAccessor<BezierPath> pathKey, int nodeIndex, DrawingView view) BezierNodeMoveHandle(Figure figure, MapAccessor<BezierPath> pathKey, int pointIndex) BezierNodeNonMovableEditHandle(Figure figure, MapAccessor<BezierPath> pathKey, int nodeIndex) BezierNodeTangentHandle(Figure figure, MapAccessor<BezierPath> pathKey, int pointIndex) BezierPathEditHandle(Figure figure, MapAccessor<BezierPath> pointKey) BezierPathOutlineHandle(Figure figure, MapAccessor<BezierPath> pointKey, boolean selectable) BoundsInLocalOutlineHandle(Figure figure) BoundsInParentOutlineHandle(Figure figure) ConnectorAndConnectedFigure(Connector connector, Figure connectedFigure) Creates an instance of aConnectorAndConnectedFigurerecord class.LineOutlineHandle(Figure figure) LocatorHandle(Figure owner, Locator l) Initializes the LocatorHandle with the given Locator.MoveHandle(Figure figure, Locator locator) PointHandle(Figure figure, NonNullMapAccessor<CssPoint2D> pointKey) PolygonOutlineHandle(Figure figure, NonNullMapAccessor<ImmutableList<javafx.geometry.Point2D>> key) PolygonOutlineHandle(Figure figure, NonNullMapAccessor<ImmutableList<javafx.geometry.Point2D>> key, boolean editable) PolylineOutlineHandle(Figure figure, NonNullMapAccessor<ImmutableList<javafx.geometry.Point2D>> key) PolylineOutlineHandle(Figure figure, NonNullMapAccessor<ImmutableList<javafx.geometry.Point2D>> key, boolean editable) PolyPointEditHandle(Figure figure, NonNullMapAccessor<ImmutableList<javafx.geometry.Point2D>> pointKey, int pointIndex) PolyPointMoveHandle(Figure figure, MapAccessor<ImmutableList<javafx.geometry.Point2D>> pointKey, int pointIndex) RelativeControlPointHandle(Figure figure, MapAccessor<javafx.geometry.Point2D> pointKey, MapAccessor<javafx.geometry.Point2D> controlPointKey) RelativePointHandle(Figure figure, MapAccessor<CssPoint2D> pointKey) SelectionHandle(Figure figure, Locator locator) -
Uses of Figure in org.jhotdraw8.draw.input
Methods in org.jhotdraw8.draw.input that return types with arguments of type FigureModifier and TypeMethodDescriptionClipboardInputFormat.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) Reads a Drawing from the clipboard.MultiClipboardInputFormat.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, Figure layer) Methods in org.jhotdraw8.draw.input with parameters of type FigureModifier and TypeMethodDescriptionClipboardInputFormat.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) Reads a Drawing from the clipboard.MultiClipboardInputFormat.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, Figure layer) Method parameters in org.jhotdraw8.draw.input with type arguments of type FigureModifier and TypeMethodDescriptionvoidClipboardOutputFormat.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) Writes a selection of figures from a Drawing into a clipboardvoidMultiClipboardOutputFormat.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) -
Uses of Figure in org.jhotdraw8.draw.inspector
Methods in org.jhotdraw8.draw.inspector that return FigureMethods in org.jhotdraw8.draw.inspector that return types with arguments of type FigureModifier and TypeMethodDescriptionstatic javafx.util.Callback<javafx.scene.control.ListView<Figure>, javafx.scene.control.ListCell<Figure>> LayerCell.forListView(DrawingModel drawingModel, LayersInspector inspector) Creates aLayerCellcell factory for use inListViewcontrols.static javafx.util.Callback<javafx.scene.control.ListView<Figure>, javafx.scene.control.ListCell<Figure>> LayerCell.forListView(DrawingModel drawingModel, LayersInspector inspector) Creates aLayerCellcell factory for use inListViewcontrols.final @Nullable javafx.util.StringConverter<Figure> LayerCell.getConverter()Returns theStringConverterused in this cell.StyleAttributesInspector.getEntities()javafx.scene.control.ListView<Figure> LayersInspector.getListView()AbstractSelectionInspector.getSelectedFigures()protected @Nullable StylesheetsManager<Figure> StyleAttributesInspector.getStyleManager()Methods in org.jhotdraw8.draw.inspector with parameters of type FigureModifier and TypeMethodDescriptionvoidLayerCell.commitEdit(Figure newValue) protected voidStyleAttributesInspector.fireInvalidated(Figure f) protected @Nullable ObjectStyleAttributesInspector.get(Figure f, WritableStyleableMapAccessor<Object> finalSelectedAccessor) protected @Nullable WritableStyleableMapAccessor<?> StyleAttributesInspector.getAccessor(SelectorModel<Figure> selectorModel, Figure f, String propertyNamespace, String propertyName) protected @Nullable org.jhotdraw8.base.converter.Converter<?> StyleAttributesInspector.getConverter(SelectorModel<Figure> selectorModel, Figure f, String namespace, String name) protected voidStyleAttributesInspector.remove(Figure f, WritableStyleableMapAccessor<Object> finalSelectedAccessor) protected voidStyleAttributesInspector.set(Figure f, WritableStyleableMapAccessor<Object> finalSelectedAccessor, Object o) protected voidLayerCell.updateItem(@Nullable Figure item, boolean empty) Method parameters in org.jhotdraw8.draw.inspector with type arguments of type FigureModifier and TypeMethodDescriptionLayersInspector.createCell(javafx.scene.control.ListView<Figure> listView) protected @Nullable WritableStyleableMapAccessor<?> StyleAttributesInspector.getAccessor(SelectorModel<Figure> selectorModel, Figure f, String propertyNamespace, String propertyName) protected @Nullable org.jhotdraw8.base.converter.Converter<?> StyleAttributesInspector.getConverter(SelectorModel<Figure> selectorModel, Figure f, String namespace, String name) protected abstract voidAbstractSelectionInspector.onSelectionChanged(Set<Figure> newValue) Must be implemented by subclasses.protected voidStyleClassesInspector.onSelectionChanged(Set<Figure> newValue) -
Uses of Figure in org.jhotdraw8.draw.io
Methods in org.jhotdraw8.draw.io that return FigureModifier and TypeMethodDescriptionAbstractFigureFactory.createFigureByElementName(String elementName) FigureFactory.createFigureByElementName(String elementName) Creates a new figure given the name of an XML element.Reads figures from an input stream and adds them to the specified drawing.default FigureReads a figure from an URIdefault FigureReads a figure from a file.SimpleXmlReader.read(InputStream in, @Nullable Drawing drawing, @Nullable URI documentHome, WorkState<Void> workState) @Nullable FigureSimpleXmlReader.read(Reader in, @Nullable Drawing drawing, @Nullable URI documentHome, WorkState<Void> workState) Methods in org.jhotdraw8.draw.io that return types with arguments of type FigureModifier and TypeMethodDescriptionSimpleXmlReader.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) Methods in org.jhotdraw8.draw.io with parameters of type FigureModifier and TypeMethodDescriptionSet<MapAccessor<?>> AbstractFigureFactory.figureAttributeKeys(Figure f) Set<MapAccessor<?>> FigureFactory.figureAttributeKeys(Figure f) Returns all keys for the specified figure which should be converted into element attributes.Set<MapAccessor<?>> AbstractFigureFactory.figureNodeListKeys(Figure f) Set<MapAccessor<?>> FigureFactory.figureNodeListKeys(Figure f) Returns all keys for the specified figure which should be converted into a node list.AbstractFigureFactory.getAttributeNameByKey(Figure f, MapAccessor<?> key) FigureFactory.getAttributeNameByKey(Figure f, MapAccessor<?> key) Maps a key to a XML attribute name.<T> TAbstractFigureFactory.getDefaultValue(Figure f, MapAccessor<T> key) <T> @Nullable TFigureFactory.getDefaultValue(Figure f, MapAccessor<T> key) Returns the default for the key.@Nullable StringAbstractFigureFactory.getElementNameByFigure(Figure f) @Nullable StringFigureFactory.getElementNameByFigure(Figure f) Maps a figure to an XML element name.AbstractFigureFactory.getElementNameByKey(Figure f, MapAccessor<?> key) FigureFactory.getElementNameByKey(Figure f, MapAccessor<?> key) Maps a key to a XML element name.@Nullable MapAccessor<?> AbstractFigureFactory.getKeyByAttributeName(Figure f, String attributeName) @Nullable MapAccessor<?> FigureFactory.getKeyByAttributeName(Figure f, String name) Maps an XML attribute name to a key.MapAccessor<?> AbstractFigureFactory.getKeyByElementName(Figure f, String elementName) MapAccessor<?> FigureFactory.getKeyByElementName(Figure f, String name) Maps an XML element name to a key.<T> booleanAbstractFigureFactory.isDefaultValue(Figure f, MapAccessor<T> key, @Nullable T value) default <T> booleanFigureFactory.isDefaultValue(Figure f, MapAccessor<T> key, @Nullable T value) Returns true if the specified value is the default for the given key.SimpleXmlReader.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) protected voidprotected voidSimpleXmlWriter.writeElementAttributes(XMLStreamWriter w, Figure figure) protected voidSimpleXmlWriter.writeNodeRecursively(XMLStreamWriter w, Figure figure, int depth) Method parameters in org.jhotdraw8.draw.io with type arguments of type FigureModifier and TypeMethodDescription<T> voidAbstractFigureFactory.addDefaultValue(Class<? extends Figure> figure, MapAccessor<T> acc, T value) voidAdds the provided mappings of XML attribute names from/toFigures.voidAbstractFigureFactory.addFigureAttributeKeys(Class<? extends Figure> f, Iterable<MapAccessor<?>> keys) Adds the provided keys to the figure.voidAbstractFigureFactory.addFigureKeysAndNames(Class<? extends Figure> f, Collection<MapAccessor<?>> keys) voidAbstractFigureFactory.addFigureKeysAndNames(String figureName, Class<? extends Figure> f) voidAbstractFigureFactory.addFigureKeysAndNames(String figureName, Class<? extends Figure> f, Iterable<MapAccessor<?>> keys) voidAbstractFigureFactory.addKey(Class<? extends Figure> figure, String name, MapAccessor<?> key) Adds the provided mapping of XML attribute names from/toMapAccessors.voidAdds the provided mapping of XML attribute names from/toMapAccessors.voidAbstractFigureFactory.addNodeListKey(Class<? extends Figure> figure, String name, MapAccessor<?> key) Adds the provided keys to the figure.voidAbstractFigureFactory.addSkipAttribute(Class<? extends Figure> figure, String attributeName) Adds an attribute to the list of attributes which will be skipped when reading the DOM.voidAbstractFigureFactory.addSkipFigure(Class<? extends Figure> figure) Adds a figure class to the list ofFigures which will be skipped when writing the DOM.SimpleXmlWriter.toDocument(@Nullable URI documentHome, Drawing internal, Collection<Figure> selection) voidBitmapExportOutputFormat.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) voidSimpleXmlWriter.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) protected voidSimpleXmlWriter.writeClipping(XMLStreamWriter w, Drawing internal, Collection<Figure> selection, @Nullable URI documentHome) -
Uses of Figure in org.jhotdraw8.draw.locator
Methods in org.jhotdraw8.draw.locator with parameters of type FigureModifier and TypeMethodDescriptionjavafx.geometry.Point2Djavafx.geometry.Point2Djavafx.geometry.Point2DLocates a position on the provided figure.javafx.geometry.Point2DLocates a position on the provided figure relative to the dependent figure.javafx.geometry.Point2D -
Uses of Figure in org.jhotdraw8.draw.model
Fields in org.jhotdraw8.draw.model with type parameters of type FigureModifier and TypeFieldDescriptionprotected final @Nullable WeakReference<Figure> DrawingModelFigureProperty.figureMethods in org.jhotdraw8.draw.model that return FigureModifier and TypeMethodDescriptionDrawingModelFigureChildrenObservableList.get(int index) default FigureGets the child at the given index from the parent.DrawingModelEvent.getChild()If a child was added or removed, returns the child.DrawingModelEvent.getNode()The figure which was added, removed or of which a property changed.DrawingModelEvent.getParent()If a child was added or removed from a parent, returns the parent.DrawingModelFigureChildrenObservableList.remove(int index) DrawingModel.removeFromParent(Figure parent, int index) Removes the specified child from its parent and fires appropriateDrawingModelEvents.SimpleDrawingModel.removeFromParent(Figure parent, int index) Methods in org.jhotdraw8.draw.model that return types with arguments of type FigureModifier and TypeMethodDescriptionDrawingModel.getChildren(Figure figure) Gets the getChildren of the specified figure.javafx.beans.property.ObjectProperty<Figure> SimpleDrawingModel.rootProperty()Methods in org.jhotdraw8.draw.model with parameters of type FigureModifier and TypeMethodDescriptionvoiddefault voidDrawingModel.addChildTo(Figure child, Figure parent) Adds the specified child to a parent and fires appropriateDrawingModelEvents.voidDrawingModel.disconnect(Figure f) Invokes the disconnect method of the figure and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.disconnect(Figure f) default voidDrawingModel.fireLayoutInvalidated(Figure f) Fires "node invalidated" event for the specified figure.default voidDrawingModel.fireNodeInvalidated(Figure f) Fires "node invalidated" event for the specified figure.default <T> voidDrawingModel.firePropertyValueChanged(Figure f, Key<T> key, @Nullable T oldValue, @Nullable T newValue, boolean wasAdded, boolean wasRemoved) Fires "node invalidated" event for the specified figure.default voidDrawingModel.fireStyleInvalidated(Figure f) Fires "style invalidated" event for the specified figure.default voidDrawingModel.fireTransformInvalidated(Figure f) Fires "node invalidated" event for the specified figure.default <T> @Nullable TDrawingModel.get(Figure figure, MapAccessor<T> key) Gets the specified property from the figure.default FigureGets the child at the given index from the parent.default intDrawingModel.getChildCount(Figure figure) Gets the child count of the specified figure.DrawingModel.getChildren(Figure figure) Gets the getChildren of the specified figure.default <T> TDrawingModel.getNonNull(Figure figure, NonNullMapAccessor<T> key) Gets the specified property from the figure.voidDrawingModel.insertChildAt(Figure child, Figure parent, int index) Adds the specified child to a parent and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.insertChildAt(Figure child, Figure parent, int index) voidDrawingModel.layout(Figure f, RenderContext ctx) Invokes the layout method of the figure and fires appropriate /DrawingModelEvents.voidSimpleDrawingModel.layout(Figure f, RenderContext ctx) static <T> DrawingModelEventDrawingModelEvent.layoutChanged(DrawingModel source, Figure figure) <T> javafx.beans.property.Property<T> DrawingModel.propertyAt(Figure f, Key<T> key) Creates a property for the specified figure and property key.<T> javafx.beans.property.Property<T> SimpleDrawingModel.propertyAt(Figure f, Key<T> key) static <T> DrawingModelEventDrawingModelEvent.propertyValueChanged(DrawingModel source, Figure figure, Key<T> key, T oldValue, T newValue, boolean wasAdded, boolean wasRemoved) <T> @Nullable TRemoves the specified key from the figure.<T> @Nullable TDrawingModel.remove(Figure figure, MapAccessor<T> key) <T> T<T> TSimpleDrawingModel.remove(Figure figure, MapAccessor<T> key) voidDrawingModel.removeFromParent(Figure child) Removes the specified child from its parent and fires appropriateDrawingModelEvents.DrawingModel.removeFromParent(Figure parent, int index) Removes the specified child from its parent and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.removeFromParent(Figure child) SimpleDrawingModel.removeFromParent(Figure parent, int index) voidDrawingModel.reshapeInLocal(Figure f, double x, double y, double width, double height) Attempts to change the local bounds of the figure and fires appropriateDrawingModelEvents.voidDrawingModel.reshapeInLocal(Figure f, javafx.scene.transform.Transform transform) Attempts to change the local bounds of the figure and fires appropriateDrawingModelEvents.voidvoidSimpleDrawingModel.reshapeInLocal(Figure f, double x, double y, double width, double height) voidSimpleDrawingModel.reshapeInLocal(Figure f, javafx.scene.transform.Transform transform) voidvoidDrawingModel.reshapeInParent(Figure f, javafx.scene.transform.Transform transform) Attempts to change the parent bounds of the figure and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.reshapeInParent(Figure f, javafx.scene.transform.Transform transform) <T> @Nullable TDrawingModel.set(Figure figure, MapAccessor<T> key, @Nullable T newValue) Sets the specified property on the figure and fires appropriateDrawingModelEvents.<T> TSimpleDrawingModel.set(Figure figure, MapAccessor<T> key, @Nullable T newValue) <T> TDrawingModel.setNonNull(Figure figure, NonNullMapAccessor<T> key, T newValue) Sets the specified property on the figure and fires appropriateDrawingModelEvents.<T> TSimpleDrawingModel.setNonNull(Figure figure, NonNullMapAccessor<T> key, T newValue) static <T> DrawingModelEventDrawingModelEvent.styleInvalidated(DrawingModel source, Figure figure) static <T> DrawingModelEventDrawingModelEvent.transformChanged(DrawingModel source, Figure figure) voidDrawingModel.transformInLocal(Figure figure, javafx.scene.transform.Transform transform) Invokes "transformInLocal" on the specified figure.voidSimpleDrawingModel.transformInLocal(Figure f, javafx.scene.transform.Transform transform) voidDrawingModel.transformInParent(Figure figure, javafx.scene.transform.Transform transform) Invokes "transformInParent" on the specified figure.voidSimpleDrawingModel.transformInParent(Figure f, javafx.scene.transform.Transform transform) voidDrawingModel.translateInParent(Figure f, CssPoint2D tx) voidSimpleDrawingModel.translateInParent(Figure f, CssPoint2D delta) voidInvokes the updateCss method of the figure and fires appropriateDrawingModelEvents.voidMethod parameters in org.jhotdraw8.draw.model with type arguments of type FigureModifier and TypeMethodDescriptionvoidSimpleDrawingModel.fireTreeModelEvent(TreeModelEvent<Figure> event) protected voidSimpleDrawingModel.onTreeModelEvent(TreeModelEvent<Figure> event) protected voidDrawingModelFigureChildrenObservableList.sourceChanged(javafx.collections.ListChangeListener.Change<? extends Figure> c) Constructors in org.jhotdraw8.draw.model with parameters of type FigureModifierConstructorDescriptionDrawingModelFigureChildrenObservableList(DrawingModel model, Figure parent) Creates a new Transformation list wrapped around the source list.DrawingModelFigureProperty(DrawingModel model, @Nullable Figure figure, @Nullable Key<T> key, boolean allKeys) DrawingModelFigureProperty(DrawingModel model, Figure figure, Key<T> key) -
Uses of Figure in org.jhotdraw8.draw.render
Fields in org.jhotdraw8.draw.render with type parameters of type FigureModifier and TypeFieldDescriptionSimpleDrawingRenderer.figureToNodeMapPrintRenderContext.PAGE_FIGUREThe figure which defines the layout of the current print page.Methods in org.jhotdraw8.draw.render that return types with arguments of type FigureModifier and TypeMethodDescriptionInteractiveDrawingRenderer.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) Finds figures that intersect with the specified point in view coordinates, or that have a distance that is less than the tolerance of the editor.InteractiveDrawingRenderer.findFiguresInside(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) InteractiveDrawingRenderer.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) InteractiveHandleRenderer.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle master) Methods in org.jhotdraw8.draw.render with parameters of type FigureModifier and TypeMethodDescription@Nullable javafx.scene.NodeInteractiveDrawingRenderer.findFigureNode(Figure figure, double vx, double vy) Given a figure and a point in view coordinates, finds the front-most JavaFX Node of the figure that intersects with the point.@Nullable javafx.scene.Node@Nullable javafx.scene.NodeGets the JavaFX node which is used to render the specified figure by thisRenderContext.javafx.scene.Nodejavafx.scene.Nodejavafx.scene.NodeRenders the provided figure into a JavaFX Node.Method parameters in org.jhotdraw8.draw.render with type arguments of type FigureModifier and TypeMethodDescriptionprotected voidInteractiveHandleRenderer.createHandles(Map<Figure, List<Handle>> handles) Creates selection handles and adds them to the provided list.InteractiveDrawingRenderer.findFigures(double vx, double vy, boolean decompose, Predicate<Figure> predicate) Finds figures that intersect with the specified point in view coordinates, or that have a distance that is less than the tolerance of the editor.InteractiveDrawingRenderer.findFiguresInside(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) InteractiveDrawingRenderer.findFiguresIntersecting(double vx, double vy, double vwidth, double vheight, boolean decompose, Predicate<Figure> predicate) InteractiveHandleRenderer.getFiguresWithCompatibleHandle(Collection<Figure> figures, Handle master) voidInteractiveHandleRenderer.setSelectedFigures(javafx.collections.ObservableSet<Figure> selectedFigures) static javafx.scene.NodeSimpleDrawingRenderer.toNode(Drawing external, Collection<Figure> selection, @Nullable Map<Key<?>, Object> renderingHints) -
Uses of Figure in org.jhotdraw8.draw.tool
Classes in org.jhotdraw8.draw.tool with type parameters of type FigureModifier and TypeClassDescriptionclassAbstractCreationTool<F extends Figure>AbstractCreationTool.Fields in org.jhotdraw8.draw.tool declared as FigureModifier and TypeFieldDescriptionprotected @Nullable FAbstractCreationTool.createdFigureThe created figure.Methods in org.jhotdraw8.draw.tool that return FigureModifier and TypeMethodDescriptionprotected FigureImageCreationTool.createFigure()protected @Nullable FigureAbstractCreationTool.getOrCreateParent(DrawingView dv, Figure newFigure) Finds a layer for the specified figure.protected @Nullable FigureConnectionTool.getOrCreateParent(DrawingView dv, Figure newFigure) Finds a layer for the specified figure.Methods in org.jhotdraw8.draw.tool with parameters of type FigureModifier and TypeMethodDescriptionprotected DragTrackerSelectionTool.getDragTracker(Figure f, DrawingView dv) Method to get aDragTrackerwhich handles user interaction for dragging the specified figure.protected @Nullable FigureAbstractCreationTool.getOrCreateParent(DrawingView dv, Figure newFigure) Finds a layer for the specified figure.protected @Nullable FigureConnectionTool.getOrCreateParent(DrawingView dv, Figure newFigure) Finds a layer for the specified figure.protected voidCreationTool.reshapeInLocal(Figure figure, CssPoint2D c1, CssPoint2D c2, DrawingModel dm) protected voidLineCreationTool.reshapeInLocal(Figure figure, CssPoint2D c1, CssPoint2D c2, DrawingModel dm) voidDragTracker.setDraggedFigure(@Nullable Figure f, DrawingView dv) voidSimpleDragTracker.setDraggedFigure(Figure anchor, DrawingView view) Method parameters in org.jhotdraw8.draw.tool with type arguments of type FigureModifier and TypeMethodDescriptionvoidHandleTracker.setHandles(@Nullable Handle handle, Collection<Figure> compatibleFigures) voidSimpleHandleTracker.setHandles(Handle handle, Collection<Figure> compatibleFigures) Constructor parameters in org.jhotdraw8.draw.tool with type arguments of type FigureModifierConstructorDescriptionBezierCreationTool(String name, Resources rsrc, NonNullObjectStyleableKey<BezierPath> key, Supplier<Figure> factory) BezierCreationTool(String name, Resources rsrc, NonNullObjectStyleableKey<BezierPath> key, Supplier<Figure> figureFactory, Supplier<Layer> layerFactory) CreationTool(String name, Resources rsrc, Supplier<? extends Figure> figureFactory, Supplier<Layer> layerFactory) CreationTool(String name, Resources rsrc, Supplier<Figure> factory) ImageCreationTool(String name, Resources rsrc, Supplier<Figure> supplier, Supplier<Layer> layerFactory) LineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> factory) LineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> figureFactory, Supplier<Layer> layerFactory) LineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> figureFactory, Supplier<Layer> layerFactory, MapAccessor<CssPoint2D> p1, MapAccessor<CssPoint2D> p2) LineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> factory, MapAccessor<CssPoint2D> p1, MapAccessor<CssPoint2D> p2) PolyCreationTool(String name, Resources rsrc, Point2DListStyleableKey key, Supplier<Figure> factory) PolyCreationTool(String name, Resources rsrc, Point2DListStyleableKey key, Supplier<Figure> figureFactory, Supplier<Layer> layerFactory)