- <init>
Constructs a DefaultUnitConverter and registers a listener that handles changes
in the look&feel.
- computeAverageCharWidth
- computeDialogBaseUnits
Computes and returns the horizontal dialog base units. Honors the font, font
size and resolution. Im
- createDefaultGlobalComponent
Creates and returns a component that is used to lookup the default font metrics.
The current impleme
- getDefaultDialogFont
Returns the dialog font that is used to compute the dialog base units. If a
default dialog font has
- getDialogBaseUnits
Looks up and returns the dialog base units for the given component. In case the
component is null th
- getGlobalDialogBaseUnits
Lazily computes and answer the global dialog base units. Should be re-computed
if the l&f, platform,
- getInstance
Lazily instantiates and returns the sole instance.
- lookupDefaultDialogFont
Looks up and returns the font used by buttons. First, tries to request the
button font from the UIMa
- clearCache
Invalidates the caches. Resets the global dialog base units, clears the Map from
FontMetrics to dial
- getCachedDefaultDialogFont
Lazily creates and returns a fallback for the dialog font that is used to
compute the dialog base un
- logInfo
Logs an info message to the console.