< prev index next >

src/java.desktop/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java

Print this page

        

*** 58,79 **** * each property is initialized from the defaults table. When the * look and feel changes ({@code updateUI} is invoked), any properties * that have a value of type {@code UIResource} are refreshed from the * defaults table. The following table lists the mapping between * {@code DefaultTreeCellRenderer} property and defaults table key: ! * <table border="1" cellpadding="1" cellspacing="0" summary=""> ! * <tr valign="top" style="text-align:left"> ! * <th style="background-color:#CCCCFF;text-align:left">Property: ! * <th style="background-color:#CCCCFF;text-align:left">Key: * <tr><td>"leafIcon"<td>"Tree.leafIcon" * <tr><td>"closedIcon"<td>"Tree.closedIcon" * <tr><td>"openIcon"<td>"Tree.openIcon" * <tr><td>"textSelectionColor"<td>"Tree.selectionForeground" * <tr><td>"textNonSelectionColor"<td>"Tree.textForeground" * <tr><td>"backgroundSelectionColor"<td>"Tree.selectionBackground" * <tr><td>"backgroundNonSelectionColor"<td>"Tree.textBackground" * <tr><td>"borderSelectionColor"<td>"Tree.selectionBorderColor" * </table> * <p> * <strong><a id="override">Implementation Note:</a></strong> * This class overrides * <code>invalidate</code>, --- 58,86 ---- * each property is initialized from the defaults table. When the * look and feel changes ({@code updateUI} is invoked), any properties * that have a value of type {@code UIResource} are refreshed from the * defaults table. The following table lists the mapping between * {@code DefaultTreeCellRenderer} property and defaults table key: ! * ! * <table class="striped"> ! * <caption>Properties</caption> ! * <thead> ! * <tr> ! * <th>Property: ! * <th>Key: ! * </tr> ! * </thead> ! * <tbody> * <tr><td>"leafIcon"<td>"Tree.leafIcon" * <tr><td>"closedIcon"<td>"Tree.closedIcon" * <tr><td>"openIcon"<td>"Tree.openIcon" * <tr><td>"textSelectionColor"<td>"Tree.selectionForeground" * <tr><td>"textNonSelectionColor"<td>"Tree.textForeground" * <tr><td>"backgroundSelectionColor"<td>"Tree.selectionBackground" * <tr><td>"backgroundNonSelectionColor"<td>"Tree.textBackground" * <tr><td>"borderSelectionColor"<td>"Tree.selectionBorderColor" + * </tbody> * </table> * <p> * <strong><a id="override">Implementation Note:</a></strong> * This class overrides * <code>invalidate</code>,
< prev index next >