mxGraph 1.10.4.0


Uses of Class
com.mxgraph.view.mxCellState

Packages that use mxCellState
com.mxgraph.analysis This package provides various algorithms for graph analysis, such as shortest path and minimum spanning tree. 
com.mxgraph.canvas This package contains various implementations for painting a graph using different technologies, such as Graphics2D, HTML, SVG or VML. 
com.mxgraph.layout This package contains various graph layouts. 
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.shape   
com.mxgraph.swing This package contains the main component for JFC/Swing, namely the graph component and the outline component. 
com.mxgraph.swing.handler This package contains all classes required for mouse event handling in JFC/Swing. 
com.mxgraph.swing.util This package contains all utility classes that require JFC/Swing, namely for mouse event handling, drag and drop, actions and overlays. 
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 mxCellState in com.mxgraph.analysis
 

Methods in com.mxgraph.analysis that return mxCellState
 mxCellState[] mxGraphAnalysis.sort(mxCellState[] states, mxICostFunction cf)
          Returns a sorted set for cells with respect to cf.
 

Methods in com.mxgraph.analysis with parameters of type mxCellState
 double mxDistanceCostFunction.getCost(mxCellState state)
          Returns the Euclidean length of the edge defined by the absolute points in the given state or 0 if no points are defined.
 double mxICostFunction.getCost(mxCellState state)
          Evaluates the cost of the given cell state.
 double mxConstantCostFunction.getCost(mxCellState state)
           
 mxCellState[] mxGraphAnalysis.sort(mxCellState[] states, mxICostFunction cf)
          Returns a sorted set for cells with respect to cf.
 double mxGraphAnalysis.sum(mxCellState[] states, mxICostFunction cf)
          Returns the sum of all cost for cells with respect to cf.
 

Uses of mxCellState in com.mxgraph.canvas
 

Methods in com.mxgraph.canvas with parameters of type mxCellState
 Object mxVmlCanvas.drawCell(mxCellState state)
           
 Object mxSvgCanvas.drawCell(mxCellState state)
           
 Object mxImageCanvas.drawCell(mxCellState state)
           
 Object mxHtmlCanvas.drawCell(mxCellState state)
           
 Object mxGraphics2DCanvas.drawCell(mxCellState state)
           
 Object mxICanvas.drawCell(mxCellState state)
          Draws the given cell.
 Object mxVmlCanvas.drawLabel(String label, mxCellState state, boolean html)
           
 Object mxSvgCanvas.drawLabel(String label, mxCellState state, boolean html)
           
 Object mxImageCanvas.drawLabel(String label, mxCellState state, boolean html)
           
 Object mxHtmlCanvas.drawLabel(String label, mxCellState state, boolean html)
           
 Object mxGraphics2DCanvas.drawLabel(String text, mxCellState state, boolean html)
           
 Object mxICanvas.drawLabel(String text, mxCellState state, boolean html)
          Draws the given label.
 

Uses of mxCellState in com.mxgraph.layout
 

Methods in com.mxgraph.layout with parameters of type mxCellState
protected  void mxEdgeLabelLayout.avoid(mxCellState edge, mxCellState vertex)
           
 

Uses of mxCellState in com.mxgraph.reader
 

Methods in com.mxgraph.reader with parameters of type mxCellState
 String mxGraphViewReader.parseState(mxCellState state, boolean edge)
          Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell.
 

Uses of mxCellState in com.mxgraph.shape
 

Fields in com.mxgraph.shape declared as mxCellState
protected  mxCellState mxCurveLabelShape.state
          Cache the state associated with this shape
 

Methods in com.mxgraph.shape with parameters of type mxCellState
protected  mxRectangle mxStencil.computeAspect(mxCellState state, mxRectangle bounds, String direction)
          Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given rectangle.
protected  boolean mxBasicShape.configureGraphics(mxGraphics2DCanvas canvas, mxCellState state, boolean background)
          Configures the graphics object ready to paint.
 mxPoint[] mxLineShape.createPoints(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxActorShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxTriangleShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxRhombusShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxHexagonShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxEllipseShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxCloudShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxArrowShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 Shape mxBasicShape.createShape(mxGraphics2DCanvas canvas, mxCellState state)
           
protected  void mxStencil.drawElement(mxGraphicsCanvas2D canvas, mxCellState state, Element node, mxRectangle aspect)
          Drawsthe given element.
static void mxLabelShape.drawGlassEffect(mxGraphics2DCanvas canvas, mxCellState state)
          Draws the glass effect
protected  void mxStencil.drawShadow(mxGraphicsCanvas2D canvas, mxCellState state, double rotation, boolean flipH, boolean flipV, mxRectangle bounds, double alpha, boolean filled)
          Draws the shadow.
 boolean mxStencil.drawShape(mxGraphicsCanvas2D canvas, mxCellState state, mxRectangle bounds, boolean background)
          Draws this stencil inside the given bounds.
 String mxStencil.evaluateAttribute(Element elt, String attribute, mxCellState state)
          Gets the attribute for the given name from the given node.
 Color mxLabelShape.getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
           
 Color mxImageShape.getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
           
 Color mxBasicShape.getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
           
protected  mxRectangle mxSwimlaneShape.getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)
           
protected  mxRectangle mxBasicShape.getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)
           
 Rectangle mxLabelShape.getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)
           
 Rectangle mxImageShape.getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)
           
 String mxImageShape.getImageForStyle(mxGraphics2DCanvas canvas, mxCellState state)
           
 Color mxLabelShape.getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
           
 Color mxImageShape.getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
           
 Color mxBasicShape.getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
           
 boolean mxLabelShape.hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
           
 boolean mxImageShape.hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
           
 boolean mxBasicShape.hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
           
 boolean mxBasicShape.hasShadow(mxGraphics2DCanvas canvas, mxCellState state)
           
 mxPoint mxConnectorShape.paintMarker(mxGraphics2DCanvas canvas, mxCellState state, boolean source)
          Draws the marker for the given edge.
 mxPoint mxIMarker.paintMarker(mxGraphics2DCanvas canvas, mxCellState state, String type, mxPoint pe, double nx, double ny, double size, boolean source)
           
 void mxStencilShape.paintNode(mxGraphics2DCanvas canvas, mxCellState state, mxStencilShape.svgShape shape, double widthRatio, double heightRatio)
           
 void mxLabelShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxImageShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxDoubleEllipseShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxSwimlaneShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxStencilShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxStencil.paintShape(mxGraphics2DCanvas gc, mxCellState state)
          Paints the stencil for the given state.
 void mxLineShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxRectangleShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxCylinderShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
          Draws a cylinder for the given parameters.
 void mxCurveShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxConnectorShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxBasicShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxIShape.paintShape(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxHtmlTextShape.paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String,Object> style)
           
 void mxDefaultTextShape.paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String,Object> style)
           
 void mxCurveLabelShape.paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String,Object> style)
           
 void mxITextShape.paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String,Object> style)
           
 

Constructors in com.mxgraph.shape with parameters of type mxCellState
mxCurveLabelShape(mxCellState state, mxCurve value)
           
 

Uses of mxCellState in com.mxgraph.swing
 

Methods in com.mxgraph.swing with parameters of type mxCellState
protected  void mxGraphComponent.mxGraphControl.cellDrawn(mxICanvas canvas, mxCellState state)
           
 Component[] mxGraphComponent.createComponents(mxCellState state)
          Hook for subclassers to create the array of heavyweights for the given state.
 mxCellHandler mxGraphComponent.createHandler(mxCellState state)
           
protected  Rectangle mxGraphComponent.mxGraphControl.getExtendedCellBounds(mxCellState state)
           
 ImageIcon mxGraphComponent.getFoldingIcon(mxCellState state)
          Returns the icon used to display the collapsed state of the specified cell state.
 Rectangle mxGraphComponent.getFoldingIconBounds(mxCellState state, ImageIcon icon)
           
protected  boolean mxGraphComponent.mxGraphControl.hitClip(mxGraphics2DCanvas canvas, mxCellState state)
           
 void mxGraphComponent.insertComponent(mxCellState state, Component c)
           
 void mxGraphComponent.redraw(mxCellState state)
          Updates the buffer (if one exists) and repaints the given cell state.
protected  void mxGraphComponent.updateCellOverlayComponent(mxCellState state, mxICellOverlay overlay)
          Notified when an overlay has been removed from the graph.
 void mxGraphComponent.updateComponent(mxCellState state, Component c)
           
 

Uses of mxCellState in com.mxgraph.swing.handler
 

Fields in com.mxgraph.swing.handler declared as mxCellState
protected  mxCellState mxRotationHandler.currentState
           
protected  mxCellState mxCellMarker.markedState
          Holds the marked state.
protected  mxCellState mxConnectPreview.previewState
           
protected  mxCellState[] mxMovePreview.previewStates
           
protected  mxCellState mxConnectionHandler.source
           
protected  mxCellState mxConnectPreview.sourceState
           
protected  mxCellState mxMovePreview.startState
           
protected  mxCellState mxCellHandler.state
          Holds the cell state associated with this handler.
protected  mxCellState mxCellMarker.validState
          Holds the marked state if it is valid.
 

Methods in com.mxgraph.swing.handler that return mxCellState
 mxCellState mxCellMarker.getMarkedState()
          Returns the marked state.
 mxCellState mxConnectPreview.getPreviewState()
           
protected  mxCellState[] mxMovePreview.getPreviewStates()
          Returns the states that are affected by the move operation.
 mxCellState mxConnectPreview.getSourceState()
           
 mxCellState mxCellHandler.getState()
          Returns the cell state that is associated with this handler.
protected  mxCellState mxCellMarker.getState(MouseEvent e)
          Uses getCell, getMarkedState and intersects to return the state for the given event.
protected  mxCellState mxCellMarker.getStateToMark(mxCellState state)
          Returns the state to be marked for the given state under the mouse.
 mxCellState mxCellMarker.getValidState()
          Returns the valid state.
 mxCellState mxCellMarker.process(MouseEvent e)
          Processes the given event and marks the state returned by getStateAt with the color returned by getMarkerColor.
 

Methods in com.mxgraph.swing.handler with parameters of type mxCellState
protected  Object mxConnectPreview.createCell(mxCellState startState, String style)
          Creates a new instance of mxShape for previewing the edge.
protected  Point[] mxEdgeHandler.createPoints(mxCellState s)
           
 Object[] mxMovePreview.getCells(mxCellState initialState)
           
protected  Color mxCellMarker.getMarkerColor(MouseEvent e, mxCellState state, boolean isValid)
          Returns the valid- or invalidColor depending on the value of isValid.
protected  mxRectangle mxMovePreview.getPlaceholderBounds(mxCellState startState)
           
protected  mxCellState mxCellMarker.getStateToMark(mxCellState state)
          Returns the state to be marked for the given state under the mouse.
 void mxCellMarker.highlight(mxCellState state, Color color)
           
 void mxCellMarker.highlight(mxCellState state, Color color, boolean valid)
           
protected  boolean mxCellMarker.intersects(mxCellState state, MouseEvent e)
          Returns true if the given mouse event intersects the given state.
 boolean mxRotationHandler.isStateHandled(mxCellState state)
           
protected  boolean mxCellMarker.isValidState(mxCellState state)
          Returns true if the given state is a valid state.
protected  void mxEdgeHandler.moveLabelTo(mxCellState edgeState, double x, double y)
          Moves the label to the given position.
 void mxCellHandler.refresh(mxCellState state)
          Refreshes the cell handler.
 void mxConnectPreview.revalidate(mxCellState pState, Object cell)
           
 void mxCellMarker.setMarkedState(mxCellState value)
          Sets the marked state.
 void mxMovePreview.start(MouseEvent e, mxCellState state)
          Sets the translation of the preview.
 void mxConnectionHandler.start(MouseEvent e, mxCellState state)
           
 void mxConnectPreview.start(MouseEvent e, mxCellState startState, String style)
          Updates the style of the edge preview from the incoming edge
 void mxConnectPreview.update(MouseEvent e, mxCellState targetState, double x, double y)
           
 

Constructors in com.mxgraph.swing.handler with parameters of type mxCellState
mxCellHandler(mxGraphComponent graphComponent, mxCellState state)
          Constructs a new cell handler for the given cell state.
mxEdgeHandler(mxGraphComponent graphComponent, mxCellState state)
           
mxElbowEdgeHandler(mxGraphComponent graphComponent, mxCellState state)
           
mxVertexHandler(mxGraphComponent graphComponent, mxCellState state)
           
 

Uses of mxCellState in com.mxgraph.swing.util
 

Methods in com.mxgraph.swing.util with parameters of type mxCellState
 mxRectangle mxCellOverlay.getBounds(mxCellState state)
           
 mxRectangle mxICellOverlay.getBounds(mxCellState state)
           
protected  mxPoint mxMorphing.getDelta(mxCellState state)
          Returns the vector between the current rendered state and the future location of the state after the display will be updated.
protected  boolean mxMorphing.stopRecursion(mxCellState state, mxPoint delta)
          Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
 

Uses of mxCellState in com.mxgraph.swing.view
 

Fields in com.mxgraph.swing.view with type parameters of type mxCellState
protected  List<mxCellState> mxCellStatePreview.cellStates
           
protected  Map<mxCellState,mxPoint> mxCellStatePreview.deltas
           
 

Methods in com.mxgraph.swing.view that return types with arguments of type mxCellState
 Map<mxCellState,mxPoint> mxCellStatePreview.getDeltas()
           
 List<mxCellState> mxCellStatePreview.snapshot(mxCellState state)
           
 

Methods in com.mxgraph.swing.view with parameters of type mxCellState
 void mxCellStatePreview.addEdges(mxCellState state)
           
 boolean mxInteractiveCanvas.contains(mxGraphComponent graphComponent, Rectangle rect, mxCellState state)
           
 Rectangle mxCellEditor.getEditorBounds(mxCellState state, double scale)
          Returns the bounds to be used for the editor.
protected  String mxCellEditor.getInitialValue(mxCellState state, EventObject trigger)
          Gets the initial editing value for the given cell.
 boolean mxInteractiveCanvas.hitSwimlaneContent(mxGraphComponent graphComponent, mxCellState swimlane, int x, int y)
          Returns true if the given point is inside the content area of the given swimlane.
 boolean mxInteractiveCanvas.intersects(mxGraphComponent graphComponent, Rectangle rect, mxCellState state)
           
protected  boolean mxCellEditor.isHideLabel(mxCellState state)
           
 mxPoint mxCellStatePreview.moveState(mxCellState state, double dx, double dy)
           
 mxPoint mxCellStatePreview.moveState(mxCellState state, double dx, double dy, boolean add, boolean includeEdges)
           
protected  void mxCellStatePreview.paintPreviewState(mxGraphics2DCanvas canvas, mxCellState state)
          Draws the preview using the graphics canvas.
 void mxCellStatePreview.restoreState(mxCellState state, mxCellState from)
           
protected  mxRectangle mxCellStatePreview.revalidateState(mxCellState parentState, mxCellState state, double dx, double dy)
           
 List<mxCellState> mxCellStatePreview.snapshot(mxCellState state)
           
protected  void mxCellStatePreview.translateState(mxCellState parentState, mxCellState state, double dx, double dy)
           
protected  boolean mxCellEditor.useLabelBounds(mxCellState state)
          Returns true if the label bounds of the state should be used for the editor.
 

Method parameters in com.mxgraph.swing.view with type arguments of type mxCellState
 void mxCellStatePreview.restore(List<mxCellState> snapshot)
           
 

Uses of mxCellState in com.mxgraph.util
 

Methods in com.mxgraph.util with parameters of type mxCellState
static int mxUtils.findNearestSegment(mxCellState state, double x, double y)
          Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
static int mxUtils.getPortConstraints(mxCellState terminal, mxCellState edge, boolean source)
          Returns an integer mask of the port constraints of the given map
static int mxUtils.getPortConstraints(mxCellState terminal, mxCellState edge, boolean source, int defaultValue)
          Returns an integer mask of the port constraints of the given map
static boolean mxUtils.intersectsHotspot(mxCellState state, int x, int y, double hotspot)
           
static boolean mxUtils.intersectsHotspot(mxCellState state, int x, int y, double hotspot, int min, int max)
          Returns true if the given coordinate pair intersects the hotspot of the given state.
 

Uses of mxCellState in com.mxgraph.view
 

Fields in com.mxgraph.view declared as mxCellState
protected  mxCellState mxCellState.visibleSourceState
          Caches the visible source and target terminal states.
protected  mxCellState mxCellState.visibleTargetState
          Caches the visible source and target terminal states.
 

Fields in com.mxgraph.view with type parameters of type mxCellState
protected  Hashtable<Object,mxCellState> mxTemporaryCellStates.oldStates
           
protected  Hashtable<Object,mxCellState> mxGraphView.states
          Maps from cells to cell states.
 

Methods in com.mxgraph.view that return mxCellState
 mxCellState mxGraphView.createState(Object cell)
          Creates and returns a cell state for the given cell.
 mxCellState[] mxGraphView.getCellStates(Object[] cells)
          Returns the states for the given array of cells.
 mxCellState mxGraphView.getState(Object cell)
          Returns the state for the given cell or null if no state is defined for the cell.
 mxCellState mxGraphView.getState(Object cell, boolean create)
          Returns the cell state for the given cell.
 mxCellState mxGraphView.getTerminalPort(mxCellState state, mxCellState terminal, boolean source)
          Returns a cell state that represents the source or target terminal or port for the given edge.
 mxCellState mxCellState.getVisibleTerminalState(boolean source)
          Returns the visible source or target terminal state.
 mxCellState mxGraphView.removeState(Object cell)
          Removes and returns the mxCellState for the given cell.
 

Methods in com.mxgraph.view that return types with arguments of type mxCellState
 Hashtable<Object,mxCellState> mxGraphView.getStates()
          Returns the dictionary that maps from cells to states.
 

Methods in com.mxgraph.view with parameters of type mxCellState
 void mxEdgeStyle.mxEdgeStyleFunction.apply(mxCellState state, mxCellState source, mxCellState target, List<mxPoint> points, List<mxPoint> result)
          Implements an edge style function.
 mxPoint mxPerimeter.mxPerimeterFunction.apply(mxRectangle bounds, mxCellState vertex, mxPoint next, boolean orthogonal)
          Implements a perimeter function.
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.
protected  void mxGraphView.childMoved(mxCellState parent, mxCellState child)
          Invoked when a child state was moved as a result of late evaluation of its position.
 void mxGraph.drawState(mxICanvas canvas, mxCellState state, boolean drawLabel)
          Draws the cell state with the given label onto the canvas.
 mxConnectionConstraint[] mxGraph.getAllConnectionConstraints(mxCellState terminal, boolean source)
          Returns an array of all constraints for the given terminal.
protected  Object[] mxSpaceManager.getCellsToShift(mxCellState state)
           
 mxConnectionConstraint mxGraph.getConnectionConstraint(mxCellState edge, mxCellState terminal, boolean source)
          Returns an connection constraint that describes the given connection point.
 mxPoint mxGraph.getConnectionPoint(mxCellState vertex, mxConnectionConstraint constraint)
          Sets the connection constraint that describes the given connection point.
 mxEdgeStyle.mxEdgeStyleFunction mxGraphView.getEdgeStyle(mxCellState edge, List<mxPoint> points, Object source, Object target)
          Returns the edge style function to be used to compute the absolute points for the given state, control points and terminals.
 String mxGraph.getImage(mxCellState state)
          Returns the image URL for the given cell state.
 mxPoint mxGraphView.getNextPoint(mxCellState edge, mxCellState opposite, boolean source)
          Returns the nearest point in the list of absolute points or the center of the opposite terminal.
 mxRectangle mxGraphView.getPerimeterBounds(mxCellState terminal, double border)
          Returns the perimeter bounds for the given terminal, edge pair.
 mxPerimeter.mxPerimeterFunction mxGraphView.getPerimeterFunction(mxCellState state)
          Returns the perimeter function for the given state.
 mxPoint mxGraphView.getPerimeterPoint(mxCellState terminal, mxPoint next, boolean orthogonal)
          Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
 mxPoint mxGraphView.getPerimeterPoint(mxCellState terminal, mxPoint next, boolean orthogonal, double border)
          Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.
 mxPoint mxGraphView.getPoint(mxCellState state)
          Returns the absolute center point along the given edge.
 mxPoint mxGraphView.getPoint(mxCellState state, mxGeometry geometry)
          Returns the absolute point on the edge for the given relative geometry as a point.
 mxPoint mxGraphView.getRelativePoint(mxCellState edgeState, double x, double y)
          Gets the relative point that describes the given, absolute label position for the given edge state.
 double mxGraphView.getRoutingCenterX(mxCellState state)
          Returns the x-coordinate of the center point for automatic routing.
 double mxGraphView.getRoutingCenterY(mxCellState state)
          Returns the y-coordinate of the center point for automatic routing.
 mxCellState mxGraphView.getTerminalPort(mxCellState state, mxCellState terminal, boolean source)
          Returns a cell state that represents the source or target terminal or port for the given edge.
 double mxGraphView.getWordWrapWidth(mxCellState state)
          Returns the width for wrapping the label of the given state at scale 1.
 boolean mxGraph.isLoop(mxCellState state)
          Returns true if the given cell state is a loop.
 boolean mxGraph.isOrthogonal(mxCellState edge)
          Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
 void mxCellState.setVisibleTerminalState(mxCellState terminalState, boolean source)
          Sets the visible source or target terminal state.
 mxPoint mxGraphView.transformControlPoint(mxCellState state, mxPoint pt)
          Transforms the given control point to an absolute point.
 mxRectangle mxGraphView.updateBoundingBox(mxCellState state)
          Updates the bounding box in the given cell state.
 void mxGraphView.updateEdgeBounds(mxCellState state)
          Updates the given state using the bounding box of the absolute points.
 void mxGraphView.updateFixedTerminalPoint(mxCellState edge, mxCellState terminal, boolean source, mxConnectionConstraint constraint)
          Sets the fixed source or target terminal point on the given edge.
 void mxGraphView.updateFixedTerminalPoints(mxCellState edge, mxCellState source, mxCellState target)
          Sets the initial absolute terminal points in the given state before the edge style is computed.
 void mxGraphView.updateFloatingTerminalPoint(mxCellState edge, mxCellState start, mxCellState end, boolean source)
          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.
 void mxGraphView.updateFloatingTerminalPoints(mxCellState state, mxCellState source, mxCellState target)
          Updates the terminal points in the given state after the edge style was computed for the edge.
 void mxGraphView.updateLabel(mxCellState state)
          Updates the label of the given state.
 void mxGraphView.updateLabelBounds(mxCellState state)
          Updates the label bounds in the given state.
 void mxGraphView.updatePoints(mxCellState edge, List<mxPoint> points, mxCellState source, mxCellState target)
          Updates the absolute points in the given state using the specified array of points as the relative points.
 void mxGraphView.updateVertexLabelOffset(mxCellState state)
          Updates the absoluteOffset of the given vertex cell state.
 void mxGraphView.validateBounds(mxCellState parentState, Object cell)
          Validates the bounds of the given parent's child using the given parent state as the origin for the child.
 mxRectangle mxGraphView.validatePoints(mxCellState parentState, Object cell)
          Validates the points for the state of the given cell recursively if the cell is not collapsed and returns the bounding box of all visited states as a rectangle.
 

Method parameters in com.mxgraph.view with type arguments of type mxCellState
 void mxGraphView.setStates(Hashtable<Object,mxCellState> states)
          Returns the dictionary that maps from cells to states.
 


mxGraph 1.10.4.0


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