public class FontDescriptor
extends java.lang.Object
Constructor and Description |
---|
FontDescriptor(java.lang.String fontName,
int fontStyle,
int fontSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static FontDescriptor |
fromSwingFont(java.lang.String swingFont) |
java.awt.Font |
getFont(java.awt.Font defaultFont) |
java.lang.String |
getFontName() |
int |
getFontSize() |
int |
getFontStyle() |
java.awt.Font |
getResolvedFont(java.awt.Font defaultFont) |
java.lang.String |
getSwingFont() |
boolean |
isFixedFont() |
boolean |
isFullyDefinedFont() |
boolean |
isValid() |
public FontDescriptor(java.lang.String fontName, int fontStyle, int fontSize)
public boolean isFixedFont()
public boolean isFullyDefinedFont()
public static FontDescriptor fromSwingFont(java.lang.String swingFont)
public java.lang.String getFontName()
public int getFontSize()
public int getFontStyle()
public java.awt.Font getFont(java.awt.Font defaultFont)
public java.lang.String getSwingFont()
public java.awt.Font getResolvedFont(java.awt.Font defaultFont)
public boolean isValid()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object