Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 paint
 paintBackground
 paintCurvedLine, mxPolyline
 paintDivider, mxSwimlane
 paintEdgeShape
 paintForeground
 paintGlassEffect, mxShape
 paintImage, mxLabel
 paintIndicator, mxLabel
 paintLine, mxPolyline
 paintMarker, mxArrowConnector
 paintRoundedSwimlane, mxSwimlane
 paintSeparator, mxSwimlane
 paintSwimlane, mxSwimlane
 paintVertexShape
 panGraph
 para, mxUtils
 parentForCellChanged, mxGraphModel
 parse, mxResources
 parseConstraint, mxStencil
 parseConstraints, mxStencil
 parseCssNumber, mxUtils
 parseDescription, mxStencil
 parseXml, mxUtils
 paste, mxClipboard
 placeLabels, mxEdgeLabelLayout
 placementStage
 plainText
 popup
 positionChanged, mxHandle
 post, mxUtils
 postConfigureShape, mxCellRenderer
 postDiagram, mxEditor
 postProcessCellStyle, mxGraph
 prepareTextarea, mxCellEditor
 print, mxPrintPreview
 printScreen, mxUtils
 process, mxCellMarker
 processChange, mxGraph
 processEvent, mxHandle
 processInclude, mxObjectCodec
 processNodeOutgoing, mxCompactTreeLayout
 processReversedEdge, mxCoordinateAssignment
 prompt, mxUtils
 ptLineDist, mxUtils
 ptSegDistSq, mxUtils
 put, mxDictionary
 putCellStyle, mxStylesheet
 putDefaultEdgeStyle, mxStylesheet
 putDefaultVertexStyle, mxStylesheet
 putImage, mxImageBundle
 putObject, mxCodec
 putValue, mxStyleRegistry
mxShape.prototype.paint = function(c)
Generic rendering code.
mxText.prototype.paint = function(c,
update)
Generic rendering code.
mxDoubleEllipse.prototype.paintBackground = function(c,
x,
y,
w,
h)
Paints the background.
mxRectangleShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintBackground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxPolyline.prototype.paintCurvedLine = function(c,
pts)
Paints a curved line.
mxSwimlane.prototype.paintDivider = function(c,
x,
y,
w,
h,
start,
shadow)
Paints the divider between swimlane title and content area.
mxArrow.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxArrowConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxConnector.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxPolyline.prototype.paintEdgeShape = function(c,
pts)
Paints the line shape.
mxShape.prototype.paintEdgeShape = function(c,
pts)
Hook for subclassers.
mxDoubleEllipse.prototype.paintForeground = function(c,
x,
y,
w,
h)
Paints the foreground.
mxLabel.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxRectangleShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxShape.prototype.paintForeground = function(c,
x,
y,
w,
h)
Hook for subclassers.
mxShape.prototype.paintGlassEffect = function(c,
x,
y,
w,
h,
arc)
Paints the glass gradient effect.
mxLabel.prototype.paintImage = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLabel.prototype.paintIndicator = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxPolyline.prototype.paintLine = function(c,
pts,
rounded)
Paints the line shape.
mxArrowConnector.prototype.paintMarker = function(c,
ptX,
ptY,
nx,
ny,
size,
arrowWidth,
edgeWidth,
spacing,
initialMove)
Paints the marker.
mxSwimlane.prototype.paintRoundedSwimlane = function(c,
x,
y,
w,
h,
start,
r,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxSwimlane.prototype.paintSeparator = function(c,
x,
y,
w,
h,
start,
color)
Paints the vertical or horizontal separator line between swimlanes.
mxSwimlane.prototype.paintSwimlane = function(c,
x,
y,
w,
h,
start,
fill,
swimlaneLine)
Paints the swimlane vertex shape.
mxActor.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxCylinder.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxEllipse.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the ellipse shape.
mxImageShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic background painting implementation.
mxLine.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Redirects to redrawPath for subclasses to work.
mxRhombus.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Generic painting implementation.
mxShape.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the vertex shape.
mxSwimlane.prototype.paintVertexShape = function(c,
x,
y,
w,
h)
Paints the swimlane vertex shape.
mxGraph.prototype.panGraph = function(dx,
dy)
Shifts the graph display by the given amount.
mxPanningHandler.prototype.panGraph = function(dx,
dy)
Pans graph by the given amount.
para: function(parent,
text)
Appends a new paragraph with the given text to the specified parent and returns the paragraph.
mxGraphModel.prototype.parentForCellChanged = function(cell,
parent,
index)
Inner callback to update the parent of a cell using mxCell.insert on the parent and return the previous parent.
parse: function(text)
Parses the key, value pairs in the specified text and stores them as local resources.
mxStencil.prototype.parseConstraint = function(node)
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraints = function()
Reads the constraints from desc into constraints using parseConstraint.
parseCssNumber: function(value)
Parses the given CSS numeric value adding handling for the values thin, medium and thick (2, 4 and 6).
mxStencil.prototype.parseDescription = function()
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
parseXml: function()
Parses the specified XML string into a new XML document and returns the new document.
paste: function(graph)
Pastes the cells into the specified graph restoring the relation to parents, if possible.
mxEdgeLabelLayout.prototype.placeLabels = function(v,
e)
Places the labels of the given edges.
mxHierarchicalLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSwimlaneLayout.prototype.placementStage = function(initialX,
parent)
Executes the placement stage using mxCoordinateAssignment.
mxSvgCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
overflow,
clip,
rotation,
dir)
Paints the given text.
mxVmlCanvas2D.prototype.plainText = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir)
Paints the outline of the current path.
mxPopupMenu.prototype.popup = function(x,
y,
cell,
evt)
Shows the popup menu for the given event and cell.
popup: function(content,
isInternalWindow)
Shows the specified text content in a new mxWindow or a new browser window if isInternalWindow is false.
mxHandle.prototype.positionChanged = function()
Should be called after setPosition in processEvent.
post: function(url,
params,
onload,
onerror)
Posts the specified params to the given URL asynchronously and invokes the given functions depending on the request status.
mxCellRenderer.prototype.postConfigureShape = function(state)
Replaces any reserved words used for attributes, eg.
mxEditor.prototype.postDiagram = function (url,
data)
Hook for subclassers to override the posting of a diagram represented by the given node to the given URL.
mxGraph.prototype.postProcessCellStyle = function(style)
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxCellEditor.prototype.prepareTextarea = function()
Prepares the textarea for getting its value in stopEditing.
mxPrintPreview.prototype.print = function(css)
Opens the print preview and shows the print dialog.
printScreen: function(graph)
Prints the specified graph using a new window and the built-in print dialog.
mxCellMarker.prototype.process = function(me)
Processes the given event and cell and marks the state returned by getState with the color returned by getMarkerColor.
mxGraph.prototype.processChange = function(change)
Processes the given change and invalidates the respective cached data in view.
mxHandle.prototype.processEvent = function(me)
Processes the given mxMouseEvent and invokes setPosition.
mxObjectCodec.prototype.processInclude = function(dec,
node,
into)
Returns true if the given node is an include directive and executes the include by decoding the XML document.
mxCompactTreeLayout.prototype.processNodeOutgoing = function(node)
Separates the x position of edges as they connect to vertices
mxCoordinateAssignment.prototype.processReversedEdge = function(graph,
model)
Hook to add additional processing
prompt: function(message,
defaultValue)
Displays the given message in a prompt dialog.
ptLineDist: function(x1,
y1,
x2,
y2,
px,
py)
Returns the distance between a line defined by two points and a point.
ptSegDistSq: function(x1,
y1,
x2,
y2,
px,
py)
Returns the square distance between a segment and a point.
mxDictionary.prototype.put = function(key,
value)
Stores the value under the given key and returns the previous value for that key.
mxStylesheet.prototype.putCellStyle = function(name,
style)
Stores the given map of key, value pairs under the given name in styles.
mxStylesheet.prototype.putDefaultEdgeStyle = function(style)
Sets the default style for edges using defaultEdge as the stylename.
mxStylesheet.prototype.putDefaultVertexStyle = function(style)
Sets the default style for vertices using defaultVertex as the stylename.
mxImageBundle.prototype.putImage = function(key,
value,
fallback)
Adds the specified entry to the map.
mxCodec.prototype.putObject = function(id,
obj)
Assoiates the given object with the given ID and returns the given object.
putValue: function(name,
obj)
Puts the given object into the registry under the given name.
Close