A | |
add | |
addAlias, mxCodecRegistry | |
addBundle, mxGraph | |
addElement, mxCodec | |
addListener, mxEventSource | |
addLogfile, mxLog | |
addObjectValue, mxObjectCodec | |
addStylename, mxUtils | |
afterDecode, mxObjectCodec | |
afterEncode, mxObjectCodec | |
apply | |
B | |
beforeDecode, mxObjectCodec | |
beforeEncode, mxObjectCodec | |
beginUpdate, mxGraphModel | |
C | |
cellAdded, mxGraphModel | |
cellCloned, mxGraphModel | |
cellRemoved, mxGraphModel | |
clear, mxGraphModel | |
cloneCell, mxGraphModel | |
cloneCellImpl, mxGraphModel | |
cloneCells, mxGraphModel | |
cloneTemplate, mxObjectCodec | |
close, mxLog | |
consume, mxEventObject | |
contains | |
convert | |
convertFile | |
convertValueFromXml, mxObjectCodec | |
convertValueToString, mxGraph | |
convertValueToXml, mxObjectCodec | |
copy | |
copyValue, mxCell | |
create, mxCellPath | |
createCanvas | |
createDefaultEdgeStyle, mxStylesheet | |
createDefaultVertexStyle, mxStylesheet | |
createEdge, mxGraph | |
createGraphView, mxGraph | |
createId, mxGraphModel | |
createImage, mxGraph | |
createRoot, mxGraphModel | |
createState, mxGraphView | |
createStylesheet, mxGraph | |
createVertex, mxGraph | |
createXmlDocument, mxUtils |
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
function add( $parent, $child, $index = null )
Adds the given rectangle to this rectangle.
function add( $rect )
Adds an alias for mapping a classname to a codecname.
static function addAlias( $classname, $codecname )
Adds the given element to elements if it has an ID.
function addElement( $node )
Adds a listener for the given event name.
function addListener( $name, $listener )
Adds a file for logging.
static function addLogfile( $filename )
Sets the decoded child node as a value of the given object.
function addObjectValue( & $obj, $fieldname, $value, $template )
Adds the specified stylename to the given style if it does not already contain the stylename.
static function addStylename( $style, $stylename )
Hook for subclassers to post-process the object after decoding.
function afterDecode( $dec, $node, & $obj )
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
function afterEncode( $enc, $obj, $node )
Implements an edge style function.
public function apply( $state, $source, $target, $points, & $result )
Implements a perimeter function.
public function apply( $bounds, $vertex, $next, $orthogonal )
Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode.
function beforeDecode( $dec, $node, & $obj )
Hook for subclassers to pre-process the object before encoding.
function beforeEncode( $enc, $obj, $node )
Increments the updateLevel by one.
function beginUpdate()
Inner callback to update cells when a cell has been added.
function cellAdded( $cell )
Hook for cloning the cell.
function cellCloned( $cell )
Inner callback to update cells when a cell has been removed.
function cellRemoved( $cell )
Sets a new root using createRoot.
function clear()
Returns a deep clone of the given mxCell (including the children) which is created using cloneCells.
function cloneCell( $cell )
Inner helper method for cloning cells recursively.
function cloneCellImpl( $cell, $mapping, $includeChildren )
Returns an array of clones for the given array of mxCells.
function cloneCells( $cells, $includeChildren = true )
Creates a new instance of the template for this codec.
function cloneTemplate()
Closes all open logfiles.
static function close()
Consumes the event.
function consume()
Returns true if the model contains the given mxCell.
function contains( $cell )
Returns true if the specified point (x, y) is contained in the given rectangle.
static function contains( $state, $x, $y )
Creates the HTML markup for the given display XML string.
static function convert( $string, $background = null )
Creates the image for the given display XML string.
static function convert( $string, $background = null )
Creates the HTML markup for the given display XML file.
static function convertFile( $filename, $background = null )
Creates the image for the given display XML file.
static function convertFile( $filename, $background = null )
Returns the given value.
function convertValueFromXml( $value )
Returns the textual representation for the given cell.
function convertValueToString( $cell )
Returns the given value without applying a conversion.
function convertValueToXml( $value )
Returns a clone of the cell.
function copy()
Returns a copy of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance.
function copy()
Returns a copy of this mxGeometry.
function copy()
Returns a copy of this mxPoint.
function copy()
Returns a copy of this mxRectangle.
function copy()
Returns a clone of the cell’s user object.
function copyValue()
Creates the cell path for the given cell.
static function create( $cell )
Returns the canvas to be used for rendering.
function createCanvas( $attrs )
Returns the canvas to be used for rendering.
function createCanvas( $attrs )
Creates and returns the default edge style.
function createDefaultEdgeStyle()
Creates and returns the default vertex style.
function createDefaultVertexStyle()
Creates the edge to be used in insertEdge.
function createEdge( $parent, $id = null, $value = null, $source = null, $target = null, $style = null )
Creates a new mxGraphView to be used in this graph.
function createGraphView()
Hook method to create an Id for the specified cell.
function createId( $cell )
function createImage( $clip = null, $background = null )
Creates a new root cell with a default layer (child 0).
function createRoot()
Creates the state for the specified cell.
function createState( $cell )
Creates a new mxStylesheet to be used in this graph.
function createStylesheet()
Creates the vertex to be used in insertVertex.
function createVertex( $parent, $id = null, $value = null, $x = 0, $y = 0, $width = 1, $height = 1, $style = null, $relative = false )
Returns a new, empty XML document.
static function createXmlDocument()