|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FontBoldweight>
net.sf.jett.model.FontBoldweight
public enum FontBoldweight
FontBoldweights represent the built-in boldweight names
that correspond with Excel's font boldness scheme. These are used in
conjunction with the type boldweight property in the style tag. Legal
values are the names of the enumeration objects, without underscores, case
insensitive, e.g. "bold" == "Bold" == "BOLD".
StyleTag,
StyleParser.PROPERTY_FONT_BOLDWEIGHT| Enum Constant Summary | |
|---|---|
BOLD
|
|
NORMAL
|
|
| Method Summary | |
|---|---|
short |
getIndex()
Returns the index. |
java.lang.String |
toString()
Returns the name, in all lowercase, no underscores or spaces. |
static FontBoldweight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FontBoldweight[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FontBoldweight NORMAL
public static final FontBoldweight BOLD
| Method Detail |
|---|
public static final FontBoldweight[] values()
for(FontBoldweight c : FontBoldweight.values())
System.out.println(c);
public static FontBoldweight valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic short getIndex()
public java.lang.String toString()
toString in class java.lang.Enum<FontBoldweight>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||