public class Transition extends org.jgraph.graph.DefaultEdge implements WorkflowElement
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| 构造器和说明 |
|---|
Transition()
Creates transition.
|
Transition(Object userObject)
Creates transition with given userObject.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
cloneUserObject() |
XMLElement |
get(String what)
Gets a transition property which name is given in parameter what.
|
String |
getCondition() |
XMLElement |
getPropertyObject()
Gets a property object (DTDElement).
|
Activity |
getSourceActivity()
Returns source activity.
|
Activity |
getTargetActivity()
Returns target activity.
|
String |
getTooltip()
Gets a tooltip text for transition.
|
String |
getType() |
boolean |
hasCondition() |
void |
set(String what,
Object value)
Sets a transition property which name is given in parameter what to a
value given in a parameter value.
|
void |
showPropertyDialog(Window parentWindow,
AbstractGraph graph)
Shows a dialog for editing transition properties.
|
String |
toString()
Returns an empty string.
|
changeAttributes, clone, getSource, getTarget, setSource, setTargetadd, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParentpublic Transition()
public Transition(Object userObject)
public Activity getSourceActivity()
public Activity getTargetActivity()
public void showPropertyDialog(Window parentWindow, AbstractGraph graph)
showPropertyDialog 在接口中 WorkflowElementpublic XMLElement getPropertyObject()
getPropertyObject 在接口中 WorkflowElementpublic XMLElement get(String what)
get 在接口中 WorkflowElementpublic void set(String what, Object value)
set 在接口中 WorkflowElementpublic String getTooltip()
getTooltip 在接口中 WorkflowElementpublic String toString()
toString 在类中 DefaultMutableTreeNodeprotected Object cloneUserObject()
cloneUserObject 在类中 org.jgraph.graph.DefaultGraphCellpublic boolean hasCondition()
public String getType()
public String getCondition()
Copyright © 2023 onecode. All rights reserved.