gui.run
Class FontBean
java.lang.Object
gui.run.FontBean
- All Implemented Interfaces:
- java.io.Serializable
public class FontBean
- extends java.lang.Object
- implements java.io.Serializable
Copyright DocJava, inc. User: lyon
Date: Apr 3, 2005
Time: 4:40:58 PM
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FontBean
public FontBean()
getFont
public java.awt.Font getFont()
getFontName
public java.lang.String getFontName()
setFontName
public void setFontName(java.lang.String fontName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
save
public void save()
- saves the properties to the Preferences of the userRoot
restore
public static FontBean restore()
- restores the properties from the preference in the user root.
getFontSize
public int getFontSize()
setFontSize
public void setFontSize(int fontSize)
getFontStyle
public int getFontStyle()
setFontStyle
public void setFontStyle(int fontStyle)