|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.fonts.DefaultMacFontPolicy
public class DefaultMacFontPolicy
The default font policy for Mac desktops.
| Constructor Summary | |
|---|---|
DefaultMacFontPolicy()
|
|
| Method Summary | |
|---|---|
FontSet |
getFontSet(java.lang.String lafName,
javax.swing.UIDefaults table)
Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMacFontPolicy()
| Method Detail |
|---|
public FontSet getFontSet(java.lang.String lafName,
javax.swing.UIDefaults table)
FontPolicyThis method is invoked during the L&F component initialization. And the invoker hands over the UIDefaults object used to define the component settings. Hence, the UIDefaults object may be used to look up a font as initialized by a super Look&Feel. For example the JGoodies Windows L&F could use the defaults set by the super L&F, the Sun Windows L&F.
getFontSet in interface FontPolicylafName - the name of the Look&Feel that requests the fontstable - the UIDefaults table that can be used
to look up fonts of a super L&F
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||