de.mindcrimeilab.xsanalyzer.ui.renderer
Class ComplexTypeCellRenderer

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

public class ComplexTypeCellRenderer
extends Object
implements TreeCellRenderer, ListCellRenderer

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

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

ComplexTypeCellRenderer

public ComplexTypeCellRenderer()
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.