org.sintef.umt.hutntree
Class HutnTreeCellRenderer

java.lang.Object
  extended byorg.sintef.umt.hutntree.HutnTreeCellRenderer
All Implemented Interfaces:
javax.swing.tree.TreeCellRenderer

public class HutnTreeCellRenderer
extends java.lang.Object
implements javax.swing.tree.TreeCellRenderer


Field Summary
protected  HutnTreeView _owner
           
protected static javax.swing.ImageIcon actionstateimg
           
protected static javax.swing.ImageIcon activitygraphimg
           
protected static javax.swing.ImageIcon actorimg
           
protected static javax.swing.ImageIcon assetimg
           
protected static javax.swing.ImageIcon associationimg
           
protected static javax.swing.ImageIcon attributeimg
           
protected  java.awt.Font bold_normal
           
protected static javax.swing.ImageIcon choiceimg
           
protected static javax.swing.ImageIcon classimg
           
protected  javax.swing.ImageIcon defaultimg
           
protected static javax.swing.ImageIcon dependencyimg
           
protected static javax.swing.ImageIcon endstateimg
           
protected static javax.swing.ImageIcon forkimg
           
protected static javax.swing.ImageIcon incidentscenarioimg
           
protected static javax.swing.ImageIcon interfaceimg
           
protected static javax.swing.ImageIcon intransitionimg
           
protected static javax.swing.ImageIcon joinimg
           
protected  javax.swing.ImageIcon marked_packageimg
          Icons for technology marks
protected  java.awt.Font normal_font
           
protected static javax.swing.ImageIcon objectflowimg
           
protected static javax.swing.ImageIcon operationimg
           
protected static javax.swing.ImageIcon outtransitionimg
           
protected static javax.swing.ImageIcon packageimg
           
protected static javax.swing.ImageIcon parameterimg
           
protected static javax.swing.ImageIcon roleimg
           
protected  java.awt.Font small_font
           
protected static javax.swing.ImageIcon startstateimg
           
protected static javax.swing.ImageIcon threatimg
           
protected static javax.swing.ImageIcon threatscenarioimg
           
protected static javax.swing.ImageIcon treatmentimg
           
protected static javax.swing.ImageIcon typeimg
           
protected static javax.swing.ImageIcon typepackageimg
           
protected static javax.swing.ImageIcon usecaseimg
           
 
Constructor Summary
HutnTreeCellRenderer(HutnTreeView owner)
           
 
Method Summary
 java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_owner

protected HutnTreeView _owner

packageimg

protected static javax.swing.ImageIcon packageimg

typepackageimg

protected static javax.swing.ImageIcon typepackageimg

classimg

protected static javax.swing.ImageIcon classimg

typeimg

protected static javax.swing.ImageIcon typeimg

associationimg

protected static javax.swing.ImageIcon associationimg

attributeimg

protected static javax.swing.ImageIcon attributeimg

operationimg

protected static javax.swing.ImageIcon operationimg

parameterimg

protected static javax.swing.ImageIcon parameterimg

interfaceimg

protected static javax.swing.ImageIcon interfaceimg

dependencyimg

protected static javax.swing.ImageIcon dependencyimg

actionstateimg

protected static javax.swing.ImageIcon actionstateimg

outtransitionimg

protected static javax.swing.ImageIcon outtransitionimg

intransitionimg

protected static javax.swing.ImageIcon intransitionimg

objectflowimg

protected static javax.swing.ImageIcon objectflowimg

activitygraphimg

protected static javax.swing.ImageIcon activitygraphimg

choiceimg

protected static javax.swing.ImageIcon choiceimg

forkimg

protected static javax.swing.ImageIcon forkimg

joinimg

protected static javax.swing.ImageIcon joinimg

roleimg

protected static javax.swing.ImageIcon roleimg

startstateimg

protected static javax.swing.ImageIcon startstateimg

endstateimg

protected static javax.swing.ImageIcon endstateimg

usecaseimg

protected static javax.swing.ImageIcon usecaseimg

threatscenarioimg

protected static javax.swing.ImageIcon threatscenarioimg

incidentscenarioimg

protected static javax.swing.ImageIcon incidentscenarioimg

treatmentimg

protected static javax.swing.ImageIcon treatmentimg

actorimg

protected static javax.swing.ImageIcon actorimg

threatimg

protected static javax.swing.ImageIcon threatimg

assetimg

protected static javax.swing.ImageIcon assetimg

marked_packageimg

protected final javax.swing.ImageIcon marked_packageimg
Icons for technology marks


defaultimg

protected final javax.swing.ImageIcon defaultimg

small_font

protected final java.awt.Font small_font

normal_font

protected final java.awt.Font normal_font

bold_normal

protected final java.awt.Font bold_normal
Constructor Detail

HutnTreeCellRenderer

public HutnTreeCellRenderer(HutnTreeView owner)
Method Detail

getTreeCellRendererComponent

public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree,
                                                       java.lang.Object value,
                                                       boolean selected,
                                                       boolean expanded,
                                                       boolean leaf,
                                                       int row,
                                                       boolean hasFocus)
Specified by:
getTreeCellRendererComponent in interface javax.swing.tree.TreeCellRenderer


Copyright © 2003-2005 SINTEF. All Rights Reserved.