cz.cmc.tcgui
Class FilterChainEdge

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jgraph.graph.DefaultGraphCell
          extended bycz.cmc.tcgui.TCEdge
              extended bycz.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 Class Summary
 
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
 
Field Summary
 
Fields inherited from class cz.cmc.tcgui.TCEdge
defaultLabelPosition, defaultPoints, source, target
 
Fields inherited from class org.jgraph.graph.DefaultGraphCell
attributes, defaultBounds
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, EMPTY_ENUMERATION, children, parent, userObject
 
Constructor Summary
FilterChainEdge()
           
FilterChainEdge(Object userObject)
           
FilterChainEdge(Object userObject, boolean allowsChildren)
           
 
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 cz.cmc.tcgui.TCEdge
clone, createDefaultView, createInsertEdit, getSource, getTarget, changeAttributes, setSource, setTarget
 
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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jgraph.graph.GraphCell
getAttributes, setAttributes
 

Constructor Detail

FilterChainEdge

public FilterChainEdge()

FilterChainEdge

public FilterChainEdge(Object userObject)

FilterChainEdge

public FilterChainEdge(Object userObject,
                       boolean allowsChildren)
Method Detail

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