[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: CompositeView fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: CompositeView fixes |
Date: |
Thu, 25 Aug 2005 21:07:10 +0200 |
Sorry, forgot the diff.
2005-08-25 Roman Kennke <address@hidden>
* javax/swing/text/CompositeView.java
(loadChildren): Call replace to actually change the child
elements. This way subclasses can modify the child
management behaviour by simply overriding replace.
(setParent): Only call loadChildren if the parent to be set
is actually not null.
(replace): Check for null children. Set the parent of removed
children to null. Set the parent of the added children to
this.
(modelToView): Added some sanity checks.
/Roman
CompositeView.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: CompositeView fixes,
Roman Kennke <=