equal
deleted
inserted
replaced
65 * // this row represents the current drop location |
65 * // this row represents the current drop location |
66 * // so render it specially, perhaps with a different color |
66 * // so render it specially, perhaps with a different color |
67 * } |
67 * } |
68 * </pre> |
68 * </pre> |
69 * |
69 * |
70 * @return the <code>Component</code> that the renderer uses to draw the value |
70 * @param tree the receiver is being configured for |
|
71 * @param value the value to render |
|
72 * @param selected whether node is selected |
|
73 * @param expanded whether node is expanded |
|
74 * @param leaf whether node is a lead node |
|
75 * @param row row index |
|
76 * @param hasFocus whether node has focus |
|
77 * @return the {@code Component} that the renderer uses to draw the value |
71 */ |
78 */ |
72 Component getTreeCellRendererComponent(JTree tree, Object value, |
79 Component getTreeCellRendererComponent(JTree tree, Object value, |
73 boolean selected, boolean expanded, |
80 boolean selected, boolean expanded, |
74 boolean leaf, int row, boolean hasFocus); |
81 boolean leaf, int row, boolean hasFocus); |
75 |
82 |