jdk/src/share/classes/javax/swing/tree/TreeCellRenderer.java
changeset 24567 a0ebe5fd56ff
parent 24495 a5c854a00679
equal deleted inserted replaced
24566:a43e10e7f3a6 24567:a0ebe5fd56ff
    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