[Top][All Lists]

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

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

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

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

Modified files:
        .              : ChangeLog 
        javax/swing    : 

Log message:
        JTree editing and key handling is now completed.
        2005-09-02  Lillian Angel  <address@hidden>
        * javax/swing/
        (installUI): TreeSelectionListener removed because added too many times.
        * javax/swing/plaf/basic/
        Fixed names for some tree defaults.
        * javax/swing/plaf/basic/
        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): 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/
        (getTreeCellRendererComponent): Only set border color if val is lead
        selection path.


reply via email to

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