Package jxl.format
Class Pattern
java.lang.Object
jxl.format.Pattern
- Direct Known Subclasses:
Pattern
Enumeration class which contains the various patterns available within
the standard Excel pattern palette
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
static final Pattern
-
Method Summary
Modifier and TypeMethodDescriptionGets the textual descriptionstatic Pattern
getPattern
(int val) Gets the pattern from the valueint
getValue()
Gets the value of this pattern.
-
Field Details
-
NONE
-
SOLID
-
GRAY_50
-
GRAY_75
-
GRAY_25
-
PATTERN1
-
PATTERN2
-
PATTERN3
-
PATTERN4
-
PATTERN5
-
PATTERN6
-
PATTERN7
-
PATTERN8
-
PATTERN9
-
PATTERN10
-
PATTERN11
-
PATTERN12
-
PATTERN13
-
PATTERN14
-
-
Method Details
-
getValue
public int getValue()Gets the value of this pattern. This is the value that is written to the generated Excel file- Returns:
- the binary value
-
getDescription
Gets the textual description- Returns:
- the string
-
getPattern
Gets the pattern from the value- Parameters:
val
-- Returns:
- the pattern with that value
-