|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.FontStyle
public final class FontStyle
Defines styles that can be applied to a Font
, such as bold and italic.
Font.setFontStyle(FontStyle)
Field Summary | |
---|---|
static int |
_bold
|
static int |
_boldItalic
|
static int |
_italic
|
static int |
_normal
|
static int |
_unknown
|
static FontStyle |
Bold
|
static FontStyle |
BoldItalic
|
static FontStyle |
Italic
|
static FontStyle |
Normal
|
static FontStyle |
Unknown
|
Method Summary | |
---|---|
static FontStyle |
from_int(int value)
Gets the FontStyle that matches the specified integer value. |
static FontStyle |
from_string(java.lang.String sVal)
Gets the FontStyle that matches the specified name. |
java.lang.String |
toString()
Returns the String value of the FontStyle . |
int |
value()
Returns the integer value of the FontStyle . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _normal
public static final int _bold
public static final int _italic
public static final int _boldItalic
public static final int _unknown
public static final FontStyle Normal
public static final FontStyle Bold
public static final FontStyle Italic
public static final FontStyle BoldItalic
public static final FontStyle Unknown
Method Detail |
---|
public int value()
FontStyle
.
int
that identifies the font stylepublic static FontStyle from_int(int value)
FontStyle
that matches the specified integer value.
value
- an int
that identifies a font style
public static FontStyle from_string(java.lang.String sVal)
FontStyle
that matches the specified name.
sVal
- the name of a font style
public java.lang.String toString()
String
value of the FontStyle
.
toString
in class java.lang.Object
String
that identifies the font style
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |