de.mindcrimeilab.xsanalyzer.ui.renderer
Class SchemaElementsRenderer

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

public class SchemaElementsRenderer
extends Object
implements TreeCellRenderer, ListCellRenderer

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

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

SchemaElementsRenderer

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