commit-classpath
[Top][All Lists]
Advanced

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

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


From: Audrius Meskauskas
Subject: [commit-cp] classpath javax/swing/JTree.java javax/swing/De...
Date: Wed, 25 Jan 2006 19:17:57 +0000

CVSROOT:        /sources/classpath
Module name:    classpath
Branch:         
Changes by:     Audrius Meskauskas <address@hidden>     06/01/25 19:17:57

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

Log message:
        2006-01-25  Audrius Meskauskas  <address@hidden>
        
        PR 25205
        * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
        Rewritten.
        * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
        action if not editing.
        * javax/swing/plaf/basic/BasicTreeUI.java
        (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
        (CellEditorHandler.editingStopped): Delegate to stopEditing.
        (EditorUpdateTimer): Removed.
        (TreeAction.actionPerformed): Stop and not cancel the current editing
        when starting editing another node.
        (editorTimer, newVal): Removed.
        (cancelEditing): Do not send the cancel message.
        (completeEditing): Obtain the edited value from the editor.
        (finish): New method.
        (paintRow): Do not paint the editing component here.
        (startEditing, stopEditing): Rewritten.
        * javax/swing/tree/DefaultTreeCellEditor.java
        (DefaultTextField): Added SVUID.
        (EditorContainer): Rewritten.
        (RealEditorListener): New inner class.
        (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
        (constructor): Add cell editor listener. Do not instantiate timer.
        (actionPerformed): Return without action.
        (cancelCellEditing): Rewritten.
        (createTreeCellEditor): Add cell editor listener to the editor.
        (getCellEditorValue): Request the value from the realEditor.
        (isCellEditable): Removed timer management.
        (prepareForEditing): Remove all components befor adding the
        editingComponent.
        (startEditingTimer): Start only if it is not null.
        (stopCellEditing): Rewritten.
        (stopEditingTimer): New method.
        (valueChanged): Do not configure editing component here.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JTree.java.diff?tr1=1.53&tr2=1.54&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultCellEditor.java.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6165&tr2=1.6166&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.117&tr2=1.118&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/tree/DefaultTreeCellEditor.java.diff?tr1=1.18&tr2=1.19&r1=text&r2=text




reply via email to

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