commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath ./ChangeLog javax/swing/JTree.java ja...


From: Lillian Angel
Subject: [commit-cp] classpath ./ChangeLog javax/swing/JTree.java ja...
Date: Fri, 02 Sep 2005 14:03:26 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Lillian Angel <address@hidden>  05/09/02 18:03:25

Modified files:
        .              : ChangeLog 
        javax/swing    : JTree.java 
        javax/swing/plaf/basic: BasicLookAndFeel.java BasicTreeUI.java 
        javax/swing/tree: DefaultTreeCellEditor.java 
                          DefaultTreeCellRenderer.java 

Log message:
        JTree editing and key handling is now completed.
        
        2005-09-02  Lillian Angel  <address@hidden>
        
        * javax/swing/JTree.java
        (installUI): TreeSelectionListener removed because added too many times.
        * javax/swing/plaf/basic/BasicLookAndFeel.java:
        Fixed names for some tree defaults.
        * javax/swing/plaf/basic/BasicTreeUI.java:
        Added new fields for editing and keyboard actions.
        (setCellEditor): Took out unneeded if statement.
        (isEditing): Returned boolean instead.
        (updateCellEditor): Used set method.
        (installDefaults): Set focus to tree.
        (installKeyBoardActions): Implemented.
        (convertModifiers): New function implemented.
        (installUI): Used set method and initialized isEditing.
        (startEditing): set isEditing.
        (TreeAction): New class implemented to perform keyboard actions.
        (ActionListenerProxy): New private class used to distribute the key
        board actions to the true receiver.
        (editingStopped): Added code to prevent NPEs. set isEditing and focus
        to tree. Also, removed TreeSelectionListeners for cellEditor.
        (editingCanceled): Likewise.
        (keyPressed): Removed code, not needed anymore.
        (actionPerformed): Implemented for up/down keyboard actions.
        (actionPerformed): Implemented for left/right keyboard actions.
        * javax/swing/tree/DefaultTreeCellEditor.java
        (DefaultTreeCellEditor): Set lastPath.
        (isCellEditable): editingComponent should be configured if has not been.
        (stopCellEditing): No need to set cell editor to null here.
        (cancelCellEditing): Likewise.
        (valueChanged): Set tPath to the path that was last selected. Used for
        the click-pause-click implementation.
        (actionPerformed): Re-implemented in a simplier fashion.
        * javax/swing/tree/DefaultTreeCellRenderer.java
        (getTreeCellRendererComponent): Only set border color if val is lead
        selection path.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4624&tr2=1.4625&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JTree.java.diff?tr1=1.35&tr2=1.36&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java.diff?tr1=1.50&tr2=1.51&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.72&tr2=1.73&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeCellEditor.java.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeCellRenderer.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text





reply via email to

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