[cp-patches] FYI: BasicTreeUI stuff

Roman Kennke kennke at aicas.com
Thu Jun 8 12:47:08 UTC 2006


I corrected the installKeyboardActions() impl so that shared
input/action maps are used and installed correctly. Also, I implemented
the TreeHomeAction and fixed the TreeIncrementAction to work correctly.

2006-06-08  Roman Kennke  <kennke at aicas.com>

        * javax/swing/plaf/basic/BasicTreeUI.java
        (installKeyboardActions): Rewritten to correctly install the UI
        input and action maps.
        (getActionMap): New helper method.
        (createDefaultActionMap): New helper method.
        (TreeHomeAction.TreeHomeAction()): Implemented.
        (TreeHomeAction.actionPerformed): Implemented.
        (TreeHomeAction.isEnabled): Implemented.
        (TreeIncrementAction.TreeIncrementAction()): Implemented.
        (TreeIncrementAction.actionPerformed): Use action name as
command.
        (TreeIncrementAction.isEnabled): Implemented.

/Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 13062 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060608/938adbb3/patch.bin


More information about the Classpath-patches mailing list