Modifier and Type | Interface and Description |
---|---|
static class |
Fill.PatternFill.PatternType |
Fill.PatternFill
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColor()
Returns the background color
|
String |
getForegroundColor()
Returns the foreground color
|
Fill.PatternFill.PatternType |
getPatternType()
Returns pattern type.
|
void |
setBackgroundColor(String bgColor)
Sets background color
|
void |
setForegroundColor(String fgColor)
Sets foreground color
|
void |
setPatternType(Fill.PatternFill.PatternType patternType)
Sets pattern type
|
void setPatternType(Fill.PatternFill.PatternType patternType)
patternType
- either Fill.PatternFill.PatternType.None
, Fill.PatternFill.PatternType.Solid
,
Fill.PatternFill.PatternType.MediumGray
, Fill.PatternFill.PatternType.DarkGray
,
Fill.PatternFill.PatternType.LightGray
, Fill.PatternFill.PatternType.DarkHorizontal
,
Fill.PatternFill.PatternType.DarkVertical
, Fill.PatternFill.PatternType.DarkDown
,
Fill.PatternFill.PatternType.DarkUp
, Fill.PatternFill.PatternType.DarkGrid
,
Fill.PatternFill.PatternType.DarkTrellis
, Fill.PatternFill.PatternType.LightHorizontal
,
Fill.PatternFill.PatternType.LightVertical
, Fill.PatternFill.PatternType.LightDown
,
Fill.PatternFill.PatternType.LightUp
, Fill.PatternFill.PatternType.LightGrid
,
Fill.PatternFill.PatternType.LightTrellis
, Fill.PatternFill.PatternType.Gray125
,
or Fill.PatternFill.PatternType.Gray0625
void setForegroundColor(String fgColor)
fgColor
- void setBackgroundColor(String bgColor)
bgColor
- Fill.PatternFill.PatternType getPatternType()
String getForegroundColor()
String getBackgroundColor()
Copyright © 2018. All rights reserved.