S | |
setAttribute | |
setCellStyleFlags, mxUtils | |
setCellStyles | |
setCollapsed | |
setConnectable, mxCell | |
setEdge, mxCell | |
setGeometry | |
setGraphBounds, mxGraphView | |
setId, mxCell | |
setImage, mxGdCanvas | |
setImageBundles, mxGraph | |
setParent, mxCell | |
setRect, mxRectangle | |
setRoot, mxGraphModel | |
setScale, mxGraphView | |
setStyle | |
setStyleFlag, mxUtils | |
setTerminal | |
setTerminalPoint, mxGeometry | |
setTerminals, mxGraphModel | |
setTranslate, mxGraphView | |
setValue | |
setVertex, mxCell | |
setVisible | |
stackTrace, mxUtils | |
startElement, mxGraphViewImageReader | |
styles, mxStylesheet | |
T | |
toRadians, mxUtils | |
transformControlPoint, mxGraphView | |
translate, mxGeometry | |
translatePoints, mxUtils | |
U | |
updateBoundingBox, mxGraphView | |
updateCellState, mxGraphView | |
updateEdgeBounds, mxGraphView | |
updateEdgeParent, mxGraphModel | |
updateEdgeParents, mxGraphModel | |
updateEdgeState, mxGraphView | |
updateFixedTerminalPoint, mxGraphView | |
updateFixedTerminalPoints, mxGraphView | |
updateFloatingTerminalPoint, mxGraphView | |
updateFloatingTerminalPoints, mxGraphView | |
updateLabelBounds, mxGraphView | |
updatePoints, mxGraphView | |
updateVertexLabelOffset, mxGraphView | |
updateVertexState, mxGraphView | |
V | |
validate, mxGraphView | |
validateCell, mxGraphView | |
validateCellStates, mxGraphView |
Sets the specified attribute on the user object if it is an XML node.
function setAttribute( $key, $value )
Sets the attribute on the specified node to value.
function setAttribute( $node, $attribute, $value )
Sets or toggles the flag bit for the given key in the cell’s styles.
static function setCellStyleFlags( $model, $cells, $key, $flag, $value )
Sets the key to value in the styles of the given cells.
function setCellStyles( $key, $value, $cells )
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
static function setCellStyles( $model, $cells, $key, $value )
Sets the collapsed state.
function setCollapsed( $collapsed )
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
function setCollapsed( $cell, $isCollapsed )
Sets the connectable state.
function setConnectable( $connectable )
Specifies if the cell is an edge.
function setEdge( $edge )
Sets the mxGeometry to be used as the geometry.
function setGeometry( $geometry )
Sets the mxGeometry of the given mxCell.
function setGeometry( $cell, $geometry )
Sets graphBounds.
function setGraphBounds( $value )
Sets the Id of the cell to the given string.
function setId( $id )
Sets the image that represents the canvas.
function setImage( $img )
Sets the imageBundles.
function setImageBundles( $value )
Sets the parent cell.
function setParent( $parent )
Sets this rectangle to the specified values.
function setRect( $x, $y, $width, $height )
Sets the scale, revalidates the view and fires a scale event.
function setScale( $scale )
Sets the string to be used as the style.
function setStyle( $style )
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
function setStyle( $cell, $style )
Adds or removes the given key, value pair to the style and returns the new style.
static function setStyle( $style, $key, $value )
Sets or removes the given key from the specified style and returns the new style.
static function setStyleFlag( $style, $key, $flag, $value )
Sets the source or target terminal and returns the new terminal.
function setTerminal( $terminal, $source )
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
function setTerminal( $edge, $terminal, $source )
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
function setTerminalPoint( $point, $isSource )
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
function setTerminals( $edge, $source, $target )
Sets the translation, revalidates the view and fires a translate event.
function setTranslate( $translate )
Sets the user object of the cell.
function setValue( $value )
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
function setValue( $cell, $value )
Specifies if the cell is a vertex.
function setVertex( $vertex )
Specifies if the cell is visible.
function setVisible( $visible )
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
function setVisible( $cell, $visible )
Prints a simple stack trace in the error log.
static function stackTrace()
Invoked by the SAX parser when an element starts.
function startElement( $parser, $name, $attrs )
Maps from names to styles.
var $styles = array()
Converts the given degree to radians.
static function toRadians( $deg )
Transforms the given control point to an absolute point.
function transformControlPoint( $state, $pt )
Translates the geometry by the specified amount.
function translate( $dx, $dy )
Creates a new list of new points obtained by translating the points in the given list by the given vector.
static function translatePoints( $pts, $dx, $dy )
Updates the bounding box in the given cell state.
function updateBoundingBox( $state )
Updates the given mxCellState.
function updateCellState( $state, $source, $target )
Updates the bounds of the specified state based on the absolute points in the state.
function updateEdgeBounds( $state )
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
function updateEdgeParent( $edge, $root )
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
function updateEdgeParents( $cell, $root = null )
Validates the given cell state.
function updateEdgeState( $state, $geo, $source, $target )
Sets the fixed source or target terminal point on the given edge.
function updateFixedTerminalPoint( $edge, $terminal, $source, $constraint )
Sets the initial absolute terminal points in the given state before the edge style is computed.
function updateFixedTerminalPoints( $edge, $source, $target )
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
function updateFloatingTerminalPoint( $edge, $start, $end, $source )
Updates the terminal points in the given state after the edge style was computed for the edge.
function updateFloatingTerminalPoints( $state, $source, $target )
Updates the label bounds in the given state.
function updateLabelBounds( $state )
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
function updatePoints( $edge, $points, $source, $target )
Updates the absoluteOffset of the given vertex cell state.
function updateVertexLabelOffset( $state )
Validates the given cell state.
function updateVertexState( $state, $geo )
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
function validate( $cell = null )
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
function validateCell( $cell, $visible = true )