[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/28696] JToolTip should support HTML
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/28696] JToolTip should support HTML |
Date: |
13 Aug 2006 21:35:08 -0000 |
------- Comment #4 from cvs-commit at developer dot classpath dot org
2006-08-13 21:35 -------
Subject: Bug 28696
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/08/13 21:33:59
Modified files:
javax/swing/plaf/basic: BasicHTML.java BasicToolTipUI.java
javax/swing/plaf/metal: MetalToolTipUI.java
. : ChangeLog
Log message:
2006-08-13 Roman Kennke <address@hidden>
PR 28696
* javax/swing/plaf/basic/BasicHTML.java
(HTMLRootView.HTMLRootView): Trigger initial layout.
(HTMLRootView.setSize): Overridden to forward to real view.
* javax/swing/plaf/basic/BasicToolTipUI.java
(PropertyChangeHandler): New inner class. Updates the HTML
renderer.
(propertyChangeHandler): New field.
(getMaximumSize): Add HTML width delta.
(getMinimumSize): Add HTML width delta.
(getPreferredSize): Reimplemented to use HTML view for size
calculation if appropriate, otherwise use simple stringWidth()
measurement.
(installListeners): Install propertyChangeHandler.
(uninstallListeners): Uninstall propertyChangeHandler.
(installUI): Update HTML renderer.
(uninstallUI): Update HTML renderer.
(paint): Reimplemented to use HTML view for rendering if
appropriate, simple drawString otherwise.
* javax/swing/plaf/metal/MetalToolTipUI.java
(getPreferredSize): Call super and add accelerator delta.
(paint): Simply call super.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicHTML.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicToolTipUI.java?cvsroot=classpath&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalToolTipUI.java?cvsroot=classpath&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8384&r2=1.8385
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28696
- [Bug swing/28696] New: JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML, roman at kennke dot org, 2006/08/11
- [Bug swing/28696] JToolTip should support HTML,
cvs-commit at developer dot classpath dot org <=
- [Bug swing/28696] JToolTip should support HTML, hendrich at informatik dot uni-hamburg dot de, 2006/08/18
- [Bug swing/28696] JToolTip should support HTML, roman at kennke dot org, 2006/08/18