|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.AbstractCellView
org.jgraph.graph.EdgeView
org.enhydra.jawe.components.graph.GraphTransitionViewInterface
org.enhydra.jawe.components.graph.DefaultGraphTransitionView
public class DefaultGraphTransitionView
Represents a view for a model's Transition object.
Nested Class Summary | |
---|---|
static class |
DefaultGraphTransitionView.TransitionHandle
|
Nested classes/interfaces inherited from class org.jgraph.graph.EdgeView |
---|
org.jgraph.graph.EdgeView.EdgeHandle |
Field Summary | |
---|---|
protected static java.util.Map |
renderers
|
Fields inherited from class org.jgraph.graph.EdgeView |
---|
beginShape, cachedBounds, cachedExtraLabelBounds, cachedLabelBounds, endShape, extraLabelPositions, labelPosition, labelVector, lineShape, points, renderer, sharedPath, source, sourceParentView, target, targetParentView |
Fields inherited from class org.jgraph.graph.AbstractCellView |
---|
allAttributes, attributes, cell, cellEditor, childViews, groupBounds, parent |
Constructor Summary | |
---|---|
DefaultGraphTransitionView(java.lang.Object cell)
Constructs an edge view for the specified model object. |
Method Summary | |
---|---|
void |
addPoint(Graph graph,
java.awt.Point popupPoint)
Inserts a "break point" at transition object at the point where popup menu appeared. |
protected GraphTransitionRendererInterface |
createRenderer(org.enhydra.shark.xpdl.elements.Transition tra)
|
org.jgraph.graph.CellHandle |
getHandle(org.jgraph.graph.GraphContext context)
Returns a cell handle for the view. |
org.jgraph.graph.CellViewRenderer |
getRenderer()
|
void |
removePoint(Graph graph,
java.awt.Point popupPoint)
Removes a "break point" from transition at the point where popup menu appeared. |
Methods inherited from class org.jgraph.graph.EdgeView |
---|
addPoint, checkDefaultLabelPosition, getBounds, getExtraLabelBounds, getExtraLabelPosition, getLabelBounds, getLabelPosition, getLabelVector, getLength, getNearestPoint, getPerimeterPoint, getPoint, getPointCount, getPointLocation, getPoints, getShape, getSource, getSourceParentView, getTarget, getTargetParentView, getVisibleParent, intersects, refresh, removePoint, setExtraLabelPosition, setLabelPosition, setPoint, setSource, setTarget, update |
Methods inherited from class org.jgraph.graph.AbstractCellView |
---|
changeAttributes, childUpdated, createAttributeMap, getAllAttributes, getAttributes, getBounds, getCell, getCellAttributes, getCenterPoint, getChildViews, getDescendantViews, getEditor, getParentView, getRendererComponent, includeInGroupBounds, isLeaf, mergeAttributes, removeFromParent, scale, setAttributes, setBounds, setCell, translate, updateGroupBounds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Map renderers
Constructor Detail |
---|
public DefaultGraphTransitionView(java.lang.Object cell)
cell
- reference to the model objectMethod Detail |
---|
public org.jgraph.graph.CellViewRenderer getRenderer()
getRenderer
in class org.jgraph.graph.EdgeView
public org.jgraph.graph.CellHandle getHandle(org.jgraph.graph.GraphContext context)
getHandle
in interface org.jgraph.graph.CellView
getHandle
in class org.jgraph.graph.EdgeView
public void addPoint(Graph graph, java.awt.Point popupPoint)
addPoint
in class GraphTransitionViewInterface
public void removePoint(Graph graph, java.awt.Point popupPoint)
removePoint
in class GraphTransitionViewInterface
protected GraphTransitionRendererInterface createRenderer(org.enhydra.shark.xpdl.elements.Transition tra)
|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |