|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Font
com.jformdesigner.model.SwingFont
public class SwingFont
Used to specify fonts from the Swing font palette.
Invokes UIManager.getFont(key)
to get the real font.
This class extends java.awt.Font so that it can be used everywhere, but especially as title font in TitledBorder.
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 | |
---|---|
SwingFont(java.lang.String key)
Constructs a font from the Swing font palette. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether another object is equal to this object. |
java.lang.String |
getKey()
Returns The name of the Swing font. |
int |
hashCode()
Returns the hash code for this object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.awt.Font |
---|
canDisplay, canDisplay, canDisplayUpTo, canDisplayUpTo, canDisplayUpTo, createFont, createFont, createGlyphVector, createGlyphVector, createGlyphVector, createGlyphVector, decode, deriveFont, deriveFont, deriveFont, deriveFont, deriveFont, deriveFont, finalize, getAttributes, getAvailableAttributes, getBaselineFor, getFamily, getFamily, getFont, getFont, getFont, getFontName, getFontName, getItalicAngle, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxCharBounds, getMissingGlyphCode, getName, getNumGlyphs, getPeer, getPSName, getSize, getSize2D, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getStyle, getTransform, hasLayoutAttributes, hasUniformLineMetrics, isBold, isItalic, isPlain, isTransformed, layoutGlyphVector |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwingFont(java.lang.String key)
key
- The name of the Swing font.Method Detail |
---|
public java.lang.String getKey()
public boolean equals(java.lang.Object obj)
equals
in class java.awt.Font
public int hashCode()
hashCode
in class java.awt.Font
public java.lang.String toString()
toString
in class java.awt.Font
|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |