wt.tools.profiler
Class ProfilerFrame

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bywt.tools.profiler.ProfilerFrame
All Implemented Interfaces:
Cloneable, Comparable, MutableTreeNode, Serializable, TreeNode

public class ProfilerFrame
extends DefaultMutableTreeNode
implements Comparable, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
 int cost
           
static int COST
           
 String costName
           
 int count
           
 String dataName
           
 String dispName
           
private static int frameCnt
           
 boolean isLeaf
           
 List list
           
static int METADATA
           
static int OCCDATA
           
static int OCCKEY
           
static int sortOn
           
static int STACK
           
 String stackName
          The stack frame
 int type
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ProfilerFrame()
           
ProfilerFrame(boolean leaf, ProfilerFrame currFrame)
           
ProfilerFrame(String name)
           
ProfilerFrame(String name, int countVal, boolean leaf)
           
ProfilerFrame(String name, int countVal, boolean leaf, int costVal)
           
ProfilerFrame(String name, int countVal, boolean leaf, int costVal, int typeVal, ProfilingKey key)
           
ProfilerFrame(String name, int countVal, boolean leaf, int costVal, ProfilingKey key)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 void initFrame(String name, int countVal, boolean leaf, int costVal, int typeVal, ProfilingKey key)
           
 boolean isLeaf()
           
 String toString()
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, 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, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

list

public List list

frameCnt

private static int frameCnt

stackName

public String stackName
The stack frame


dispName

public String dispName

costName

public String costName

dataName

public String dataName

type

public int type

STACK

public static final int STACK
See Also:
Constant Field Values

OCCKEY

public static final int OCCKEY
See Also:
Constant Field Values

OCCDATA

public static final int OCCDATA
See Also:
Constant Field Values

sortOn

public static int sortOn

COST

public static final int COST
See Also:
Constant Field Values

METADATA

public static final int METADATA
See Also:
Constant Field Values

cost

public int cost

count

public int count

isLeaf

public boolean isLeaf
Constructor Detail

ProfilerFrame

public ProfilerFrame()

ProfilerFrame

public ProfilerFrame(String name)

ProfilerFrame

public ProfilerFrame(String name,
                     int countVal,
                     boolean leaf)

ProfilerFrame

public ProfilerFrame(String name,
                     int countVal,
                     boolean leaf,
                     int costVal)

ProfilerFrame

public ProfilerFrame(String name,
                     int countVal,
                     boolean leaf,
                     int costVal,
                     ProfilingKey key)

ProfilerFrame

public ProfilerFrame(String name,
                     int countVal,
                     boolean leaf,
                     int costVal,
                     int typeVal,
                     ProfilingKey key)

ProfilerFrame

public ProfilerFrame(boolean leaf,
                     ProfilerFrame currFrame)
Method Detail

initFrame

public void initFrame(String name,
                      int countVal,
                      boolean leaf,
                      int costVal,
                      int typeVal,
                      ProfilingKey key)

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()

equals

public boolean equals(Object o)

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode