[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba... |
Date: |
Wed, 11 May 2005 06:36:26 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/05/11 10:36:26
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicTextUI.java
javax/swing/text: FieldView.java JTextComponent.java View.java
Log message:
2005-05-11 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.insertUpdate): Added. Forwards the update to the real
root view.
(RootView.removeUpdate): Added. Forwards the update to the real
root view.
(RootView.changedUpdate): Added. Forwards the update to the real
root view.
(DocumentHandler): Added. Receives DocumentEvents and forwards
them to the corresponding View methods.
(installDocumentListeners): Installs Document listeners on the
text component's document model.
* javax/swing/plaf/text/FieldView.java
(adjustAllocation): Added. Adjusts the view area so that the
input line is centered vertically and correctly aligned horizontally.
(modelToView): Call adjustAllocation before call to
super.modelToView(..).
(paint): Call adjustAllocation before call to super.paint(..).
(insertUpdate): Added. Calls adjustAllocation before call to
super.insertUpdate(..).
(removeUpdate): Added. Calls adjustAllocation before call to
super.removeUpdate(..).
(changedUpdate): Added. Calls adjustAllocation before call to
super.changedUpdate(..).
* javax/swing/text/JTextComponent.java:
Removed RepaintListener. This is no longer needed and should
instead be handled by the text component's View.
* javax/swing/plaf/text/View.java
(paint): If parent is null, we still need to make sure the
text component is updated through calling revalidate().
(insertUpdate): Added. Receive notification about changes in the
text document model.
(removeUpdate): Added. Receive notification about changes in the
text document model.
(changedUpdate): Added. Receive notification about changes in the
text document model.
(updateChildren): Added. Updates the list of child Views after
text has been modified.
(forwardUpdate): Added. Forwards the update notification to the
child Views.
(forwardUpdateToView): Added. Actually performs the forwarding of
update events.
(updateLayout): Added. Makes sure that the display is in sync with
the model.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3588&tr2=1.3589&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/FieldView.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/JTextComponent.java.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/View.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...,
Roman Kennke <=
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/11
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/11
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/13
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/13
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/19
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/20
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/22
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/22
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/23
- [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba..., Roman Kennke, 2005/05/25