|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.looks.FontPolicies
public final class FontPolicies
Provides predefined FontPolicy implementations.
Note: The available policies work well on Windows On other platforms the fonts specified by the runtime environmen are chosen. I plan to provide more logic or options for other platforms for example that a Linux system checks for a Tahoma or Segoe UI.
FontPolicy,
FontSet,
FontSets,
Fonts| Method Summary | |
|---|---|
static FontPolicy |
createFixedPolicy(FontSet fontSet)
Returns a font policy that in turn always returns the specified FontSet. |
static FontPolicy |
customSettingsPolicy(FontPolicy defaultPolicy)
Returns a font policy that checks for a custom FontPolic and a custom FontSet specified in the System settings or UIManager. |
static FontPolicy |
getDefaultPlasticOnWindowsPolicy()
Returns the default font policy for Plastic on the Windows platform. |
static FontPolicy |
getDefaultPlasticPolicy()
Returns the default Plastic FontPolicy that may var with the platform and environment. |
static FontPolicy |
getDefaultWindowsPolicy()
Returns the default font policy for the Windows platform. |
static FontPolicy |
getLogicalFontsPolicy()
Returns a font policy that returns the logical font as specified by the Java runtime environment. |
static FontPolicy |
getLooks1xPlasticPolicy()
Returns a font policy for getting a Plastic appearance that aims to b visual backward compatible with the JGoodies Looks version 1.x. |
static FontPolicy |
getLooks1xWindowsPolicy()
Returns a font policy for getting a Windows appearance that aims to b visual backward compatible with the JGoodies Looks version 1.x. |
static FontPolicy |
getTransitionalPlasticPolicy()
Returns a font policy intended for API users that want t move Plastic code from the Looks 1.x to the Looks 2.0. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FontPolicy createFixedPolicy(FontSet fontSet)
fontSet - the FontSet to be return by this policy
public static FontPolicy customSettingsPolicy(FontPolicy defaultPolicy)
defaultPolicy - the policy used if there are no custom settings
public static FontPolicy getDefaultPlasticOnWindowsPolicy()
public static FontPolicy getDefaultPlasticPolicy()
public static FontPolicy getDefaultWindowsPolicy()
public static FontPolicy getLogicalFontsPolicy()
public static FontPolicy getLooks1xPlasticPolicy()
public static FontPolicy getLooks1xWindowsPolicy()
public static FontPolicy getTransitionalPlasticPolicy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||