classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: fix for bug #23255


From: Lillian Angel
Subject: [cp-patches] Patch: fix for bug #23255
Date: Tue, 09 Aug 2005 09:26:22 -0400

2005-08-09  Lillian Angel  <address@hidden>

        Fixes Bug #23255
        * javax/swing/plaf/basic/BasicTreeUI.java:
        Fixed entire class to use Objects as opposed to TreeNodes.
        (getPathBounds): Changed root to Object
        (getPathForRow): Likewise.
        (getRowCount): Likewise.
        (getPreferredSize): Changed root and nextNode to be of type
        Object.
        (isLeaf): Took out unnecessary code.
        (keyPressed): Changed all TreeNodes to be of type Object.
        (getCellLocation): Likewise.
        (paintNode): Likewise.
        (paintRecursive): Likewise.
        (getParent): Implemented.
        (findNode): Helper Implemented.
        (getNextVisibleNode): Changed return and parameter type to 
        Object.
        (getPreviousVisibleNode): Likewise.
        (getNextNode): Likewise.
        (getPreviousNode): Likewise.
        (getNextSibling): Likewise.
        (getPreviousSibling): Likewise.
        (getPathToRoot): Likewise.
        (getLevel): Likewise.
        * javax/swing/tree/DefaultTreeModel.java
        (getIndexOfChild): Implemented.

Attachment: tree.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]