mxCellStatePreview

Implements a live preview for moving cells.

Summary
mxCellStatePreviewImplements a live preview for moving cells.
Functions
mxCellStatePreviewConstructs a move preview for the given graph.
Variables
graphReference to the enclosing mxGraph.
deltasReference to the enclosing mxGraph.
countContains the number of entries in the map.
Functions
isEmptyReturns true if this contains no entries.
moveState
show
translateState
revalidateState
addEdges

Functions

mxCellStatePreview

function mxCellStatePreview(graph)

Constructs a move preview for the given graph.

Parameters

graphReference to the enclosing mxGraph.

Variables

graph

mxCellStatePreview.prototype.graph

Reference to the enclosing mxGraph.

deltas

mxCellStatePreview.prototype.deltas

Reference to the enclosing mxGraph.

count

mxCellStatePreview.prototype.count

Contains the number of entries in the map.

Functions

isEmpty

mxCellStatePreview.prototype.isEmpty = function()

Returns true if this contains no entries.

moveState

mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)

show

mxCellStatePreview.prototype.show = function(visitor)

translateState

mxCellStatePreview.prototype.translateState = function(parentState,
state,
dx,
dy)

revalidateState

mxCellStatePreview.prototype.revalidateState = function(parentState,
state,
dx,
dy,
visitor)

addEdges

mxCellStatePreview.prototype.addEdges = function(state)
function mxCellStatePreview(graph)
Constructs a move preview for the given graph.
mxCellStatePreview.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxCellStatePreview.prototype.deltas
Reference to the enclosing mxGraph.
mxCellStatePreview.prototype.count
Contains the number of entries in the map.
mxCellStatePreview.prototype.isEmpty = function()
Returns true if this contains no entries.
mxCellStatePreview.prototype.moveState = function(state,
dx,
dy,
add,
includeEdges)
mxCellStatePreview.prototype.show = function(visitor)
mxCellStatePreview.prototype.translateState = function(parentState,
state,
dx,
dy)
mxCellStatePreview.prototype.revalidateState = function(parentState,
state,
dx,
dy,
visitor)
mxCellStatePreview.prototype.addEdges = function(state)
Close