ucot.ui.gui.tree.analyzemodeltree
Class MethodTreeItem

java.lang.Object
  extended by ucot.ui.gui.tree.analyzemodeltree.TreeItem
      extended by ucot.ui.gui.tree.analyzemodeltree.MethodTreeItem
All Implemented Interfaces:
java.lang.Comparable

public class MethodTreeItem
extends TreeItem

This class represents method TreeItem.


Field Summary
(package private)  java.lang.String entity
          The name of the entity that this method belongs to.
 
Constructor Summary
MethodTreeItem(java.lang.String entity, java.lang.String method, AnalyzeTreeModel model, TreeItem parent)
           Costructs the object.
 
Method Summary
 java.util.List getChildren()
          Returns the child items of this item.
 javax.swing.Icon getIcon()
          Returns Icon for this TreeItem.
 
Methods inherited from class ucot.ui.gui.tree.analyzemodeltree.TreeItem
compareTo, getAnalyzeModel, getName, getParent, getPath, getTreeModel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entity

java.lang.String entity
The name of the entity that this method belongs to.

Constructor Detail

MethodTreeItem

public MethodTreeItem(java.lang.String entity,
                      java.lang.String method,
                      AnalyzeTreeModel model,
                      TreeItem parent)

Costructs the object.

Parameters:
entity - The name of the entity that the method belongs to.
method - The name of the menthod.
model - The TreeModel this item belongs to.
parent - The parent node.
Method Detail

getChildren

public java.util.List getChildren()
Description copied from class: TreeItem
Returns the child items of this item.

Overrides:
getChildren in class TreeItem
Returns:
The childs.

getIcon

public javax.swing.Icon getIcon()
Description copied from class: TreeItem
Returns Icon for this TreeItem.

Specified by:
getIcon in class TreeItem
Returns:
Icon for this TreeItem.