## Uses of Class
com.mxgraph.view.mxCellState

- Packages that use mxCellState
  Package | Description
  --- | ---
  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.costfunction |
  com.mxgraph.generatorfunction |
  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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `double` | mxICostFunction.`getCost(mxCellState state)` Evaluates the cost of the given cell state.
    `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` | 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
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | mxVmlCanvas.`drawCell(mxCellState state)`
    `java.lang.Object` | mxSvgCanvas.`drawCell(mxCellState state)`
    `java.lang.Object` | mxImageCanvas.`drawCell(mxCellState state)`
    `java.lang.Object` | mxICanvas.`drawCell(mxCellState state)` Draws the given cell.
    `java.lang.Object` | mxHtmlCanvas.`drawCell(mxCellState state)`
    `java.lang.Object` | mxGraphics2DCanvas.`drawCell(mxCellState state)`
    `java.lang.Object` | mxVmlCanvas.`drawLabel(java.lang.String label, mxCellState state, boolean html)`
    `java.lang.Object` | mxSvgCanvas.`drawLabel(java.lang.String label, mxCellState state, boolean html)`
    `java.lang.Object` | mxImageCanvas.`drawLabel(java.lang.String label, mxCellState state, boolean html)`
    `java.lang.Object` | mxICanvas.`drawLabel(java.lang.String text, mxCellState state, boolean html)` Draws the given label.
    `java.lang.Object` | mxHtmlCanvas.`drawLabel(java.lang.String label, mxCellState state, boolean html)`
    `java.lang.Object` | mxGraphics2DCanvas.`drawLabel(java.lang.String text, mxCellState state, boolean html)`

  - ### Uses of mxCellState in com.mxgraph.costfunction

    Methods in com.mxgraph.costfunction with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `double` | mxDoubleValCostFunction.`getCost(mxCellState state)`
    `double` | mxConstCostFunction.`getCost(mxCellState state)`

  - ### Uses of mxCellState in com.mxgraph.generatorfunction

    Methods in com.mxgraph.generatorfunction with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `double` | mxGeneratorRandomIntFunction.`getCost(mxCellState state)`
    `double` | mxGeneratorRandomFunction.`getCost(mxCellState state)`
    `double` | mxGeneratorConstFunction.`getCost(mxCellState state)`

  - ### Uses of mxCellState in com.mxgraph.layout

    Methods in com.mxgraph.layout with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.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
    Modifier and Type | Field and Description
    --- | ---
    `protected mxCellState` | mxCurveLabelShape.`state` Cache the state associated with this shape

    Methods in com.mxgraph.shape with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `protected mxRectangle` | mxStencil.`computeAspect(mxCellState state, mxRectangle bounds, java.lang.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 mxGraphicsCanvas2D` | mxSwimlaneShape.`configureCanvas(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c)` Helper method to configure the given wrapper canvas.
    `protected boolean` | mxBasicShape.`configureGraphics(mxGraphics2DCanvas canvas, mxCellState state, boolean background)` Configures the graphics object ready to paint.
    `mxPoint[]` | mxLineShape.`createPoints(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxTriangleShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxRhombusShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxHexagonShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxEllipseShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxCloudShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxBasicShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxArrowShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Shape` | mxActorShape.`createShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `protected void` | mxStencil.`drawElement(mxGraphicsCanvas2D canvas, mxCellState state, org.w3c.dom.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.
    `java.lang.String` | mxStencil.`evaluateAttribute(org.w3c.dom.Element elt, java.lang.String attribute, mxCellState state)` Gets the attribute for the given name from the given node.
    `protected double` | mxSwimlaneShape.`getArcSize(mxCellState state, double start)` Helper method to configure the given wrapper canvas.
    `java.awt.Color` | mxLabelShape.`getFillColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Color` | mxImageShape.`getFillColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Color` | mxBasicShape.`getFillColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `protected mxRectangle` | mxSwimlaneShape.`getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `protected mxRectangle` | mxBasicShape.`getGradientBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Rectangle` | mxLabelShape.`getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Rectangle` | mxImageShape.`getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.lang.String` | mxImageShape.`getImageForStyle(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Color` | mxLabelShape.`getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Color` | mxImageShape.`getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `java.awt.Color` | mxBasicShape.`getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)`
    `protected double` | mxSwimlaneShape.`getTitleSize(mxGraphics2DCanvas canvas, mxCellState state)` Returns the bounding box for the gradient box for this shape.
    `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, java.lang.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)`
    `protected void` | mxSwimlaneShape.`paintRoundedSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, java.lang.String fill, boolean swimlaneLine)` Function: paintRoundedSwimlane Paints the swimlane vertex shape.
    `protected void` | mxSwimlaneShape.`paintSeparator(mxGraphics2DCanvas canvas, mxCellState state, double start, java.lang.String color)` Function: paintSwimlane Paints the swimlane vertex shape.
    `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` | mxRectangleShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxLineShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxLabelShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxIShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxImageShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxDoubleRectangleShape.`paintShape(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxDoubleEllipseShape.`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` | mxITextShape.`paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)`
    `void` | mxHtmlTextShape.`paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)`
    `void` | mxDefaultTextShape.`paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)`
    `void` | mxCurveLabelShape.`paintShape(mxGraphics2DCanvas canvas, java.lang.String text, mxCellState state, java.util.Map<java.lang.String,java.lang.Object> style)`
    `protected void` | mxSwimlaneShape.`paintSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, java.lang.String fill, boolean swimlaneLine)`

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

  - ### Uses of mxCellState in com.mxgraph.swing

    Methods in com.mxgraph.swing with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | mxGraphComponent.mxGraphControl.`cellDrawn(mxICanvas canvas, mxCellState state)`
    `java.awt.Component[]` | mxGraphComponent.`createComponents(mxCellState state)` Hook for subclassers to create the array of heavyweights for the given state.
    `mxCellHandler` | mxGraphComponent.`createHandler(mxCellState state)`
    `protected java.awt.Rectangle` | mxGraphComponent.mxGraphControl.`getExtendedCellBounds(mxCellState state)`
    `javax.swing.ImageIcon` | mxGraphComponent.`getFoldingIcon(mxCellState state)` Returns the icon used to display the collapsed state of the specified cell state.
    `java.awt.Rectangle` | mxGraphComponent.`getFoldingIconBounds(mxCellState state, javax.swing.ImageIcon icon)`
    `protected boolean` | mxGraphComponent.mxGraphControl.`hitClip(mxGraphics2DCanvas canvas, mxCellState state)`
    `void` | mxGraphComponent.`insertComponent(mxCellState state, java.awt.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, java.awt.Component c)`

  - ### Uses of mxCellState in com.mxgraph.swing.handler

    Fields in com.mxgraph.swing.handler declared as mxCellState
    Modifier and Type | Field and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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(java.awt.event.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(java.awt.event.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
    Modifier and Type | Method and Description
    --- | ---
    `protected java.lang.Object` | mxConnectPreview.`createCell(mxCellState startState, java.lang.String style)` Creates a new instance of mxShape for previewing the edge.
    `protected java.awt.Point[]` | mxEdgeHandler.`createPoints(mxCellState s)`
    `java.lang.Object[]` | mxMovePreview.`getCells(mxCellState initialState)`
    `protected java.awt.Color` | mxCellMarker.`getMarkerColor(java.awt.event.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, java.awt.Color color)`
    `void` | mxCellMarker.`highlight(mxCellState state, java.awt.Color color, boolean valid)`
    `protected boolean` | mxCellMarker.`intersects(mxCellState state, java.awt.event.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 state)`
    `void` | mxCellMarker.`setMarkedState(mxCellState value)` Sets the marked state.
    `void` | mxMovePreview.`start(java.awt.event.MouseEvent e, mxCellState state)` Sets the translation of the preview.
    `void` | mxConnectionHandler.`start(java.awt.event.MouseEvent e, mxCellState state)`
    `void` | mxConnectPreview.`start(java.awt.event.MouseEvent e, mxCellState startState, java.lang.String style)` Updates the style of the edge preview from the incoming edge
    `void` | mxConnectPreview.`update(java.awt.event.MouseEvent e, mxCellState targetState, double x, double y)`

    Constructors in com.mxgraph.swing.handler with parameters of type mxCellState
    Constructor and Description
    `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
    Modifier and Type | Method and Description
    --- | ---
    `mxRectangle` | mxICellOverlay.`getBounds(mxCellState state)`
    `mxRectangle` | mxCellOverlay.`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
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.List<mxCellState>` | mxCellStatePreview.`cellStates`
    `protected java.util.Map<mxCellState,mxPoint>` | mxCellStatePreview.`deltas`

    Methods in com.mxgraph.swing.view that return types with arguments of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<mxCellState,mxPoint>` | mxCellStatePreview.`getDeltas()`
    `java.util.List<mxCellState>` | mxCellStatePreview.`snapshot(mxCellState state)`

    Methods in com.mxgraph.swing.view with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxCellStatePreview.`addEdges(mxCellState state)`
    `boolean` | mxInteractiveCanvas.`contains(mxGraphComponent graphComponent, java.awt.Rectangle rect, mxCellState state)`
    `java.awt.Rectangle` | mxCellEditor.`getEditorBounds(mxCellState state, double scale)` Returns the bounds to be used for the editor.
    `protected java.lang.String` | mxCellEditor.`getInitialValue(mxCellState state, java.util.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, java.awt.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)`
    `java.util.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
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxCellStatePreview.`restore(java.util.List<mxCellState> snapshot)`

  - ### Uses of mxCellState in com.mxgraph.util

    Methods in com.mxgraph.util with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Field and Description
    --- | ---
    `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
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.Hashtable<java.lang.Object,mxCellState>` | mxTemporaryCellStates.`oldStates`
    `protected java.util.Hashtable<java.lang.Object,mxCellState>` | mxGraphView.`states` Maps from cells to cell states.

    Methods in com.mxgraph.view that return mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `mxCellState` | mxGraphView.`createState(java.lang.Object cell)` Creates and returns a cell state for the given cell.
    `mxCellState[]` | mxGraphView.`getCellStates(java.lang.Object[] cells)` Returns the states for the given array of cells.
    `mxCellState` | mxGraphView.`getState(java.lang.Object cell)` Returns the state for the given cell or null if no state is defined for the cell.
    `mxCellState` | mxGraphView.`getState(java.lang.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(java.lang.Object cell)` Removes and returns the mxCellState for the given cell.
    `mxCellState` | mxGraphView.`validateCellState(java.lang.Object cell)` Shortcut to validateCellState with recurse set to true.
    `mxCellState` | mxGraphView.`validateCellState(java.lang.Object cell, boolean recurse)` Validates the cell state for the given cell.

    Methods in com.mxgraph.view that return types with arguments of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Hashtable<java.lang.Object,mxCellState>` | mxGraphView.`getStates()` Returns the dictionary that maps from cells to states.

    Methods in com.mxgraph.view with parameters of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxEdgeStyle.mxEdgeStyleFunction.`apply(mxCellState state, mxCellState source, mxCellState target, java.util.List<mxPoint> points, java.util.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, java.lang.Object element, java.lang.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.
    `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.
    `mxRectangle` | mxGraphView.`getBoundingBox(mxCellState state)` Shortcut to validateCell with visible set to true.
    `mxRectangle` | mxGraphView.`getBoundingBox(mxCellState state, boolean recurse)` Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true.
    `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, java.util.List<mxPoint> points, java.lang.Object source, java.lang.Object target)` Returns the edge style function to be used to compute the absolute points for the given state, control points and terminals.
    `java.lang.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.`updateCellState(mxCellState state)` Updates the given cell state.
    `void` | mxGraphView.`updateEdgeBounds(mxCellState state)` Updates the given state using the bounding box of the absolute points.
    `void` | mxGraphView.`updateEdgeState(mxCellState state, mxGeometry geo)` Validates the given cell state.
    `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, java.util.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.`updateVertexState(mxCellState state, mxGeometry geo)` Validates the given cell state.

    Method parameters in com.mxgraph.view with type arguments of type mxCellState
    Modifier and Type | Method and Description
    --- | ---
    `void` | mxGraphView.`setStates(java.util.Hashtable<java.lang.Object,mxCellState> states)` Returns the dictionary that maps from cells to states.

Copyright (c) 2010 Gaudenz Alder. All rights reserved.