| |
|
| java.lang.Object com.jeta.forms.store.AbstractJETAPersistable com.jeta.forms.store.properties.FontProperty
FontProperty | public class FontProperty extends AbstractJETAPersistable (Code) | | Defines the attributes for a Font object. A FontProperty must
be used instead of serializing a Font object directly. The
reason is because some look and feels have problems with fonts that were
serialized with a different look and feel. For example, saving a font on
Linux and then rendering that de-serialized font on OSX causes problems.
author: Jeff Tassin |
Constructor Summary | |
public | FontProperty() Creates an unitialized FontProperty instance. | public | FontProperty(Font f) Creates a FontProperty instance with the attributes from
the specified font. |
VERSION | final public static int VERSION(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
FontProperty | public FontProperty()(Code) | | Creates an unitialized FontProperty instance.
|
FontProperty | public FontProperty(Font f)(Code) | | Creates a FontProperty instance with the attributes from
the specified font.
Parameters: f - the font whose attributes will define this property. |
getFont | public Font getFont()(Code) | | Returns a font instance that is defined by the attributes defined by this
property.
a font instance with the attributes defined by this property. |
|
|
|