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 TypeMethodDescriptiondefault @Nullable DrawingDrawingView.getDrawing()Gets the value of thedrawingproperty.Methods in org.jhotdraw8.draw that return types with arguments of type DrawingModifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyObjectProperty<Drawing> DrawingView.drawingProperty()The drawing model.javafx.beans.property.ReadOnlyObjectProperty<Drawing> 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 TypeMethodDescriptionfinal @Nullable DrawingAbstractFigure.getDrawing()default @Nullable DrawingFigure.getDrawing()Returns the ancestor Drawing.Methods in org.jhotdraw8.draw.figure with parameters of type DrawingModifier and TypeMethodDescriptionfinal voidAbstractFigure.addedToDrawing(Drawing drawing) This method callsAbstractFigure.doAddedToDrawing(org.jhotdraw8.draw.figure.Drawing).default voidFigure.addedToDrawing(Drawing drawing) Invoked byDrawingModelwhen the figure was added to a drawing.protected voidAbstractFigure.doAddedToDrawing(Drawing drawing) This method is called byFigure.addedToDrawing(org.jhotdraw8.draw.figure.Drawing).voidAbstractLabelConnectionFigure.doAddedToDrawing(Drawing drawing) voidAbstractLineConnectionFigure.doAddedToDrawing(Drawing drawing) protected voidAbstractFigure.doRemovedFromDrawing(Drawing drawing) This method is called byAbstractFigure.removedFromDrawing(org.jhotdraw8.draw.figure.Drawing).protected voidAbstractLabelConnectionFigure.doRemovedFromDrawing(Drawing drawing) protected voidAbstractLineConnectionFigure.doRemovedFromDrawing(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()protected @Nullable DrawingAbstractSelectionInspector.getDrawing()protected @Nullable DrawingStyleAttributesInspector.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.voidReads 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) SimpleXmlReader.read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) SimpleXmlWriter.toDocument(@Nullable URI documentHome, Drawing internal) SimpleXmlWriter.toDocument(@Nullable URI documentHome, Drawing internal, Collection<Figure> selection) default DrawingFigureFactory.toExternalDrawing(Drawing internal) Creates an external representation of the drawing.voidBitmapExportOutputFormat.write(OutputStream out, @Nullable URI documentHome, Drawing drawing, WorkState<Void> workState) voidvoidBitmapExportOutputFormat.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) voidOutputFormat.write(OutputStream out, @Nullable URI documentHome, Drawing drawing, WorkState<Void> workState) Writes a Drawing into an output stream.default voidWrites a Drawing into the resource identified by the given URI.default voidWrites the drawing to the specified file.voidSimpleXmlWriter.write(OutputStream out, @Nullable URI documentHome, Drawing drawing, WorkState<Void> workState) protected voidSimpleXmlWriter.write(@Nullable URI documentHome, Writer out, Drawing drawing, WorkState<Void> workState) voidSimpleXmlWriter.write(Map<javafx.scene.input.DataFormat, Object> out, Drawing drawing, Collection<Figure> selection) voidXmlEncoderOutputFormat.write(OutputStream out, @Nullable URI documentHome, Drawing drawing, WorkState<Void> workState) protected voidSimpleXmlWriter.writeClipping(XMLStreamWriter w, Drawing internal, Collection<Figure> selection, @Nullable URI documentHome) protected voidSimpleXmlWriter.writeDocument(XMLStreamWriter w, @Nullable URI documentHome, Drawing internal) protected voidAbstractExportOutputFormat.writePages(@Nullable Path dir, String basename, Drawing drawing) protected voidAbstractExportOutputFormat.writePages(@Nullable Path dir, String basename, Drawing drawing, List<Page> pages, Map<Key<?>, Object> hints) Writes all pages of the drawing.protected voidSimpleXmlWriter.writeProcessingInstructions(XMLStreamWriter w, Drawing external) protected voidAbstractExportOutputFormat.writeSlices(@Nullable Path dir, 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 TypeMethodDescriptionjavafx.beans.property.ObjectProperty<Drawing> DrawingModel.drawingProperty()The root of the drawing model.javafx.beans.property.ObjectProperty<Drawing> 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