Uses of Interface
org.jhotdraw8.draw.figure.Drawing
Packages that use Drawing
Package
Description
Defines a programming model for structured drawing editors and provides default
implementations.
-
Uses of Drawing in org.jhotdraw8.draw
Methods in org.jhotdraw8.draw that return DrawingModifier and TypeMethodDescriptionDrawingView.getDrawing()Gets the value of thedrawingproperty.Methods in org.jhotdraw8.draw that return types with arguments of type DrawingModifier and TypeMethodDescriptionDrawingView.drawingProperty()The drawing model.SimpleDrawingView.drawingProperty()Methods in org.jhotdraw8.draw with parameters of type DrawingModifier and TypeMethodDescriptiondefault voidDrawingView.setDrawing(@Nullable Drawing newValue) Sets the value of thedrawingproperty. -
Uses of Drawing in org.jhotdraw8.draw.figure
Subinterfaces of Drawing in org.jhotdraw8.draw.figureModifier and TypeInterfaceDescriptioninterfaceA layered drawing only acceptsLayers as children.interfaceClasses in org.jhotdraw8.draw.figure that implement DrawingModifier and TypeClassDescriptionclassDrawingFigure.classAbstract drawing that supportsViewBoxableDrawing.classA simple implementation ofDrawing.classMethods in org.jhotdraw8.draw.figure that return DrawingModifier and TypeMethodDescriptionAbstractFigure.getDrawing()Figure.getDrawing()Returns the ancestor Drawing.Methods in org.jhotdraw8.draw.figure with parameters of type DrawingModifier and TypeMethodDescriptionfinal voidAbstractFigure.addedToDrawing(@NonNull Drawing drawing) This method callsAbstractFigure.doAddedToDrawing(org.jhotdraw8.draw.figure.Drawing).default voidFigure.addedToDrawing(@NonNull Drawing drawing) Invoked byDrawingModelwhen the figure was added to a drawing.protected voidAbstractFigure.doAddedToDrawing(@NonNull Drawing drawing) This method is called byFigure.addedToDrawing(org.jhotdraw8.draw.figure.Drawing).voidAbstractLabelConnectionFigure.doAddedToDrawing(@NonNull Drawing drawing) voidAbstractLineConnectionFigure.doAddedToDrawing(@NonNull Drawing drawing) protected voidAbstractFigure.doRemovedFromDrawing(Drawing drawing) This method is called byAbstractFigure.removedFromDrawing(org.jhotdraw8.draw.figure.Drawing).protected voidAbstractLabelConnectionFigure.doRemovedFromDrawing(@NonNull Drawing drawing) protected voidAbstractLineConnectionFigure.doRemovedFromDrawing(@NonNull Drawing drawing) final voidAbstractFigure.removedFromDrawing(Drawing drawing) This method callsAbstractFigure.doAddedToDrawing(org.jhotdraw8.draw.figure.Drawing).default voidFigure.removedFromDrawing(Drawing drawing) Invoked byDrawingModelwhen the figure is removed from a drawing. -
Uses of Drawing in org.jhotdraw8.draw.input
Methods in org.jhotdraw8.draw.input with parameters of type DrawingModifier 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) default voidWrites a Drawing into a clipboardvoidClipboardOutputFormat.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 Drawing in org.jhotdraw8.draw.inspector
Fields in org.jhotdraw8.draw.inspector declared as DrawingMethods in org.jhotdraw8.draw.inspector that return DrawingModifier and TypeMethodDescriptionprotected DrawingAbstractDrawingInspector.getDrawing()AbstractSelectionInspector.getDrawing()StyleAttributesInspector.getDrawing()Methods in org.jhotdraw8.draw.inspector with parameters of type DrawingModifier and TypeMethodDescriptionprotected abstract voidAbstractDrawingInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) Must be implemented by subclasses.protected voidDrawingInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) protected voidLayersInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) protected voidStylesheetsInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) Method parameters in org.jhotdraw8.draw.inspector with type arguments of type DrawingModifier and TypeMethodDescriptionprotected abstract voidAbstractDrawingInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) Must be implemented by subclasses.protected voidDrawingInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) protected voidLayersInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) protected voidStylesheetsInspector.onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) -
Uses of Drawing in org.jhotdraw8.draw.io
Methods in org.jhotdraw8.draw.io that return DrawingModifier and TypeMethodDescriptiondefault DrawingFigureFactory.fromExternalDrawing(Drawing external) Creates an internal representation of the drawing.default DrawingFigureFactory.toExternalDrawing(Drawing internal) Creates an external representation of the drawing.Methods in org.jhotdraw8.draw.io with parameters of type DrawingModifier and TypeMethodDescriptiondefault DrawingFigureFactory.fromExternalDrawing(Drawing external) Creates an internal representation of the drawing.voidInputFormat.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) SimpleXmlReader.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) SimpleXmlWriter.toDocument(@Nullable URI documentHome, @NonNull Drawing internal) SimpleXmlWriter.toDocument(@Nullable URI documentHome, @NonNull Drawing internal, @NonNull Collection<Figure> selection) default DrawingFigureFactory.toExternalDrawing(Drawing internal) Creates an external representation of the drawing.voidBitmapExportOutputFormat.write(@NonNull OutputStream out, @Nullable URI documentHome, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) voidBitmapExportOutputFormat.write(@NonNull Path file, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) voidBitmapExportOutputFormat.write(@NonNull Map<javafx.scene.input.DataFormat, Object> out, @NonNull Drawing drawing, @NonNull Collection<Figure> selection) voidOutputFormat.write(@NonNull OutputStream out, @Nullable URI documentHome, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) Writes a Drawing into an output stream.default voidWrites a Drawing into the resource identified by the given URI.default voidOutputFormat.write(@NonNull Path file, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) Writes the drawing to the specified file.voidSimpleXmlWriter.write(@NonNull OutputStream out, @Nullable URI documentHome, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) protected voidSimpleXmlWriter.write(@Nullable URI documentHome, @NonNull Writer out, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) voidSimpleXmlWriter.write(@NonNull Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) voidXmlEncoderOutputFormat.write(@NonNull OutputStream out, @Nullable URI documentHome, @NonNull Drawing drawing, @NonNull WorkState<Void> workState) protected voidSimpleXmlWriter.writeClipping(@NonNull XMLStreamWriter w, @NonNull Drawing internal, @NonNull Collection<Figure> selection, @Nullable URI documentHome) protected voidSimpleXmlWriter.writeDocument(@NonNull XMLStreamWriter w, @Nullable URI documentHome, @NonNull Drawing internal) protected voidAbstractExportOutputFormat.writePages(@Nullable Path dir, String basename, @NonNull Drawing drawing) protected voidAbstractExportOutputFormat.writePages(@Nullable Path dir, String basename, @NonNull Drawing drawing, @NonNull List<Page> pages, @NonNull Map<Key<?>, Object> hints) Writes all pages of the drawing.protected voidSimpleXmlWriter.writeProcessingInstructions(@NonNull XMLStreamWriter w, @NonNull Drawing external) protected voidAbstractExportOutputFormat.writeSlices(@Nullable Path dir, @NonNull Drawing drawing) -
Uses of Drawing in org.jhotdraw8.draw.model
Methods in org.jhotdraw8.draw.model that return DrawingModifier and TypeMethodDescriptiondefault DrawingDrawingModel.getDrawing()Gets the root of the tree.DrawingModelEvent.getDrawing()If a child was added or removed from a drawing, returns the drawing.Methods in org.jhotdraw8.draw.model that return types with arguments of type DrawingModifier and TypeMethodDescriptionDrawingModel.drawingProperty()The root of the drawing model.SimpleDrawingModel.drawingProperty()Methods in org.jhotdraw8.draw.model with parameters of type DrawingModifier and TypeMethodDescriptiondefault voidDrawingModel.setDrawing(Drawing root) Sets the root of the tree and fires appropriateDrawingModelEvents. -
Uses of Drawing in org.jhotdraw8.draw.render
Methods in org.jhotdraw8.draw.render that return DrawingMethods in org.jhotdraw8.draw.render with parameters of type Drawing