ucot.ui.gui.tree.analyzemodeltree
Class EntityTreeItem

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

public class EntityTreeItem
extends AbstractEntityTreeItem

This class represents entity tree item.

Author:
pajumasu

Field Summary
 
Fields inherited from class ucot.ui.gui.tree.analyzemodeltree.AbstractEntityTreeItem
expand
 
Constructor Summary
EntityTreeItem(java.lang.String name, AnalyzeTreeModel model, TreeItem parent)
           Constructs the object.
EntityTreeItem(java.lang.String name, AnalyzeTreeModel model, TreeItem parent, boolean expand)
           Constructs the object.
 
Method Summary
 javax.swing.Icon getIcon()
          Returns Icon for this TreeItem.
 
Methods inherited from class ucot.ui.gui.tree.analyzemodeltree.AbstractEntityTreeItem
getAttributeTreeItems, getChildren, getChildTreeItems, getMethodTreeItems
 
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
 

Constructor Detail

EntityTreeItem

public EntityTreeItem(java.lang.String name,
                      AnalyzeTreeModel model,
                      TreeItem parent)

Constructs the object.

Parameters:
name - The name of the entity.
model - The TreeModel this item belongs to.
parent - The paren of this node.

EntityTreeItem

public EntityTreeItem(java.lang.String name,
                      AnalyzeTreeModel model,
                      TreeItem parent,
                      boolean expand)

Constructs the object.

Parameters:
name - The name of the entity.
model - The TreeModel this item belongs to.
parent - The paren of this node.
expand - Should the node be expandable (Show childs or not).
Method Detail

getIcon

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

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