jxl.format
Class Pattern
java.lang.Object
|
+--jxl.format.Pattern
- public class Pattern
- extends java.lang.Object
Enumeration class which contains the various patterns available within
the standard Excel pattern palette
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GRAY_25
public static final Pattern GRAY_25
GRAY_50
public static final Pattern GRAY_50
GRAY_75
public static final Pattern GRAY_75
NONE
public static final Pattern NONE
SOLID
public static final Pattern SOLID
getDescription
public java.lang.String getDescription()
- Gets the textual description
- Returns:
- the string
getPattern
public static Pattern getPattern(int val)
- Gets the pattern from the value
- Parameters:
val
- - Returns:
- the pattern with that value
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