[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Fixes for CompositeView
From: |
Roman Kennke |
Subject: |
[cp-patches] Fixes for CompositeView |
Date: |
Thu, 25 Aug 2005 21:05:38 +0200 |
Here come some fixes for javax.swing.text.CompositeView.
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Fixes for CompositeView,
Roman Kennke <=