public class TransitionView
extends org.jgraph.graph.EdgeView
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TransitionView.TransitionHandle |
| 构造器和说明 |
|---|
TransitionView(Object cell,
org.jgraph.JGraph graph,
org.jgraph.graph.CellMapper mapper)
Constructs an edge view for the specified model object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPoint(Point popupPoint)
Inserts a "break point" at transition object at the point where
popup menubar appeared.
|
void |
addPointProgramatically(Point2D popupPoint,
int index)
Inserts a "break point" programatically.
|
org.jgraph.graph.CellHandle |
getHandle(org.jgraph.graph.GraphContext context)
Returns a cell handle for the view.
|
boolean |
isAddPointEvent(MouseEvent event)
Override Superclass Method so that points could
be added only by addPoint method.
|
boolean |
isRemovePointEvent(MouseEvent event)
Override Superclass Method so that points could
be removed only by removePoint method.
|
void |
removePoint(Point popupPoint)
Removes a "break point" from transition at the point where
popup menubar appeared.
|
addPoint, getBounds, getEdgeRenderer, getLabelBounds, getLabelPosition, getLength, getPoint, getPointCount, getPoints, getRenderer, getShape, getSource, getTarget, intersects, refresh, removePoint, setLabelPosition, setPoint, setSource, setTarget, updatechildUpdated, getAllAttributes, getAttributes, getBounds, getCell, getChildViews, getDescendantViews, getEditor, getGraph, getMapper, getModel, getParentView, getRendererComponent, isLeaf, removeFromParent, scale, setAttributes, setBounds, translate, updateAllAttributespublic TransitionView(Object cell, org.jgraph.JGraph graph, org.jgraph.graph.CellMapper mapper)
cell - reference to the model objectpublic org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
getHandle 在接口中 org.jgraph.graph.CellViewgetHandle 在类中 org.jgraph.graph.EdgeViewpublic void addPoint(Point popupPoint)
public void addPointProgramatically(Point2D popupPoint, int index)
public void removePoint(Point popupPoint)
public boolean isAddPointEvent(MouseEvent event)
public boolean isRemovePointEvent(MouseEvent event)
Copyright © 2023 onecode. All rights reserved.