mxGraph 2.4.0.0


Uses of Interface
com.mxgraph.canvas.mxICanvas

Packages that use mxICanvas
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
 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.
 

Uses of mxICanvas in com.mxgraph.reader
 

Fields in com.mxgraph.reader declared as mxICanvas
protected  mxICanvas mxGraphViewReader.canvas
          Holds the canvas to be used for rendering the graph.
 

Methods in com.mxgraph.reader that return mxICanvas
 mxICanvas mxGraphViewImageReader.createCanvas(Map<String,Object> attrs)
           
abstract  mxICanvas mxGraphViewReader.createCanvas(Map<String,Object> attrs)
          Returns the canvas to be used for rendering.
 mxICanvas 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
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.
 

Uses of mxICanvas in com.mxgraph.swing.view
 

Classes in com.mxgraph.swing.view that implement mxICanvas
 class mxInteractiveCanvas
           
 

Uses of mxICanvas in com.mxgraph.util
 

Methods in com.mxgraph.util that return mxICanvas
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.
 

Uses of mxICanvas in com.mxgraph.view
 

Methods in com.mxgraph.view with parameters of type mxICanvas
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.
 


mxGraph 2.4.0.0


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.