net.sf.parser4j.parsetreeinspector.service
Class NodeTreeCellRenderer

java.lang.Object
  extended by net.sf.parser4j.parsetreeinspector.service.NodeTreeCellRenderer
All Implemented Interfaces:
javax.swing.tree.TreeCellRenderer

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

IJtreeNode renderer in Jtree

Author:
luc peuvrier

Constructor Summary
NodeTreeCellRenderer()
           
 
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
 

Constructor Detail

NodeTreeCellRenderer

public NodeTreeCellRenderer()
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 © 2008-2009 Luc Peuvrier. All Rights Reserved.