Package com.diffplug.common.swt
Class Fonts
java.lang.Object
com.diffplug.common.swt.Fonts
Registry of fonts, especially system fonts.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontReturns the given font.static Fontsystem()Returns the default font for this system.static FontReturns the default bold font for this system.static FontReturns a largish system font appropriate for dialog headers.static FontReturns a monospace font for this system.static FontDataCalculates the best monospaced font available on this system, can be called from any thread.
-
Method Details
-
get
Returns the given font. -
system
Returns the default font for this system. -
systemBold
Returns the default bold font for this system. -
systemLarge
Returns a largish system font appropriate for dialog headers. -
systemMonospace
Returns a monospace font for this system. -
systemMonospaceFontData
Calculates the best monospaced font available on this system, can be called from any thread.
-