|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.styles.FontSet
yu.ac.bg.etf.javaqx.qswing.styles.CustomFontSet
Custom Font Set.
Field Summary | |
protected Font |
buttonFont
|
protected Font |
componentFont
|
protected Font |
defaultFont
|
protected Font |
fixedFont
|
protected Font |
menuBarFont
|
protected Font |
menuFont
|
protected java.lang.String |
name
|
protected Font |
textFont
|
protected Font |
toolTipFont
|
Constructor Summary | |
CustomFontSet()
Constructs new CustomFontSet object. |
|
CustomFontSet(Font defaultFont)
Constructs new CustomFontSet object. |
|
CustomFontSet(java.lang.String name)
Constructs new CustomFontSet object. |
|
CustomFontSet(java.lang.String name,
Font defaultFont)
Constructs new CustomFontSet object. |
Method Summary | |
Font |
getButtonFont()
Returns button font. |
Font |
getComponentFont()
Returns component font. |
Font |
getDefaultFont()
Returns default font. |
Font |
getFixedFont()
Returns fixed font. |
Font |
getMenuBarFont()
Returns menu bar font. |
Font |
getMenuFont()
Returns menu font. |
java.lang.String |
getName()
Returns the name of the font set. |
Font |
getTextFont()
Returns text font. |
Font |
getToolTipFont()
Returns tool tip font. |
int |
hashCode()
|
void |
setButtonFont(Font buttonFont)
Sets button font. |
void |
setComponentFont(Font componentFont)
Sets component font. |
void |
setDefaultFont(Font defaultFont)
Sets default font. |
void |
setFixedFont(Font fixedFont)
Sets fixed font. |
void |
setMenuBarFont(Font menuBarFont)
Sets menu bar font. |
void |
setMenuFont(Font menuFont)
Sets menu font. |
void |
setTextFont(Font textFont)
Sets text font. |
void |
setToolTipFont(Font toolTipFont)
Sets tool tip font. |
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.styles.FontSet |
equals, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected Font defaultFont
protected Font fixedFont
protected Font componentFont
protected Font buttonFont
protected Font menuFont
protected Font menuBarFont
protected Font textFont
protected Font toolTipFont
Constructor Detail |
public CustomFontSet()
public CustomFontSet(java.lang.String name)
name
- the namepublic CustomFontSet(Font defaultFont)
defaultFont
- the default fontpublic CustomFontSet(java.lang.String name, Font defaultFont)
name
- the namedefaultFont
- the default fontMethod Detail |
public void setDefaultFont(Font defaultFont)
defaultFont
- the default fontpublic void setFixedFont(Font fixedFont)
fixedFont
- the fixed fontpublic void setComponentFont(Font componentFont)
componentFont
- the component fontpublic void setButtonFont(Font buttonFont)
buttonFont
- the button fontpublic void setMenuFont(Font menuFont)
menuFont
- the menu fontpublic void setMenuBarFont(Font menuBarFont)
menuBarFont
- the menu bar fontpublic void setTextFont(Font textFont)
textFont
- the text fontpublic void setToolTipFont(Font toolTipFont)
toolTipFont
- the tool tip fontpublic int hashCode()
hashCode
in class FontSet
public java.lang.String getName()
getName
in class FontSet
public Font getDefaultFont()
getDefaultFont
in class FontSet
public Font getFixedFont()
getFixedFont
in class FontSet
public Font getComponentFont()
getComponentFont
in class FontSet
public Font getButtonFont()
getButtonFont
in class FontSet
public Font getMenuFont()
getMenuFont
in class FontSet
public Font getMenuBarFont()
getMenuBarFont
in class FontSet
public Font getTextFont()
getTextFont
in class FontSet
public Font getToolTipFont()
getToolTipFont
in class FontSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |