FontInfo

Inheritance: java.lang.Object

public class FontInfo

The FontInfo represents font-related style information for a web control..

Constructors

ConstructorDescription
FontInfo()

Methods

MethodDescription
copyFrom(FontInfo f)Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from.
equals(Object arg0)
getBold()indicates whether the font is bold.
getClass()
getItalic()indicates whether the font is italic.
getName()Gets the primary font name.
getOverline()indicates whether the font is overlined.
getSize()Gets the font size.
getStrikeout()indicates whether the font is strikethrough.
getUnderline()indicates whether the font is underlined..
hashCode()
notify()
notifyAll()
setBold(boolean value)set whether the font is bold..
setItalic(boolean value)set whether the font is italic.
setName(String value)or sets the primary font name
setOverline(boolean value)set whether the font is overlined.
setSize(FontUnit value)sets the font size
setStrikeout(boolean value)set whether the font is strikethrough.
setUnderline(boolean value)set whether the font is underlined.
toString()Returns a string that contains the font name and size for an instance of the FontInfo class.
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontInfo()

public FontInfo()

copyFrom(FontInfo f)

public void copyFrom(FontInfo f)

Duplicates the font properties of the specified FontInfo into the instance of the FontInfo class that this method is called from.

Parameters:

ParameterTypeDescription
fFontInfo

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBold()

public boolean getBold()

indicates whether the font is bold.

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getItalic()

public boolean getItalic()

indicates whether the font is italic.

Returns: boolean

getName()

public String getName()

Gets the primary font name.

Returns: java.lang.String

getOverline()

public boolean getOverline()

indicates whether the font is overlined.

Returns: boolean

getSize()

public FontUnit getSize()

Gets the font size.

Returns: FontUnit

getStrikeout()

public boolean getStrikeout()

indicates whether the font is strikethrough.

Returns: boolean

getUnderline()

public boolean getUnderline()

indicates whether the font is underlined..

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBold(boolean value)

public void setBold(boolean value)

set whether the font is bold..

Parameters:

ParameterTypeDescription
valueboolean

setItalic(boolean value)

public void setItalic(boolean value)

set whether the font is italic.

Parameters:

ParameterTypeDescription
valueboolean

setName(String value)

public void setName(String value)

or sets the primary font name

Parameters:

ParameterTypeDescription
valuejava.lang.String

setOverline(boolean value)

public void setOverline(boolean value)

set whether the font is overlined.

Parameters:

ParameterTypeDescription
valueboolean

setSize(FontUnit value)

public void setSize(FontUnit value)

sets the font size

Parameters:

ParameterTypeDescription
valueFontUnit

setStrikeout(boolean value)

public void setStrikeout(boolean value)

set whether the font is strikethrough.

Parameters:

ParameterTypeDescription
valueboolean

setUnderline(boolean value)

public void setUnderline(boolean value)

set whether the font is underlined.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns a string that contains the font name and size for an instance of the FontInfo class.

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int