Uses of Interface
com.mxgraph.canvas.mxICanvas
-
Packages that use mxICanvas Package Description com.mxgraph.canvas This package contains various implementations for painting a graph using different technologies, such as Graphics2D, HTML, SVG or VML.com.mxgraph.reader This package contains the classes required to turn an encoded mxGraphView into an image using SAX and without having to create a graph model.com.mxgraph.swing This package contains the main component for JFC/Swing, namely the graph component and the outline component.com.mxgraph.swing.view 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.com.mxgraph.util This package provides utility classes such as mxConstants, mxUtils, mxPoint and mxRectangle as well as all classes for custom events and the undo history.com.mxgraph.view 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 mxICanvas Modifier and Type Class Description classmxBasicCanvasclassmxGraphics2DCanvasAn implementation of a canvas that uses Graphics2D for painting.classmxHtmlCanvasAn implementation of a canvas that uses HTML for painting.classmxImageCanvasAn implementation of a canvas that uses Graphics2D for painting.classmxSvgCanvasAn implementation of a canvas that uses SVG for painting.classmxVmlCanvasAn implementation of a canvas that uses VML for painting. -
Uses of mxICanvas in com.mxgraph.reader
Fields in com.mxgraph.reader declared as mxICanvas Modifier and Type Field Description protected mxICanvasmxGraphViewReader. canvasHolds the canvas to be used for rendering the graph.Methods in com.mxgraph.reader that return mxICanvas Modifier and Type Method Description mxICanvasmxGraphViewImageReader. createCanvas(java.util.Map<java.lang.String,java.lang.Object> attrs)abstract mxICanvasmxGraphViewReader. createCanvas(java.util.Map<java.lang.String,java.lang.Object> attrs)Returns the canvas to be used for rendering.mxICanvasmxGraphViewReader. 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 Modifier and Type Method Description protected voidmxGraphComponent.mxGraphControl. cellDrawn(mxICanvas canvas, mxCellState state)voidmxGraphComponent.mxGraphControl. drawCell(mxICanvas canvas, java.lang.Object cell)Draws the given cell onto the specified canvas. -
Uses of mxICanvas in com.mxgraph.swing.view
Classes in com.mxgraph.swing.view that implement mxICanvas Modifier and Type Class Description classmxInteractiveCanvas -
Uses of mxICanvas in com.mxgraph.util
Methods in com.mxgraph.util that return mxICanvas Modifier and Type Method Description abstract mxICanvasmxCellRenderer.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 mxICanvasmxCellRenderer. drawCells(mxGraph graph, java.lang.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 mxICanvas Modifier and Type Method Description protected voidmxGraph. cellDrawn(mxICanvas canvas, mxCellState state, java.lang.Object element, java.lang.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.voidmxGraph. drawCell(mxICanvas canvas, java.lang.Object cell)Draws the given cell and its descendants onto the specified canvas.voidmxGraph. drawGraph(mxICanvas canvas)Draws the graph onto the given canvas.voidmxGraph. drawState(mxICanvas canvas, mxCellState state, boolean drawLabel)Draws the cell state with the given label onto the canvas.
-