Font

Inheritance: java.lang.Object

public class Font

Contains information about a font.

Constructors

ConstructorDescription
Font()Constructor.

Methods

MethodDescription
equals(Object arg0)
getCharSets()The supported character sets of the font.
getClass()
getFlags()Flags that indicate the following: missing font, default font, asian font, complex font, vertical font, and font type.
getID()The ID of the element within its parent element.
getName()The name of the font as a UTF-16 Unicode string.
getPanos()The panose signature for the font.
getUnicodeRanges()The supported Unicode ranges of the font.
hashCode()
notify()
notifyAll()
setCharSets(String value)For the description of this property, please see getCharSets()
setFlags(int value)For the description of this property, please see getFlags()
setID(int value)For the description of this property, please see getID()
setName(String value)For the description of this property, please see getName()
setPanos(String value)For the description of this property, please see getPanos()
setUnicodeRanges(String value)For the description of this property, please see getUnicodeRanges()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Font()

public Font()

Constructor.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCharSets()

public String getCharSets()

The supported character sets of the font.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFlags()

public int getFlags()

Flags that indicate the following: missing font, default font, asian font, complex font, vertical font, and font type.

Returns: int

getID()

public int getID()

The ID of the element within its parent element.

Returns: int

getName()

public String getName()

The name of the font as a UTF-16 Unicode string.

Returns: java.lang.String

getPanos()

public String getPanos()

The panose signature for the font. Panose is a classification system for typefaces that categorizes them based upon their visual characteristics.

Returns: java.lang.String

getUnicodeRanges()

public String getUnicodeRanges()

The supported Unicode ranges of the font.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCharSets(String value)

public void setCharSets(String value)

For the description of this property, please see getCharSets()

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFlags(int value)

public void setFlags(int value)

For the description of this property, please see getFlags()

Parameters:

ParameterTypeDescription
valueint

setID(int value)

public void setID(int value)

For the description of this property, please see getID()

Parameters:

ParameterTypeDescription
valueint

setName(String value)

public void setName(String value)

For the description of this property, please see getName()

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPanos(String value)

public void setPanos(String value)

For the description of this property, please see getPanos()

Parameters:

ParameterTypeDescription
valuejava.lang.String

setUnicodeRanges(String value)

public void setUnicodeRanges(String value)

For the description of this property, please see getUnicodeRanges()

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

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