cz.cmc.tcgui
Class Class
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
cz.cmc.tcgui.TCObject
cz.cmc.tcgui.Class
- All Implemented Interfaces:
- Cloneable, FilterContainer, org.jgraph.graph.GraphCell, MutableTreeNode, Serializable, SubclassableTCObject, TCObjectContainer, TreeNode
- public class Class
- extends TCObject
- implements FilterContainer, SubclassableTCObject
Title: Class
Description: class representing classes of classful qdiscs
and the appropriate graph cell model
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 |
Fields inherited from class org.jgraph.graph.DefaultGraphCell |
attributes, defaultBounds |
Constructor Summary |
Class()
Create a new traffic class using defaults. |
Class(Object userObject)
Create a new traffic class using specified user object and
defaults otherwise. |
Methods inherited from class org.jgraph.graph.DefaultGraphCell |
clone, cloneUserObject, getAttributes, getChildren, changeAttributes, 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 |
Class
public Class()
- Create a new traffic class using defaults.
Class
public Class(Object userObject)
- Create a new traffic class using specified user object and
defaults otherwise.
getSubclassInputPort
public SubclassInputPort getSubclassInputPort()
getSubclassOutputPort
public SubclassOutputPort getSubclassOutputPort()
- Specified by:
getSubclassOutputPort
in interface SubclassableTCObject
getClassMatchPort
public ClassMatchPort getClassMatchPort()
getTCInputPort
public TCInputPort getTCInputPort()
- Specified by:
getTCInputPort
in class TCObject
- Returns:
- TCInputPort for the Tree part of the schema
getTCOutputPort
public TCOutputPort getTCOutputPort()
- Specified by:
getTCOutputPort
in class TCObject
- Returns:
- TCOutputPort for the Tree part of the schema
createInsertEdit
public void createInsertEdit(List toInsert,
Map viewMap,
TCGraph graph)
- Insert into list additional cells to be created with this TCObject
and inserts their attributes to the viewMap.
Intended for Graphmodel.insert.
- Overrides:
createInsertEdit
in class TCObject
- Parameters:
toInsert
- List of additional cells to be created with this TCObjectviewMap
- attributes to be supplied to their views
createDefaultView
public TCObjectView createDefaultView(TCGraph g,
org.jgraph.graph.CellMapper cm)
- Creates and returns appropriate view for this cell.
- Specified by:
createDefaultView
in class TCObject
- Parameters:
g
- graph to create view oncm
- used CellMapper
- Returns:
- created TCObjectView