Font

Inheritance: java.lang.Object

public class Font

Contains information about a font.

Constructors

Constructor Description
Font() Constructor.

Methods

Method Description
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:

Parameter Type Description
arg0 java.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:

Parameter Type Description
value java.lang.String

setFlags(int value)

public void setFlags(int value)

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

Parameters:

Parameter Type Description
value int

setID(int value)

public void setID(int value)

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

Parameters:

Parameter Type Description
value int

setName(String value)

public void setName(String value)

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

Parameters:

Parameter Type Description
value java.lang.String

setPanos(String value)

public void setPanos(String value)

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

Parameters:

Parameter Type Description
value java.lang.String

setUnicodeRanges(String value)

public void setUnicodeRanges(String value)

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

Parameters:

Parameter Type Description
value java.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:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int