public class Participant extends org.jgraph.graph.DefaultGraphCell implements WorkflowElement
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| 构造器和说明 |
|---|
Participant()
Creates participant.
|
Participant(Object userObject)
Creates Participant with given userObject.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
cloneUserObject()
Create a clone of the user object.
|
XMLElement |
get(String what)
Gets a participant property which name is given in parameter what.
|
Set |
getChildActivities()
Returns participant's children activities (activities for which it is a
container).
|
Set |
getChildParticipants()
Returns participant's children participants (participants for which it is
a container).
|
XMLElement |
getPropertyObject()
Gets a property object (DTDElement).
|
String |
getTooltip()
Gets a tooltip text for participant.
|
boolean |
hasAnyActivity()
Returns true if participant is a container for any activity.
|
boolean |
hasAnyParticipant()
Returns true if participant is a container for any other participant.
|
int |
howManyChildActivities()
Returns the number of participant's children activities (number of
activities for which it is a container).
|
int |
howManyChildParticipants()
Returns the number of participant's children participants (number of
participants for which it is a container).
|
void |
set(String what,
Object value)
Sets a participant 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 participant properties.
|
String |
toString()
Gets an participant name property.
|
changeAttributes, clone, getAttributes, getChildren, setAttributes, setUserObjectadd, 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 Participant()
public Participant(Object userObject)
public boolean hasAnyParticipant()
public int howManyChildParticipants()
public Set getChildParticipants()
public boolean hasAnyActivity()
public int howManyChildActivities()
public Set getChildActivities()
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.DefaultGraphCellCopyright © 2023 onecode. All rights reserved.