de.mindcrimeilab.xsanalyzer.ui.renderer
Class SimpleTypeCellRenderer

java.lang.Object
  extended by de.mindcrimeilab.xsanalyzer.ui.renderer.SimpleTypeCellRenderer
All Implemented Interfaces:
ListCellRenderer, TreeCellRenderer

public class SimpleTypeCellRenderer
extends Object
implements TreeCellRenderer, ListCellRenderer

Version:
$Revision:62 $
Author:
Michael Engelhardt, $Author:me $

Constructor Summary
SimpleTypeCellRenderer()
           
 
Method Summary
 Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component getTreeCellRendererComponent(JTree tree, 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

SimpleTypeCellRenderer

public SimpleTypeCellRenderer()
Method Detail

getTreeCellRendererComponent

public Component getTreeCellRendererComponent(JTree tree,
                                              Object value,
                                              boolean selected,
                                              boolean expanded,
                                              boolean leaf,
                                              int row,
                                              boolean hasFocus)
Specified by:
getTreeCellRendererComponent in interface TreeCellRenderer

getListCellRendererComponent

public Component getListCellRendererComponent(JList list,
                                              Object value,
                                              int index,
                                              boolean isSelected,
                                              boolean cellHasFocus)
Specified by:
getListCellRendererComponent in interface ListCellRenderer


Copyright © 2010. All Rights Reserved.