Class DarkFontUIResource
- java.lang.Object
-
- java.awt.Font
-
- javax.swing.plaf.FontUIResource
-
- com.github.weisj.darklaf.uiresource.DarkFontUIResource
-
- All Implemented Interfaces:
Serializable,UIResource
public class DarkFontUIResource extends FontUIResource
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.awt.Font
BOLD, CENTER_BASELINE, DIALOG, DIALOG_INPUT, HANGING_BASELINE, ITALIC, LAYOUT_LEFT_TO_RIGHT, LAYOUT_NO_LIMIT_CONTEXT, LAYOUT_NO_START_CONTEXT, LAYOUT_RIGHT_TO_LEFT, MONOSPACED, name, PLAIN, pointSize, ROMAN_BASELINE, SANS_SERIF, SERIF, size, style, TRUETYPE_FONT, TYPE1_FONT
-
-
Constructor Summary
Constructors Constructor Description DarkFontUIResource(Font font)DarkFontUIResource(String name, int style, int size)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FontderiveFont(float size)FontderiveFont(int style)FontderiveFont(int style, float size)FontderiveFont(int style, AffineTransform trans)FontderiveFont(AffineTransform trans)FontderiveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)-
Methods inherited from class java.awt.Font
canDisplay, canDisplay, canDisplayUpTo, canDisplayUpTo, canDisplayUpTo, createFont, createFont, createFonts, createFonts, createGlyphVector, createGlyphVector, createGlyphVector, createGlyphVector, decode, equals, getAttributes, getAvailableAttributes, getBaselineFor, getFamily, getFamily, getFont, getFont, getFont, getFontName, getFontName, getItalicAngle, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxCharBounds, getMissingGlyphCode, getName, getNumGlyphs, getPSName, getSize, getSize2D, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getStyle, getTransform, hashCode, hasLayoutAttributes, hasUniformLineMetrics, isBold, isItalic, isPlain, isTransformed, layoutGlyphVector, textRequiresLayout, toString
-
-
-
-
Constructor Detail
-
DarkFontUIResource
@Deprecated public DarkFontUIResource(String name, int style, int size)
Deprecated.Creates a new DarkFontUIResource. UseFontUtil.createFont(String, int, int)in combination withDarkFontUIResource(Font)instead.- Parameters:
name- the name of the font familystyle- the style of the fontsize- the size of the font
-
DarkFontUIResource
public DarkFontUIResource(Font font)
-
-
Method Detail
-
deriveFont
public Font deriveFont(int style)
- Overrides:
deriveFontin classFont
-
deriveFont
public Font deriveFont(float size)
- Overrides:
deriveFontin classFont
-
deriveFont
public Font deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
- Overrides:
deriveFontin classFont
-
deriveFont
public Font deriveFont(AffineTransform trans)
- Overrides:
deriveFontin classFont
-
deriveFont
public Font deriveFont(int style, float size)
- Overrides:
deriveFontin classFont
-
deriveFont
public Font deriveFont(int style, AffineTransform trans)
- Overrides:
deriveFontin classFont
-
-