FontStyle

Inheritance: java.lang.Object

public final class FontStyle

Specifies style information applied to text.

Constructors

ConstructorDescription
FontStyle()

Fields

FieldDescription
BOLDBold text
ITALICItalic text
REGULARNormal text
STRIKEOUTText with a line through the middle
UNDERLINEUnderlined text

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontStyle()

public FontStyle()

BOLD

public static final int BOLD

Bold text

ITALIC

public static final int ITALIC

Italic text

REGULAR

public static final int REGULAR

Normal text

STRIKEOUT

public static final int STRIKEOUT

Text with a line through the middle

UNDERLINE

public static final int UNDERLINE

Underlined text

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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