[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Implemented BasicTextUI.propertyChange
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Implemented BasicTextUI.propertyChange |
Date: |
Tue, 20 Sep 2005 20:06:03 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
I implemented the hook method
javax.swing.plaf.basic.BasicTextUI.propertyChange and moved some code to
BasicTextFieldUI.
2005-09-20 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTextUI.java
(UpdateHandler): Renamed to PropertyChangeHandler. This name is
closer to the purpose of this class.
(PropertyChangeHandler.propertyChange): Delegate property change
to propertyChange hook method in the enclosing BasicTextUI.
(propertyChange): New protected method. This serves as a hook
for subclasses to handle property changes in the text component.
* javax/swing/plaf/basic/BasicTextUI.java
(properyChange): Handle editable property here and adjust background
accordingly.
/Roman
swing-basiclaf.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Implemented BasicTextUI.propertyChange,
Roman Kennke <=