gui.run
Class FontBean

java.lang.Object
  extended by 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

Constructor Summary
FontBean()
           
 
Method Summary
 java.awt.Font getFont()
           
 java.lang.String getFontName()
           
 int getFontSize()
           
 int getFontStyle()
           
static FontBean restore()
          restores the properties from the preference in the user root.
 void save()
          saves the properties to the Preferences of the userRoot
 void setFontName(java.lang.String fontName)
           
 void setFontSize(int fontSize)
           
 void setFontStyle(int fontStyle)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FontBean

public FontBean()
Method Detail

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)