cz.cmc.tcgui
Class FilterChainEdge
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
cz.cmc.tcgui.TCEdge
cz.cmc.tcgui.FilterChainEdge
- All Implemented Interfaces:
- Cloneable, org.jgraph.graph.Edge, org.jgraph.graph.GraphCell, MutableTreeNode, Serializable, TreeNode
- public class FilterChainEdge
- extends TCEdge
Title: class FilterChainEdge
Description: Edge for creating filter entry chains
Copyright: Copyright (c) 2003
Company: CMC Computers
- See Also:
- Serialized Form
Nested classes inherited from class org.jgraph.graph.DefaultGraphCell |
org.jgraph.graph.DefaultGraphCell.ValueChangeHandler |
Nested classes inherited from class org.jgraph.graph.Edge |
org.jgraph.graph.Edge.Routing |
Fields inherited from class org.jgraph.graph.DefaultGraphCell |
attributes, defaultBounds |
Method Summary |
boolean |
acceptsSource(TCPort port)
Returns whether the edge can accept given port as its source |
boolean |
acceptsTarget(TCPort port)
Returns whether the edge can accept given port as its target |
Methods inherited from class org.jgraph.graph.DefaultGraphCell |
cloneUserObject, getAttributes, getChildren, setAttributes, setUserObject |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, depthFirstEnumeration, getAllowsChildren, getDepth, getFirstChild, getFirstLeaf, getChildAfter, getChildAt, getChildBefore, getChildCount, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, children, insert, isLeaf, isNodeAncestor, isNodeDescendant, isNodeChild, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, toString |
Methods inherited from interface org.jgraph.graph.GraphCell |
getAttributes, setAttributes |
FilterChainEdge
public FilterChainEdge()
FilterChainEdge
public FilterChainEdge(Object userObject)
FilterChainEdge
public FilterChainEdge(Object userObject,
boolean allowsChildren)
acceptsSource
public boolean acceptsSource(TCPort port)
- Description copied from class:
TCEdge
- Returns whether the edge can accept given port as its source
- Specified by:
acceptsSource
in class TCEdge
- Parameters:
port
- port to decide whether to be accepted as source
- Returns:
- whether the port is accepted
acceptsTarget
public boolean acceptsTarget(TCPort port)
- Description copied from class:
TCEdge
- Returns whether the edge can accept given port as its target
- Specified by:
acceptsTarget
in class TCEdge
- Parameters:
port
- port to decide whether to be accepted as target
- Returns:
- whether the port is accepted