1 |
2005-07-29 Roman Kennke <roman@kennke.org> |
2005-07-29 Roman Kennke <roman@kennke.org> |
2 |
|
|
3 |
|
* javax/swing/text/AbstractDocument.java |
4 |
|
(createPosition): Delegate this call to the actual Content. |
5 |
|
(LeafElement.constructor): Manage the start and end marks via |
6 |
|
Position objects. |
7 |
|
(LeafElement.getEndOffset): Use Position instead of static mark. |
8 |
|
(LeafElement.getStartOffset): Use Position instead of static mark. |
9 |
|
* javax/swing/text/DefaultStyledDocument.java |
10 |
|
(ElementBuffer.change): New method. Performs structural changes |
11 |
|
in the element tree that are necessary in order to change |
12 |
|
text attributes. |
13 |
|
(ElementBuffer.changeUpdate): New method. This is the method for |
14 |
|
change(). |
15 |
|
(ElementBuffer.split): New package-private method. Splits an |
16 |
|
element into two elements. |
17 |
|
(setCharacterAttributes): Implemented this method. This sets |
18 |
|
character attributes on a piece of content. |
19 |
|
* javax/swing/text/GapContent.java |
20 |
|
(GapContentPosition): New inner class. Implements the Position |
21 |
|
interface for GapContent. |
22 |
|
(constructor): Initialize the list that stores the Position objects. |
23 |
|
(createPosition): Reimplemented. Now uses the GapContentPosition |
24 |
|
class. |
25 |
|
(shiftEnd): Update the stored positions. |
26 |
|
(shiftGap): Update the stored positions. |
27 |
|
* javax/swing/text/LabelView.java: New class. |
28 |
|
|
29 |
|
2005-07-29 Roman Kennke <roman@kennke.org> |
30 |
|
|
31 |
* javax/swing/text/BoxView.java: New class. |
* javax/swing/text/BoxView.java: New class. |
32 |
* javax/swing/text/CompositeView.java: New class. |
* javax/swing/text/CompositeView.java: New class. |
33 |
* javax/swing/text/FlowView.java: New class. |
* javax/swing/text/FlowView.java: New class. |