< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 59,82 **** * 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" align="left"> ! * <th style="background-color:#CCCCFF" align="left">Property: ! * <th style="background-color:#CCCCFF" 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 name="override">Implementation Note:</a></strong> * This class overrides * <code>invalidate</code>, * <code>validate</code>, * <code>revalidate</code>, * <code>repaint</code>, --- 59,82 ---- * 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>, * <code>validate</code>, * <code>revalidate</code>, * <code>repaint</code>,
< prev index next >