bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/23255] Current BasicTreeUI assumes root is a TreeNode


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/23255] Current BasicTreeUI assumes root is a TreeNode
Date: 9 Aug 2005 13:37:19 -0000

------- Additional Comments From cvs-commit at developer dot classpath dot org  
2005-08-09 13:37 -------
Subject: Bug 23255

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Lillian Angel <address@hidden>  05/08/09 13:27:17

Modified files:
        .              : ChangeLog 
        javax/swing/plaf/basic: BasicTreeUI.java 
        javax/swing/tree: DefaultTreeModel.java 

Log message:
        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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4359&tr2=1.4360&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.54&tr2=1.55&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeModel.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text






-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23255




reply via email to

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