[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11309] Swing; missing L&F config methods.
From: |
Michael Koch |
Subject: |
[commit-cp] [bugs #11309] Swing; missing L&F config methods. |
Date: |
Thu, 30 Dec 2004 11:19:45 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11309] Latest Modifications:
Changes by:
Michael Koch <address@hidden>
'Date:
Don 30.12.2004 at 16:03 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
All missing methods now added to CVS. They will be in GNU classpath 0.13.
/**************************************************************************/
[bugs #11309] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11309>
Project: classpath
Submitted by: Thomas Zander
On: Mon 13.12.2004 at 14:13
Category: classpath
Severity: 5 - Average
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
Platform Version: None
Summary: Swing; missing L&F config methods.
Original Submission: Each L&F based on the Metal L&F can provide swing-wide
color and font settings, which are then used by the various components by
calling the static methods on MetalLookAndFeel, like getControl().
These methods are missing currently.
The initialisation of which colors/fonts these methods return is done in
MetalTheme, specifically the addCustomEntriesToTable(UIDefaults table) method
which means that the UIDefaults object should be used to provide the data to
return in the above methods.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Don 30.12.2004 at 16:03 By: Michael Koch <mkoch>
All missing methods now added to CVS. They will be in GNU classpath 0.13.
-------------------------------------------------------
Date: Mit 22.12.2004 at 20:27 By: Thomas Zander <zander>
Cool; thanx.
Two minor points:
getControlTextColor should do a getControlInfo
getHighlightedTextColor should do a getControlTextColor
-------------------------------------------------------
Date: Mit 22.12.2004 at 16:58 By: Michael Koch <mkoch>
I just commited a patch to add MetalTheme and DefaultMetalTheme. I only
implemented the getters for the ColorUIResource properties. I hope I got the
mapping in MetalTheme correct. I wrote little mauve testcases to get the basics
correct. The getters for the FontUIResource properties will be more
non-trivial. I will leave this bug open as long as they are not implemented.
-------------------------------------------------------
Date: Die 21.12.2004 at 22:01 By: Thomas Zander <zander>
They do; but note that the methods on MetalTheme are not static, and that means
you have to resolve the current theme set by the user. This can be an instance
that extends the MetalTheme, like the DefaultMetalTheme, or MyTheme.
-------------------------------------------------------
Date: Die 21.12.2004 at 21:28 By: Michael Koch <mkoch>
Just to make sure: Does all the getSomething() methods in MetalLookAndFeel
forward to MetalTheme.getSomething() ?
Sounds easy to implement.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11309>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/