[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: |
Thomas Zander |
Subject: |
[commit-cp] [bugs #11309] Swing; missing L&F config methods. |
Date: |
Wed, 22 Dec 2004 15:43:06 -0500 |
User-agent: |
Mozilla/3.01Gold (Macintosh; I; 68K) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11309] Latest Modifications:
Changes by:
Thomas Zander <address@hidden>
'Date:
Wed 12/22/2004 at 20:27 (GMT)
------------------ Additional Follow-up Comments ----------------------------
Cool; thanx.
Two minor points:
getControlTextColor should do a getControlInfo
getHighlightedTextColor should do a getControlTextColor
/**************************************************************************/
[bugs #11309] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11309>
Project: classpath
Submitted by: Thomas Zander
On: Mon 12/13/2004 at 14:13
Category: classpath
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
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: Wed 12/22/2004 at 20:27 By: Thomas Zander <zander>
Cool; thanx.
Two minor points:
getControlTextColor should do a getControlInfo
getHighlightedTextColor should do a getControlTextColor
-------------------------------------------------------
Date: Wed 12/22/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: Tue 12/21/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: Tue 12/21/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/