org.netbeans.swing.plaf.util |
|
Java Source File Name | Type | Comment |
GuaranteedValue.java | Class | A simple mechanism for guaranteeing the presence of a value in UIDefaults.
Some look and feels (GTK/Synth) don't necessarily provide these colors,
resulting in null pointer exceptions. |
NbTheme.java | Class | An extension of javax.swing.plaf.metal.DefaultMetalTheme which can read a an xml
file named themes.xml and apply the theme defined in XML. |
RelativeColor.java | Class | A color which can be placed into UIDefaults, which is computed from:
- A base color, as defined in a UI spec - this might be the expected value
for window titlebars, for example
- A target color, as defined in a UI spec, whose color is not the base
color, but has a relation to it (such as brighter or darker, or
hue shifted)
- The actual color - which may differ from the base color if the user has
customized their UI them (for example, changing the color defaults in
Windows)
- (optional) A color that the result must contrast with sufficiently that
text will be readable
When constructing the real value, a color will be generated which has the
same relationship to the original value as the base color has to the target
color.
What this class is for
A number of components in NetBeans have colors that should be based on a
color taken from the desktop theme. |
UIBootstrapValue.java | Class | Value that can be placed into UIDefaults, which will put additional items into
UIDefaults when its value is requested.
The idea is to avoid putting a lot of things that may not be used into
UIDefaults on startup. |
UIUtils.java | Class | XP color scheme installer. |