classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches]: FYI: JTree editing.


From: Lillian Angel
Subject: Re: [cp-patches]: FYI: JTree editing.
Date: Wed, 24 Aug 2005 16:46:06 -0400

Accidently committed the change to DefaultCellEditor. I committed the
change.

2005-08-24  Lillian Angel  <address@hidden>

        * javax/swing/DefaultCellEditor.java
        (isCellEditable): Reversed last changes.



On Wed, 2005-08-24 at 16:36 -0400, Lillian Angel wrote:
> Still working on JTree editing. You will not be able to test this yet,
> but ATM it is almost working :)
> 
> 2005-08-24  Lillian Angel  <address@hidden>
> 
>         * javax/swing/DefaultCellEditor.java
>         (isCellEditable): If the event is null, the cell is still
>         editable.
>         * javax/swing/plaf/basic/BasicTextUI.java
>         (getVisibleEditorRect): Use getPreferredSize to get the width
>         and height.
>         * javax/swing/tree/DefaultTreeCellEditor.java
>         (paint): Fixed to paint the JTextField with the background
>         and border at the correct location.
>         (DefaultTreeCellEditor): Changed to initialize realEditor.
>         (configureEditingComponent): Helper function implemented.
>         (getTreeCellEditorComponent): Fixed to use realEditor to get 
>       component.        
>       (isCellEditable): Fixed to configure editing component.
>         (shouldSelectCell): Always returns true.
>         (stopCellEditing): Fixed to configure editing component if 
>       needed.
>         (cancelCellEditing): Fixed to configure editing component if 
>       needed.
>         (createTreeCellEditor): Fixed to initialize fields.
> 

Attachment: patch.diff
Description: Text Data


reply via email to

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