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.
|
Modifier and Type | Class and Description |
---|---|
class |
mxBasicCanvas |
class |
mxGraphics2DCanvas
An implementation of a canvas that uses Graphics2D for painting.
|
class |
mxHtmlCanvas
An implementation of a canvas that uses HTML for painting.
|
class |
mxImageCanvas
An implementation of a canvas that uses Graphics2D for painting.
|
class |
mxSvgCanvas
An implementation of a canvas that uses SVG for painting.
|
class |
mxVmlCanvas
An implementation of a canvas that uses VML for painting.
|
Modifier and Type | Field and Description |
---|---|
protected mxICanvas |
mxGraphViewReader.canvas
Holds the canvas to be used for rendering the graph.
|
Modifier and Type | Method and Description |
---|---|
abstract mxICanvas |
mxGraphViewReader.createCanvas(Map<String,Object> attrs)
Returns the canvas to be used for rendering.
|
mxICanvas |
mxGraphViewImageReader.createCanvas(Map<String,Object> attrs) |
mxICanvas |
mxGraphViewReader.getCanvas()
Returns the canvas that is used for rendering the graph.
|
Modifier and Type | Method and Description |
---|---|
protected void |
mxGraphComponent.mxGraphControl.cellDrawn(mxICanvas canvas,
mxCellState state) |
void |
mxGraphComponent.mxGraphControl.drawCell(mxICanvas canvas,
Object cell)
Draws the given cell onto the specified canvas.
|
Modifier and Type | Class and Description |
---|---|
class |
mxInteractiveCanvas |
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
Modifier and Type | Method and Description |
---|---|
protected 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 |
mxGraph.drawCell(mxICanvas canvas,
Object cell)
Draws the given cell and its descendants onto the specified canvas.
|
void |
mxGraph.drawGraph(mxICanvas canvas)
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.
|
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.