|
JGraph X 0.15.0.3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use mxCellState | |
---|---|
com.mxgraph.algebra | |
com.mxgraph.swing | |
com.mxgraph.swing.handler | |
com.mxgraph.swing.util | |
com.mxgraph.swing.view | |
com.mxgraph.view |
Uses of mxCellState in com.mxgraph.algebra |
---|
Methods in com.mxgraph.algebra that return mxCellState | |
---|---|
mxCellState[] |
mxGraphAlgebra.sort(mxCellState[] states,
mxICostFunction cf)
Returns a sorted set for cells with respect to
cf . |
Methods in com.mxgraph.algebra with parameters of type mxCellState | |
---|---|
double |
mxDistanceCostFunction.getCost(mxCellState state)
Returns the euclidion 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[] |
mxGraphAlgebra.sort(mxCellState[] states,
mxICostFunction cf)
Returns a sorted set for cells with respect to
cf . |
double |
mxGraphAlgebra.sum(mxCellState[] states,
mxICostFunction cf)
Returns the sum of all cost for cells with respect to
cf . |
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)
|
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)
|
void |
mxGraphComponent.insertComponent(mxCellState state,
Component c)
|
void |
mxGraphComponent.redraw(mxCellState state)
Updates the buffer (if one exists) and repaints the given cell state. |
void |
mxGraphComponent.updateComponent(mxCellState state,
Component c)
|
protected void |
mxGraphComponent.updateOverlayComponent(mxCellState state,
mxIOverlay overlay)
Notified when an overlay has been removed from the graph. |
Uses of mxCellState in com.mxgraph.swing.handler |
---|
Fields in com.mxgraph.swing.handler declared as mxCellState | |
---|---|
protected mxCellState |
mxCellMarker.markedState
Holds the marked state. |
protected mxCellState |
mxConnectionHandler.source
|
protected mxCellState |
mxCellHandler.state
|
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 |
mxCellHandler.getState()
|
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 Point[] |
mxEdgeHandler.createPoints(mxCellState s)
|
protected Color |
mxCellMarker.getMarkerColor(MouseEvent e,
mxCellState state,
boolean isValid)
Returns the valid- or invalidColor depending on the value of isValid. |
protected mxCellState |
mxCellMarker.getStateToMark(mxCellState state)
Returns the state to be marked for the given state under the mouse. |
protected boolean |
mxCellMarker.intersects(mxCellState state,
MouseEvent e)
Returns true if the given mouse event intersects the given 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. |
Constructors in com.mxgraph.swing.handler with parameters of type mxCellState | |
---|---|
mxCellHandler(mxGraphComponent graphComponent,
mxCellState 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 |
mxOverlay.getBounds(mxCellState state)
|
mxRectangle |
mxIOverlay.getBounds(mxCellState state)
|
Uses of mxCellState in com.mxgraph.swing.view |
---|
Methods in com.mxgraph.swing.view with parameters of type mxCellState | |
---|---|
boolean |
mxInteractiveCanvas.contains(mxGraphComponent graphComponent,
Rectangle rect,
mxCellState state)
|
Rectangle |
mxCellEditor.getEditorBounds(mxCellState state)
|
String |
mxCellEditor.getInitialValue(mxCellState state)
|
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)
|
Uses of mxCellState in com.mxgraph.view |
---|
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.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.getStates(Object[] cells)
Returns the states for the given array of cells. |
mxCellState |
mxGraphView.removeState(Object cell)
Removes and returns the mxCellState for the given cell. |
Methods in com.mxgraph.view with parameters of type mxCellState | |
---|---|
void |
mxEdgeStyle.mxEdgeStyleFunction.apply(mxCellState state,
mxCellState source,
mxCellState target,
List points,
List result)
Implements an edge style function. |
mxPoint |
mxPerimeter.mxPerimeterFunction.apply(mxRectangle bounds,
mxCellState edgeState,
mxCellState terminalState,
boolean isSource,
mxPoint next)
Implements a perimeter function. |
void |
mxGraph.drawStateWithLabel(mxICanvas canvas,
mxCellState state,
String label)
Draws the given cell and label onto the specified canvas. |
Object[] |
mxGraph.getCellsToShift(mxCellState state)
Returns the cells to shift after a resize of the specified |
protected mxEdgeStyle.mxEdgeStyleFunction |
mxGraphView.getEdgeStyle(mxCellState edgeState,
Object source,
Object target)
Returns the edge style function to be used to render the given edge state. |
String |
mxGraph.getImage(mxCellState state)
Returns the image URL for the given cell state. |
mxPoint |
mxGraphView.getNextPoint(mxCellState state,
Object opposite,
boolean isSource)
Returns the nearest point in the list of absolute points or the center of the opposite terminal. |
mxRectangle |
mxGraphView.getPerimeterBounds(mxCellState terminal,
mxCellState edge,
boolean isSource)
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 state,
Object start,
Object end,
boolean isSource)
Returns a point that defines the location of the connection point between the edge represented by the given state and the source or target end of the edge, depending on isSource. |
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. |
boolean |
mxGraph.isLoop(mxCellState state)
Returns true if the given cell state is a loop. |
boolean |
mxGraph.isOrthogonal(mxCellState edge,
mxCellState vertex)
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments. |
void |
mxGraphView.setTerminalPoints(mxCellState state)
Sets the initial absolute terminal points in the given state. |
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.updateLabelBounds(mxCellState state)
Updates the label bounds in the given state. |
void |
mxGraphView.updatePoints(mxCellState state,
List points,
Object source,
Object target)
Updates the absolute points in the given state using the specified array of points as the relative points. |
void |
mxGraphView.updateTerminalPoint(mxCellState state,
Object start,
Object end,
boolean isSource)
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if isSource is true. |
void |
mxGraphView.updateTerminalPoints(mxCellState state,
Object source,
Object target)
Updates the terminal points in the given state. |
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. |
|
JGraph X 0.15.0.3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |