|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.cf.PatternFormatting
public final class PatternFormatting
Pattern Formatting Block of the Conditional Formatting Rule Record.
Field Summary | |
---|---|
static short |
ALT_BARS
Wide dots |
static short |
BIG_SPOTS
Large spots |
static short |
BRICKS
Brick-like layout |
static short |
DIAMONDS
Diamonds |
static short |
FINE_DOTS
Small fine dots |
static short |
LEAST_DOTS
Least Dots |
static short |
LESS_DOTS
Less Dots |
static short |
NO_FILL
No background |
static short |
SOLID_FOREGROUND
Solidly filled |
static short |
SPARSE_DOTS
Sparse dots |
static short |
SQUARES
Squares |
static short |
THICK_BACKWARD_DIAG
Thick backward facing diagonals |
static short |
THICK_FORWARD_DIAG
Thick forward facing diagonals |
static short |
THICK_HORZ_BANDS
Thick horizontal bands |
static short |
THICK_VERT_BANDS
Thick vertical bands |
static short |
THIN_BACKWARD_DIAG
Thin backward diagonal |
static short |
THIN_FORWARD_DIAG
Thin forward diagonal |
static short |
THIN_HORZ_BANDS
Thin horizontal bands |
static short |
THIN_VERT_BANDS
Thin vertical bands |
Constructor Summary | |
---|---|
PatternFormatting()
|
|
PatternFormatting(LittleEndianInput in)
Creates new FontFormatting |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getDataLength()
|
int |
getFillBackgroundColor()
|
int |
getFillForegroundColor()
|
int |
getFillPattern()
|
void |
serialize(LittleEndianOutput out)
|
void |
setFillBackgroundColor(int bg)
set the background fill color. |
void |
setFillForegroundColor(int fg)
set the foreground fill color |
void |
setFillPattern(int fp)
setting fill pattern |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short NO_FILL
public static final short SOLID_FOREGROUND
public static final short FINE_DOTS
public static final short ALT_BARS
public static final short SPARSE_DOTS
public static final short THICK_HORZ_BANDS
public static final short THICK_VERT_BANDS
public static final short THICK_BACKWARD_DIAG
public static final short THICK_FORWARD_DIAG
public static final short BIG_SPOTS
public static final short BRICKS
public static final short THIN_HORZ_BANDS
public static final short THIN_VERT_BANDS
public static final short THIN_BACKWARD_DIAG
public static final short THIN_FORWARD_DIAG
public static final short SQUARES
public static final short DIAMONDS
public static final short LESS_DOTS
public static final short LEAST_DOTS
Constructor Detail |
---|
public PatternFormatting()
public PatternFormatting(LittleEndianInput in)
Method Detail |
---|
public int getDataLength()
public void setFillPattern(int fp)
fp
- fill patternNO_FILL
,
SOLID_FOREGROUND
,
FINE_DOTS
,
ALT_BARS
,
SPARSE_DOTS
,
THICK_HORZ_BANDS
,
THICK_VERT_BANDS
,
THICK_BACKWARD_DIAG
,
THICK_FORWARD_DIAG
,
BIG_SPOTS
,
BRICKS
,
THIN_HORZ_BANDS
,
THIN_VERT_BANDS
,
THIN_BACKWARD_DIAG
,
THIN_FORWARD_DIAG
,
SQUARES
,
DIAMONDS
public int getFillPattern()
public void setFillBackgroundColor(int bg)
public int getFillBackgroundColor()
HSSFPalette.getColor(short)
public void setFillForegroundColor(int fg)
public int getFillForegroundColor()
HSSFPalette.getColor(short)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public void serialize(LittleEndianOutput out)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |