< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsTreeUI.java

Print this page

        

*** 201,212 **** public class WindowsTreeCellRenderer extends DefaultTreeCellRenderer { /** * Configures the renderer based on the passed in components. * The value is set from messaging the tree with ! * <code>convertValueToText</code>, which ultimately invokes ! * <code>toString</code> on <code>value</code>. * The foreground color is set based on the selection and the icon * is set based on on leaf and expanded. */ public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, --- 201,212 ---- public class WindowsTreeCellRenderer extends DefaultTreeCellRenderer { /** * Configures the renderer based on the passed in components. * The value is set from messaging the tree with ! * {@code convertValueToText}, which ultimately invokes ! * {@code toString} on {@code value}. * The foreground color is set based on the selection and the icon * is set based on on leaf and expanded. */ public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel,
< prev index next >