public class FontStyle extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static FontStyle |
BOLD
The instance of the BOLD type
|
static FontStyle |
BOLD_ITALIC
The instance of the BOLD ITALIC type
|
static int |
BOLD_ITALIC_TYPE
The BOLD ITALIC type
|
static int |
BOLD_TYPE
The BOLD type
|
static FontStyle |
ITALIC
The instance of the ITALIC type
|
static int |
ITALIC_TYPE
The ITALIC type
|
static FontStyle |
PLAIN
The instance of the PLAIN type
|
static int |
PLAIN_TYPE
The PLAIN type
|
Modifier and Type | Method and Description |
---|---|
static Enumeration<Object> |
enumerate()
Method enumerate.Returns an enumeration of all possible
instances of FontStyle
|
int |
getType()
Method getType.Returns the type of this FontStyle
|
String |
toString()
Method toString.Returns the String representation of this
FontStyle
|
static FontStyle |
valueOf(String string)
Method valueOf.Returns a new FontStyle based on the given
String value.
|
public static final int PLAIN_TYPE
public static final FontStyle PLAIN
public static final int BOLD_TYPE
public static final FontStyle BOLD
public static final int ITALIC_TYPE
public static final FontStyle ITALIC
public static final int BOLD_ITALIC_TYPE
public static final FontStyle BOLD_ITALIC
public static Enumeration<Object> enumerate()
public int getType()
public String toString()
Copyright © 2016. All rights reserved.