Uses of Interface
com.mxgraph.canvas.mxICanvas
Packages that use mxICanvas
Package
Description
This package contains various implementations for painting a graph using
different technologies, such as Graphics2D, HTML, SVG or VML.
This package contains the classes required to turn an encoded mxGraphView
into an image using SAX and without having to create a graph model.
This package contains the main component for JFC/Swing, namely the graph
component and the outline component.
This package contains all classes required for interaction, namely the
mxCellEditor used for in-place editing and the mxInteractiveCanvas, which
defines the requirements for a canvas that supports hit-detection on shapes.
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
This package implements the graph component, represented by the mxGraph
class.
-
Uses of mxICanvas in com.mxgraph.canvas
Classes in com.mxgraph.canvas that implement mxICanvasModifier and TypeClassDescriptionclass
class
An implementation of a canvas that uses Graphics2D for painting.class
An implementation of a canvas that uses HTML for painting.class
An implementation of a canvas that uses Graphics2D for painting.class
An implementation of a canvas that uses SVG for painting.class
An implementation of a canvas that uses VML for painting. -
Uses of mxICanvas in com.mxgraph.reader
Fields in com.mxgraph.reader declared as mxICanvasModifier and TypeFieldDescriptionprotected mxICanvas
mxGraphViewReader.canvas
Holds the canvas to be used for rendering the graph.Methods in com.mxgraph.reader that return mxICanvasModifier and TypeMethodDescriptionmxGraphViewImageReader.createCanvas
(Map<String, Object> attrs) abstract mxICanvas
mxGraphViewReader.createCanvas
(Map<String, Object> attrs) Returns the canvas to be used for rendering.mxGraphViewReader.getCanvas()
Returns the canvas that is used for rendering the graph. -
Uses of mxICanvas in com.mxgraph.swing
Methods in com.mxgraph.swing with parameters of type mxICanvas -
Uses of mxICanvas in com.mxgraph.swing.view
Classes in com.mxgraph.swing.view that implement mxICanvas -
Uses of mxICanvas in com.mxgraph.util
Methods in com.mxgraph.util that return mxICanvasModifier and TypeMethodDescriptionabstract mxICanvas
mxCellRenderer.CanvasFactory.createCanvas
(int width, int height) Separates the creation of the canvas from its initialization, when the size of the required graphics buffer / document / container is known.static mxICanvas
mxCellRenderer.drawCells
(mxGraph graph, Object[] cells, double scale, mxRectangle clip, mxCellRenderer.CanvasFactory factory) Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. -
Uses of mxICanvas in com.mxgraph.view
Methods in com.mxgraph.view with parameters of type mxICanvasModifier and TypeMethodDescriptionprotected void
mxGraph.cellDrawn
(mxICanvas canvas, mxCellState state, Object element, Object labelElement) Called when a cell has been painted as the specified object, typically a DOM node that represents the given cell graphically in a document.void
Draws the given cell and its descendants onto the specified canvas.void
Draws the graph onto the given canvas.void
mxGraph.drawState
(mxICanvas canvas, mxCellState state, boolean drawLabel) Draws the cell state with the given label onto the canvas.