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 TypeMethodDescriptionDrawingView.findFigure(double vx, double vy) Finds the figure at the given view coordinates.DrawingView.findFigure(double vx, double vy, Predicate<Figure> predicate) Finds the figure at the given view coordinates.DrawingView.findFigure(double vx, double vy, Set<Figure> figures) Finds the figure at the given view coordinates.DrawingView.findFigure(@NonNull javafx.geometry.Point2D pointInView) Finds the figure at the given view coordinates.DrawingView.getActiveParent()Gets the value of theactiveParentproperty.default FigureDrawingView.getClosestFigure(List<Map.Entry<Figure, Double>> result) DrawingView.getSelectionAnchor()DrawingView.getSelectionLead()Methods in org.jhotdraw8.draw that return types with arguments of type FigureModifier and TypeMethodDescriptionDrawingView.activeParentProperty()The active layer of the drawing.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, @NonNull Predicate<Figure> predicate) Finds the figure at the given view coordinates behind the given figure.DrawingView.findFigures(@NonNull javafx.geometry.Point2D pointInView, boolean decompose) Finds the figures at the given view coordinates.SimpleDrawingView.findFigures(double vx, double vy, boolean decompose, @NonNull 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(@NonNull 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(@NonNull 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.AbstractDrawingView.selectedFiguresProperty()The selectedFiguresProperty holds the list of selected figures in the sequence they were selected by the user.DrawingView.selectedFiguresProperty()The selected figures.Methods in org.jhotdraw8.draw with parameters of type FigureModifier and TypeMethodDescription@Nullable javafx.scene.NodeDrawingView.findFigureNode(@NonNull 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(@NonNull 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(@NonNull 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 TypeMethodDescriptionDrawingView.findFigure(double vx, double vy, Predicate<Figure> predicate) Finds the figure at the given view coordinates.DrawingView.findFigure(double vx, double vy, Set<Figure> figures) Finds the figure at the given view coordinates.DrawingView.findFigures(double vx, double vy, boolean decompose, @NonNull Predicate<Figure> predicate) Finds the figure at the given view coordinates behind the given figure.SimpleDrawingView.findFigures(double vx, double vy, boolean decompose, @NonNull 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(@NonNull DrawingView view, @Nullable Figure prototype) Method parameters in org.jhotdraw8.draw.action with type arguments of type FigureModifier and TypeMethodDescriptionstatic voidAddToGroupAction.addToGroup(@NonNull DrawingView view, @NonNull List<Figure> figures) voidBringToFrontAction.bringToFront(@NonNull DrawingView view, @NonNull Collection<Figure> figures) static voidGroupAction.group(@NonNull DrawingView view, @NonNull Collection<Figure> figures, @NonNull Supplier<Figure> groupFactory) static voidGroupAction.group(@NonNull DrawingView view, @NonNull Collection<Figure> figures, @NonNull Supplier<Figure> groupFactory) voidSendBackwardAction.moveDown(@NonNull DrawingView view, @NonNull Collection<Figure> figures) voidBringForwardAction.moveUp(@NonNull DrawingView view, @NonNull Collection<Figure> figures) voidRemoveFromGroupAction.removeFromGroup(@NonNull DrawingView view, @NonNull List<Figure> figures) static voidRemoveTransformationsAction.removeTransformations(@NonNull DrawingView view, @NonNull Collection<Figure> figures) static voidSelectChildrenAction.selectChildren(@NonNull DrawingView view, @NonNull Collection<Figure> figures) voidSendToBackAction.sendToBack(@NonNull DrawingView view, @NonNull Collection<Figure> figures) static voidUngroupAction.ungroup(@NonNull DrawingView view, @NonNull Collection<Figure> figures) Constructor parameters in org.jhotdraw8.draw.action with type arguments of type FigureModifierConstructorDescriptionGroupAction(String id, @NonNull DrawingEditor editor, @Nullable Supplier<Figure> groupFactory) GroupAction(@NonNull 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, @NonNull 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, @NonNull Figure target, @NonNull javafx.geometry.Point2D start, @NonNull javafx.geometry.Point2D end) Clips the start of the provided line at the bounds of the target figure.Connector.getPointAndDerivativeInLocal(@NonNull Figure connection, @NonNull Figure target) Returns a point and derivative on the target figure for the specified connection figure in local coordinates.LocatorConnector.getPointAndDerivativeInLocal(@NonNull Figure connection, @NonNull Figure target) default @NonNull 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, @NonNull Figure target, @NonNull javafx.geometry.Point2D start, @NonNull javafx.geometry.Point2D end) Returns the intersection of the line going from start to end with the target figure.EllipseConnector.intersect(RenderContext ctx, Figure connection, @NonNull Figure target, @NonNull javafx.geometry.Point2D start, @NonNull javafx.geometry.Point2D end) PathConnector.intersect(RenderContext ctx, Figure connection, @NonNull Figure target, @NonNull javafx.geometry.Point2D start, @NonNull javafx.geometry.Point2D end) RectangleConnector.intersect(RenderContext ctx, Figure connection, @NonNull Figure target, @NonNull javafx.geometry.Point2D start, @NonNull 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(@NonNull 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(@NonNull 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(@NonNull 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(@NonNull 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(@NonNull Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull CssPoint2D dir) NullConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull 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(@NonNull Figure f, CssRectangle2D r, CssPoint2D dir) GridConstrainer.translateRectangle(Figure f, @NonNull CssRectangle2D cssr, @NonNull CssPoint2D cssdir) NullConstrainer.translateRectangle(Figure f, @NonNull CssRectangle2D cssr, @NonNull CssPoint2D cssdir) -
Uses of Figure in org.jhotdraw8.draw.css.model
Methods in org.jhotdraw8.draw.css.model that return FigureModifier and TypeMethodDescriptionFigureSelectorModel.getPreviousSibling(@NonNull Figure element) Methods in org.jhotdraw8.draw.css.model with parameters of type FigureModifier and TypeMethodDescriptionbooleanFigureSelectorModel.attributeValueContains(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String substring) booleanFigureSelectorModel.attributeValueContainsWord(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String word) booleanFigureSelectorModel.attributeValueEndsWith(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String substring) booleanFigureSelectorModel.attributeValueEquals(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String requestedValue) booleanFigureSelectorModel.attributeValueStartsWith(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName, @NonNull String substring) FigureSelectorModel.getAccessor(@NonNull Figure element, @Nullable String namespace, String attributeName) FigureSelectorModel.getAttribute(@NonNull Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, @NonNull String attributeName) FigureSelectorModel.getAttributeAsString(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String attributeName) FigureSelectorModel.getAttributeAsString(@NonNull Figure element, @Nullable javafx.css.StyleOrigin origin, @Nullable String namespacePattern, @NonNull String attributeName) FigureSelectorModel.getAttributeNames(@NonNull Figure element) FigureSelectorModel.getComposedAttributeNames(@NonNull Figure element) @Nullable org.jhotdraw8.base.converter.Converter<?> FigureSelectorModel.getConverter(@NonNull Figure element, @Nullable String namespace, String attributeName) FigureSelectorModel.getDecomposedAttributeNames(@NonNull Figure element) FigureSelectorModel.getPreviousSibling(@NonNull Figure element) FigureSelectorModel.getPseudoClasses(@NonNull Figure element) protected @Nullable ReadOnlyStyleableMapAccessor<Object> FigureSelectorModel.getReadableAttributeAccessor(@NonNull Figure element, @Nullable String namespace, @NonNull String attributeName) FigureSelectorModel.getReadOnlyAttributeValueAsString(@NonNull Figure element, @Nullable String namespace, @NonNull String attributeName) FigureSelectorModel.getStyleClasses(@NonNull Figure element) protected Map<QualifiedName, List<WritableStyleableMapAccessor<Object>>> FigureSelectorModel.getWritableMetaMap(@NonNull Figure elem) booleanFigureSelectorModel.hasAttribute(@NonNull Figure element, @Nullable String namespace, @NonNull String attributeName) booleanbooleanFigureSelectorModel.hasPseudoClass(@NonNull Figure element, @NonNull String pseudoClass) booleanFigureSelectorModel.hasStyleClass(@NonNull Figure element, @NonNull String clazz) booleanFigureSelectorModel.hasType(@NonNull Figure element, @Nullable String namespacePattern, @NonNull String type) voidvoidFigureSelectorModel.setAttribute(@NonNull Figure elem, @NonNull javafx.css.StyleOrigin origin, @Nullable String namespace, @NonNull 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 @NonNull NullableObjectKey<Figure> LineConnectingFigure.END_TARGETThe end target.static final @NonNull NullableObjectKey<Figure> LabelConnectionFigure.LABEL_TARGETThe label target.static final @NonNull NullableObjectKey<Figure> LineConnectingFigure.START_TARGETThe start target.Methods in org.jhotdraw8.draw.figure that return FigureModifier and TypeMethodDescriptionFigure.getParent()Gets the value of theparentproperty.Figure.getRoot()Returns the root.Methods in org.jhotdraw8.draw.figure that return types with arguments of type FigureModifier and TypeMethodDescriptionprotected @NonNull StylesheetsManager<Figure> AbstractDrawing.createStyleManager()AbstractCompositeFigure.getChildren()AbstractLeafFigure.getChildren()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 @NonNull ReadOnlySet<Figure> Figure.getLayoutSubjects()Returns all figures which are subject to the layout of this figure.AbstractFigure.getReadOnlyLayoutObservers()Figure.getReadOnlyLayoutObservers()AbstractDrawing.getStyleManager()Drawing.getStyleManager()Gets the style manager of the drawing.Drawing.layoutDependenciesIterable()Returns all figures in topological order according to their layout dependencies.AbstractFigure.parentProperty()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.AbstractLabelFigure.findConnector(@NonNull javafx.geometry.Point2D p, @Nullable Figure prototype, double tolerance) BezierPathFigure.findConnector(@NonNull javafx.geometry.Point2D p, Figure prototype, double tolerance) CombinedPathFigure.findConnector(@NonNull javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) ConnectableFigure.findConnector(double x, double y, @Nullable Figure prototype, double tolerance) Gets a connector for this figure at the given location.ConnectableFigure.findConnector(@NonNull javafx.geometry.Point2D pointInLocal, @Nullable Figure connectingFigure, double tolerance) Gets a connector for this figure at the given location.EllipseFigure.findConnector(@NonNull javafx.geometry.Point2D p, Figure prototype, double tolerance) ImageFigure.findConnector(@NonNull javafx.geometry.Point2D p, Figure prototype, double tolerance) PolygonFigure.findConnector(@NonNull javafx.geometry.Point2D p, Figure prototype, double tolerance) RectangleFigure.findConnector(@NonNull javafx.geometry.Point2D p, Figure prototype, double tolerance) RegionFigure.findConnector(@NonNull javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) TextAreaFigure.findConnector(@NonNull javafx.geometry.Point2D pointInLocal, Figure connectingFigure, double tolerance) TextFigure.findConnector(@NonNull 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(@NonNull Figure newChild) This method returns false for all children.booleanClippingFigure.isSuitableChild(@NonNull Figure newChild) This method returns true for all children.booleanCombinedPathFigure.isSuitableChild(@NonNull Figure newChild) This method returns true for instances of PathIterableFigure.booleanFigure.isSuitableChild(@NonNull Figure newChild) This method returns whether the provided figure is a suitable child for this figure.booleanGroupFigure.isSuitableChild(@NonNull Figure newChild) default booleanLayeredDrawing.isSuitableChild(@NonNull Figure newChild) Only returns true if newChild is aLayer.booleanLayerFigure.isSuitableChild(@NonNull Figure newChild) booleanPageFigure.isSuitableChild(@NonNull Figure newChild) booleanSimpleDrawing.isSuitableChild(@NonNull Figure newChild) booleanAbstractDrawing.isSuitableParent(@NonNull Figure newParent) booleanAbstractLeafFigure.isSuitableParent(@NonNull Figure newParent) booleanClippingFigure.isSuitableParent(@NonNull Figure newParent) This method returns false for all new parents.booleanCombinedPathFigure.isSuitableParent(@NonNull Figure newParent) booleanFigure.isSuitableParent(@NonNull Figure newParent) This method returns whether the provided figure is a suitable parent for this figure.booleanGroupFigure.isSuitableParent(@NonNull Figure newParent) default booleanLayer.isSuitableParent(@NonNull Figure newParent) default booleanPage.isSuitableParent(@NonNull Figure newParent) default booleanSlice.isSuitableParent(@NonNull Figure newParent) booleanSliceFigure.isSuitableParent(@NonNull Figure newParent) default voidFigure.removeChild(Figure child) Removes a child from the figure.voidAbstractFigure.removeLayoutSubject(Figure connectedFigure) This implementation is empty.voidAbstractLabelConnectionFigure.removeLayoutSubject(@NonNull 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 @NonNull []PolylineFigure.toPointArray(@NonNull Figure f, @NonNull NonNullMapAccessor<? extends ImmutableList<javafx.geometry.Point2D>> key) Method parameters in org.jhotdraw8.draw.figure with type arguments of type FigureModifier and TypeMethodDescriptionstatic @NonNull javafx.geometry.BoundsFigure.bounds(@NonNull Collection<? extends Figure> selection) Computes the union of the bounds of the provided figures in world coordinates.static @NonNull javafx.geometry.BoundsFigures.getBoundsInWorld(Iterable<? extends Figure> figures) static @NonNull javafx.geometry.BoundsFigures.getCenterBounds(@NonNull Iterable<? extends Figure> figures) booleanAbstractLabelConnectionFigure.isGroupReshapeableWith(@NonNull Set<Figure> others) default booleanFigure.isGroupReshapeableWith(@NonNull Set<Figure> others) Whether the figure can be reshaped as a group together with other figures.static @Nullable javafx.geometry.BoundsFigure.visualBounds(@NonNull 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(@NonNull Figure source, @NonNull 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 FigureFields in org.jhotdraw8.draw.handle with type parameters of type FigureModifier and TypeFieldDescriptionprotected final @NonNull 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, @NonNull Collection<Handle> handles) Creates handles for each corner of a figure and adds them to the provided collection.static voidResizeHandleKit.addEdgeResizeHandles(Figure f, @NonNull 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, @NonNull Collection<Handle> handles) Fills the given collection with handles at each the north, south, east, and west of the figure.protected voidMoveHandle.doTranslateFigure(@NonNull Figure f, @NonNull CssPoint2D oldPoint, @NonNull CssPoint2D newPoint, @Nullable DrawingModel model) Creates a handle for the specified figure.Creates a handle for the specified figure.Creates a handle for the specified figure.Creates a handle for the specified figure.Creates a handle for the specified figure.Creates a handle for the specified figure.Creates a handle for the specified figure.static voidBezierNodeMoveHandle.translateFigure(@NonNull Figure f, @NonNull javafx.geometry.Point2D oldPoint, @NonNull javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position ofCollection a point.static voidMoveHandle.translateFigure(@NonNull Figure f, @NonNull javafx.geometry.Point2D oldPoint, @NonNull javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position of a point.static voidMoveHandle.translateFigure(@NonNull Figure f, @NonNull CssPoint2D oldPoint, @NonNull CssPoint2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position of a point.static voidPolyPointMoveHandle.translateFigure(@NonNull Figure f, @NonNull javafx.geometry.Point2D oldPoint, @NonNull javafx.geometry.Point2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position ofCollection a point.Creates a handle for the specified figure.Constructors in org.jhotdraw8.draw.handle with parameters of type FigureModifierConstructorDescriptionAbstractBezierNodeHandleAction(@NonNull String id, @NonNull Figure owner, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex, @NonNull DrawingView view) AbstractHandle(@NonNull Figure owner) AnchorOutlineHandle(Figure figure) BezierControlPointEditHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex, int controlPointMask) BezierNodeEditHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex) BezierNodeHandleIncomingAndOutgoingTangentAction(@NonNull Figure owner, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex, @NonNull DrawingView view) BezierNodeHandleIncomingTangentAction(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> nodeListKey, int nodeIndex, @NonNull DrawingView model) BezierNodeHandleNoTangentsAction(@NonNull Figure owner, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex, @NonNull DrawingView view) BezierNodeHandleOutgoingTangentAction(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex, @NonNull DrawingView view) BezierNodeMoveHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int pointIndex) BezierNodeNonMovableEditHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int nodeIndex) BezierNodeTangentHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pathKey, int pointIndex) BezierPathEditHandle(Figure figure, MapAccessor<BezierPath> pointKey) BezierPathOutlineHandle(@NonNull Figure figure, @NonNull MapAccessor<BezierPath> pointKey, boolean selectable) BoundsInLocalOutlineHandle(Figure figure) BoundsInParentOutlineHandle(Figure figure) ConnectorAndConnectedFigure(@NonNull Connector connector, @NonNull 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 @NonNull 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 @NonNull 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.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) StyleAttributesInspector.get(@NonNull Figure f, @NonNull WritableStyleableMapAccessor<Object> finalSelectedAccessor) protected @Nullable WritableStyleableMapAccessor<?> StyleAttributesInspector.getAccessor(SelectorModel<Figure> selectorModel, @NonNull Figure f, String propertyNamespace, String propertyName) protected @Nullable org.jhotdraw8.base.converter.Converter<?> StyleAttributesInspector.getConverter(SelectorModel<Figure> selectorModel, @NonNull Figure f, String namespace, String name) protected voidStyleAttributesInspector.remove(@NonNull Figure f, WritableStyleableMapAccessor<Object> finalSelectedAccessor) protected voidStyleAttributesInspector.set(@NonNull 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, @NonNull Figure f, String propertyNamespace, String propertyName) protected @Nullable org.jhotdraw8.base.converter.Converter<?> StyleAttributesInspector.getConverter(SelectorModel<Figure> selectorModel, @NonNull 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.InputFormat.read(@NonNull InputStream in, Drawing drawing, URI documentHome, @NonNull WorkState<Void> workState) Reads figures from an input stream and adds them to the specified drawing.Reads a figure from an URIReads a figure from a file.SimpleXmlReader.read(@NonNull InputStream in, @Nullable Drawing drawing, @Nullable URI documentHome, @NonNull WorkState<Void> workState) SimpleXmlReader.read(@NonNull Reader in, @Nullable Drawing drawing, @Nullable URI documentHome, @NonNull 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 TypeMethodDescription@NonNull Set<MapAccessor<?>> AbstractFigureFactory.figureAttributeKeys(@NonNull Figure f) @NonNull Set<MapAccessor<?>> FigureFactory.figureAttributeKeys(Figure f) Returns all keys for the specified figure which should be converted into element attributes.@NonNull Set<MapAccessor<?>> AbstractFigureFactory.figureNodeListKeys(@NonNull Figure f) @NonNull Set<MapAccessor<?>> FigureFactory.figureNodeListKeys(Figure f) Returns all keys for the specified figure which should be converted into a node list.AbstractFigureFactory.getAttributeNameByKey(@NonNull Figure f, MapAccessor<?> key) FigureFactory.getAttributeNameByKey(Figure f, MapAccessor<?> key) Maps a key to a XML attribute name.<T> TAbstractFigureFactory.getDefaultValue(@NonNull Figure f, @NonNull MapAccessor<T> key) <T> @Nullable TFigureFactory.getDefaultValue(Figure f, MapAccessor<T> key) Returns the default for the key.AbstractFigureFactory.getElementNameByFigure(@NonNull Figure f) FigureFactory.getElementNameByFigure(Figure f) Maps a figure to an XML element name.AbstractFigureFactory.getElementNameByKey(@NonNull Figure f, MapAccessor<?> key) FigureFactory.getElementNameByKey(Figure f, MapAccessor<?> key) Maps a key to a XML element name.AbstractFigureFactory.getKeyByAttributeName(@NonNull Figure f, String attributeName) FigureFactory.getKeyByAttributeName(Figure f, String name) Maps an XML attribute name to a key.MapAccessor<?> AbstractFigureFactory.getKeyByElementName(@NonNull Figure f, String elementName) MapAccessor<?> FigureFactory.getKeyByElementName(Figure f, String name) Maps an XML element name to a key.<T> booleanAbstractFigureFactory.isDefaultValue(@NonNull Figure f, @NonNull MapAccessor<T> key, @Nullable T value) default <T> booleanFigureFactory.isDefaultValue(Figure f, @NonNull 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(@NonNull XMLStreamWriter w, @NonNull Figure figure) protected voidSimpleXmlWriter.writeNodeRecursively(@NonNull XMLStreamWriter w, @NonNull 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, @NonNull Iterable<MapAccessor<?>> keys) Adds the provided keys to the figure.voidAbstractFigureFactory.addFigureKeysAndNames(Class<? extends Figure> f, @NonNull Collection<MapAccessor<?>> keys) voidAbstractFigureFactory.addFigureKeysAndNames(String figureName, @NonNull Class<? extends Figure> f) voidAbstractFigureFactory.addFigureKeysAndNames(String figureName, @NonNull Class<? extends Figure> f, @NonNull Iterable<MapAccessor<?>> keys) voidAbstractFigureFactory.addKey(Class<? extends Figure> figure, String name, MapAccessor<?> key) Adds the provided mapping of XML attribute names from/toMapAccessors.voidAbstractFigureFactory.addKeys(Class<? extends Figure> f, @NonNull HashMap<String, MapAccessor<?>> keys) Adds 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, @NonNull Drawing internal, @NonNull Collection<Figure> selection) voidBitmapExportOutputFormat.write(@NonNull Map<javafx.scene.input.DataFormat, Object> out, @NonNull Drawing drawing, @NonNull Collection<Figure> selection) voidSimpleXmlWriter.write(@NonNull Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) protected voidSimpleXmlWriter.writeClipping(@NonNull XMLStreamWriter w, @NonNull Drawing internal, @NonNull Collection<Figure> selection, @Nullable URI documentHome) -
Uses of Figure in org.jhotdraw8.draw.locator
Methods in org.jhotdraw8.draw.locator with parameters of type Figure -
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) Gets 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(@NonNull Figure parent, int index) Methods in org.jhotdraw8.draw.model that return types with arguments of type FigureModifier and TypeMethodDescriptionDrawingModel.getChildren(@NonNull Figure figure) Gets the getChildren of the specified figure.SimpleDrawingModel.rootProperty()Methods in org.jhotdraw8.draw.model with parameters of type FigureModifier and TypeMethodDescriptionvoiddefault voidDrawingModel.addChildTo(@NonNull Figure child, @NonNull 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(@NonNull Figure f) default voidDrawingModel.fireLayoutInvalidated(Figure f) Fires "node invalidated" event for the specified figure.default voidDrawingModel.fireNodeInvalidated(@NonNull 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(@NonNull Figure figure, @NonNull MapAccessor<T> key) Gets the specified property from the figure.Gets the child at the given index from the parent.default intDrawingModel.getChildCount(@NonNull Figure figure) Gets the child count of the specified figure.DrawingModel.getChildren(@NonNull Figure figure) Gets the getChildren of the specified figure.default <T> @NonNull TDrawingModel.getNonNull(@NonNull Figure figure, @NonNull NonNullMapAccessor<T> key) Gets the specified property from the figure.voidDrawingModel.insertChildAt(@NonNull Figure child, @NonNull Figure parent, int index) Adds the specified child to a parent and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.insertChildAt(@NonNull Figure child, @NonNull Figure parent, int index) voidDrawingModel.layout(Figure f, RenderContext ctx) Invokes the layout method of the figure and fires appropriate /DrawingModelEvents.voidSimpleDrawingModel.layout(@NonNull Figure f, @NonNull RenderContext ctx) static <T> @NonNull DrawingModelEventDrawingModelEvent.layoutChanged(@NonNull DrawingModel source, Figure figure) <T> @NonNull javafx.beans.property.Property<T> DrawingModel.propertyAt(Figure f, Key<T> key) Creates a property for the specified figure and property key.<T> @NonNull javafx.beans.property.Property<T> SimpleDrawingModel.propertyAt(Figure f, Key<T> key) static <T> @NonNull DrawingModelEventDrawingModelEvent.propertyValueChanged(@NonNull DrawingModel source, Figure figure, Key<T> key, T oldValue, T newValue, boolean wasAdded, boolean wasRemoved) <T> @Nullable TDrawingModel.remove(@NonNull Figure figure, MapAccessor<T> key) <T> @Nullable TRemoves the specified key from the figure.<T> T<T> TSimpleDrawingModel.remove(@NonNull Figure figure, @NonNull MapAccessor<T> key) voidDrawingModel.removeFromParent(@NonNull 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(@NonNull Figure child) SimpleDrawingModel.removeFromParent(@NonNull 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(@NonNull Figure f, double x, double y, double width, double height) voidSimpleDrawingModel.reshapeInLocal(@NonNull Figure f, javafx.scene.transform.Transform transform) voidSimpleDrawingModel.reshapeInLocal(@NonNull Figure f, @NonNull CssSize x, @NonNull CssSize y, @NonNull CssSize width, @NonNull CssSize height) voidDrawingModel.reshapeInParent(Figure f, javafx.scene.transform.Transform transform) Attempts to change the parent bounds of the figure and fires appropriateDrawingModelEvents.voidSimpleDrawingModel.reshapeInParent(@NonNull Figure f, javafx.scene.transform.Transform transform) <T> @Nullable TDrawingModel.set(@NonNull Figure figure, MapAccessor<T> key, @Nullable T newValue) Sets the specified property on the figure and fires appropriateDrawingModelEvents.<T> T<T> @NonNull TDrawingModel.setNonNull(@NonNull Figure figure, @NonNull NonNullMapAccessor<T> key, @NonNull T newValue) Sets the specified property on the figure and fires appropriateDrawingModelEvents.<T> @NonNull TSimpleDrawingModel.setNonNull(@NonNull Figure figure, @NonNull NonNullMapAccessor<T> key, @NonNull T newValue) static <T> @NonNull DrawingModelEventDrawingModelEvent.styleInvalidated(@NonNull DrawingModel source, Figure figure) static <T> @NonNull DrawingModelEventDrawingModelEvent.transformChanged(@NonNull DrawingModel source, Figure figure) voidDrawingModel.transformInLocal(Figure figure, javafx.scene.transform.Transform transform) Invokes "transformInLocal" on the specified figure.voidSimpleDrawingModel.transformInLocal(@NonNull Figure f, javafx.scene.transform.Transform transform) voidDrawingModel.transformInParent(Figure figure, javafx.scene.transform.Transform transform) Invokes "transformInParent" on the specified figure.voidSimpleDrawingModel.transformInParent(@NonNull Figure f, javafx.scene.transform.Transform transform) voidDrawingModel.translateInParent(Figure f, CssPoint2D tx) voidSimpleDrawingModel.translateInParent(@NonNull 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(@NonNull TreeModelEvent<Figure> event) protected voidSimpleDrawingModel.onTreeModelEvent(@NonNull TreeModelEvent<Figure> event) protected voidDrawingModelFigureChildrenObservableList.sourceChanged(javafx.collections.ListChangeListener.Change<? extends Figure> c) Constructors in org.jhotdraw8.draw.model with parameters of type FigureModifierConstructorDescriptionDrawingModelFigureChildrenObservableList(@NonNull DrawingModel model, @NonNull Figure parent) Creates a new Transformation list wrapped around the source list.DrawingModelFigureProperty(@NonNull DrawingModel model, @Nullable Figure figure, @Nullable Key<T> key, boolean allKeys) DrawingModelFigureProperty(@NonNull 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, @NonNull 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(@NonNull Collection<Figure> figures, Handle master) Methods in org.jhotdraw8.draw.render with parameters of type FigureModifier and TypeMethodDescription@Nullable javafx.scene.NodeInteractiveDrawingRenderer.findFigureNode(@NonNull 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 voidCreates selection handles and adds them to the provided list.InteractiveDrawingRenderer.findFigures(double vx, double vy, boolean decompose, @NonNull 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(@NonNull Collection<Figure> figures, Handle master) voidInteractiveHandleRenderer.setSelectedFigures(@NonNull javafx.collections.ObservableSet<Figure> selectedFigures) static javafx.scene.NodeSimpleDrawingRenderer.toNode(@NonNull Drawing external, @NonNull 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 FigureMethods in org.jhotdraw8.draw.tool that return FigureModifier and TypeMethodDescriptionprotected FigureImageCreationTool.createFigure()AbstractCreationTool.getOrCreateParent(@NonNull DrawingView dv, Figure newFigure) Finds a layer for the specified figure.ConnectionTool.getOrCreateParent(@NonNull DrawingView dv, @NonNull 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.AbstractCreationTool.getOrCreateParent(@NonNull DrawingView dv, Figure newFigure) Finds a layer for the specified figure.ConnectionTool.getOrCreateParent(@NonNull DrawingView dv, @NonNull Figure newFigure) Finds a layer for the specified figure.protected voidCreationTool.reshapeInLocal(Figure figure, @NonNull CssPoint2D c1, @NonNull CssPoint2D c2, @NonNull DrawingModel dm) protected voidLineCreationTool.reshapeInLocal(@NonNull Figure figure, @NonNull CssPoint2D c1, @NonNull CssPoint2D c2, @NonNull DrawingModel dm) voidDragTracker.setDraggedFigure(@Nullable Figure f, DrawingView dv) voidSimpleDragTracker.setDraggedFigure(Figure anchor, @NonNull 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)