org.shiftone.jrat.provider.tree.ui
Class TraceTreeNode

java.lang.Object
  extended by org.shiftone.jrat.provider.tree.ui.TraceTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode

public class TraceTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode

Author:
jeff@shiftone.org (Jeff Drost)

Constructor Summary
TraceTreeNode(TreeNode node)
           
 
Method Summary
 java.util.Enumeration children()
           
 Accumulator getAccumulator()
           
 boolean getAllowsChildren()
           
 java.lang.Double getAverageDuration()
           
 java.lang.Double getAverageMethodDuration()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 TraceTreeNode getChildNodeAt(int childIndex)
           
 int getConcurrentThreads()
           
 int getDepth()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 int getMaxConcurrentThreads()
           
 int getMaxDepth()
           
 long getMaxDuration()
           
 MethodKey getMethodKey()
           
 long getMinDuration()
           
 javax.swing.tree.TreeNode getParent()
           
 TraceTreeNode getParentNode()
           
 double getPctOfAvgParentDuration()
           
 double getPctOfAvgRootDuration()
           
 java.lang.Double getStdDeviation()
           
 long getSumOfSquares()
           
 long getTotalDuration()
           
 long getTotalEnters()
           
 long getTotalErrors()
           
 long getTotalExits()
           
 long getTotalMethodDuration()
           
 boolean isLeaf()
           
 boolean isRootNode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraceTreeNode

public TraceTreeNode(TreeNode node)
Method Detail

getMaxDepth

public int getMaxDepth()

getDepth

public int getDepth()

getPctOfAvgParentDuration

public double getPctOfAvgParentDuration()

getPctOfAvgRootDuration

public double getPctOfAvgRootDuration()

getAverageMethodDuration

public java.lang.Double getAverageMethodDuration()

getTotalMethodDuration

public long getTotalMethodDuration()

getMaxConcurrentThreads

public int getMaxConcurrentThreads()

getSumOfSquares

public long getSumOfSquares()

getAccumulator

public Accumulator getAccumulator()

getMethodKey

public MethodKey getMethodKey()

getAverageDuration

public java.lang.Double getAverageDuration()

getStdDeviation

public java.lang.Double getStdDeviation()

getTotalDuration

public long getTotalDuration()

getConcurrentThreads

public int getConcurrentThreads()

getTotalErrors

public long getTotalErrors()

getTotalEnters

public long getTotalEnters()

getTotalExits

public long getTotalExits()

getMinDuration

public long getMinDuration()

getMaxDuration

public long getMaxDuration()

isRootNode

public boolean isRootNode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildNodeAt

public TraceTreeNode getChildNodeAt(int childIndex)

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

getParentNode

public TraceTreeNode getParentNode()

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode