CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Lillian Angel <[EMAIL PROTECTED]> 05/06/29 13:20:03
Modified files: javax/swing : JTree.java javax/swing/plaf/basic: BasicTreeUI.java javax/swing/tree: AbstractLayoutCache.java DefaultTreeModel.java DefaultTreeSelectionModel.java FixedHeightLayoutCache.java VariableHeightLayoutCache.java . : ChangeLog Log message: 2005-06-29 Lillian Angel <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicTreeUI.java: (BasicTreeUI): Initalization of listeners and instances. (createUI): Implementation (getHashColor): Implementation (setLeftChildIndent): Implementation (getLeftChildIndent): Implementation (setRightChildIndent): Implementation (getRightChildIndent): Implementation (setExpandedIcon): Implementation (getExpandedIcon): Implementation (setCollapsedIcon): Implementation (getCollapsedIcon): Implementation (setLargeModel): Implementation (isLargeModel): Implementation (setRowHeight): Implementation (getRowHeight): Implementation (setCellRenderer): Implementation (getCellRenderer): Implementation (setModel): Implementation (getModel): Implementation (setRootVisible): Implementation (isRootVisible): Implementation (setShowsRootHandles): Implementation (getShowsRootHandles): Implementation (setCellEditor): Implementation (getCellEditor): Implementation (setEditable): Implementation (isEditable): Implementation (setSelectionModel): Implementation (getSelectionModel): Implementation (getPathForRow): Implementation (getRowForPath): Implementation (getRowCount): Implementation (getClosestPathForLocation): Implementation (createPropertyChangeListener): Implementation (createMouseListener): Implementation (createFocusListener): Implementation (createKeyListener): Implementation (createSelectionModelPropertyChangeListener): Implementation (createTreeSelectionListener): Implementation (createCellEditorListener): Implementation (createComponentListener): Implementation (createTreeExpansionListener): Implementation (createLayoutCache): Implementation (createCellRendererPane): Implementation (createDefaultCellEditor): Implementation (createDefaultCellRenderer): Implementation (createTreeModelListener): Implementation (uninstallListeners): Implementation (getLastChildPath): Implementation (configureLayoutCache): Implementation (installDefaults): Implementation (installListeners): Implementation (installUI): Implementation (uninstallDefaults): Implementation (uninstallUI): Implementation (paint): moderate changes, so painting works with new changes (MouseInputHandler.mouseClicked): Implementation (paintLeaf): made private (paintNonLeaf): made private (paintRecursive): made private Several variables, instances and methods were adding according to the API. The methods that were added and not in the list above, have not been implemented yet. All JavaDoc is updated, as well as formatting. * javax/swing/JTree.java: (createChildren): checked that children is not null. * javax/swing/tree/AbstractLayoutCache.java: (getNodeDimensions): slight modifications to return initialized Rectangle when the bounds are null. Implementation not complete. * javax/swing/tree/DefaultTreeSelectionModel.java: (addSelectionPath): Implementation (addSelectionPaths): Implementation (removeSelectionPath): Implementation (removeSelectionPaths): Implementation (getSelectionPaths): returned the selection array (clearSelection): set the selection array to null * javax/swing/tree/FixedHeightLayoutCache.java: (setModel): removed this method because it is defined in the abstract parent. (setRootVisible): removed this method because it is defined in the abstract parent. (setRowHeight): removed this method because it is defined in the abstract parent. Also, some formatting was updated. * javax/swing/tree/VariableHeightLayoutCache.java: (setRowHeight): removed this method because it is defined in the abstract parent. * javax/swing/tree/DefaultTreeModel.java: (DefaultTreeModel): Needed to initialize root if it was passed into the constructor as null. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JTree.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/AbstractLayoutCache.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeModel.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeSelectionModel.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/FixedHeightLayoutCache.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/VariableHeightLayoutCache.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3935&tr2=1.3936&r1=text&r2=text _______________________________________________ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath