Package jxl.format
Class ScriptStyle
- java.lang.Object
-
- jxl.format.ScriptStyle
-
public final class ScriptStyle extends java.lang.Object
Enumeration class which contains the various script styles available within the standard Excel ScriptStyle palette
-
-
Field Summary
Fields Modifier and Type Field Description static ScriptStyle
NORMAL_SCRIPT
static ScriptStyle
SUBSCRIPT
static ScriptStyle
SUPERSCRIPT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Gets the string description for display purposesstatic ScriptStyle
getStyle(int val)
Gets the ScriptStyle from the valueint
getValue()
Gets the value of this style.
-
-
-
Field Detail
-
NORMAL_SCRIPT
public static final ScriptStyle NORMAL_SCRIPT
-
SUPERSCRIPT
public static final ScriptStyle SUPERSCRIPT
-
SUBSCRIPT
public static final ScriptStyle SUBSCRIPT
-
-
Method Detail
-
getValue
public int getValue()
Gets the value of this style. This is the value that is written to the generated Excel file- Returns:
- the binary value
-
getDescription
public java.lang.String getDescription()
Gets the string description for display purposes- Returns:
- the string description
-
getStyle
public static ScriptStyle getStyle(int val)
Gets the ScriptStyle from the value- Parameters:
val
-- Returns:
- the ScriptStyle with that value
-
-