T - the type parameterpublic interface Styleable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
align(org.apache.poi.ss.usermodel.HorizontalAlignment align)
Sets the align and return the current instance.
|
T |
backgroundColor(ColorKey color)
Sets the background color and return the current instance.
|
T |
borderBottom(BorderKey borderBottom)
Sets the border bottom and return the current instance.
|
T |
borderLeft(BorderKey borderLeft)
Sets the border left and return the current instance.
|
T |
borderRight(BorderKey borderRight)
Sets the border right and return the current instance.
|
T |
borders(BorderKey border)
Sets the borders and return the current instance.
|
T |
borders(BorderKey border,
BorderKey border2)
Sets the borders and return the current instance.
|
T |
borders(BorderKey border,
BorderKey border2,
BorderKey border3)
Sets the borders and return the current instance.
|
T |
borders(BorderKey border,
BorderKey border2,
BorderKey border3,
BorderKey border4)
Sets the borders and return the current instance.
|
T |
borderTop(BorderKey borderTop)
Sets the border top and return the current instance.
|
T |
font(FontKey font)
Sets the font and return the current instance.
|
T |
format(FormatKey format)
Sets the format and return the current instance.
|
org.apache.poi.ss.usermodel.HorizontalAlignment |
getAlign()
Gets align.
|
ColorKey |
getBackgroundColor()
Gets background color.
|
BorderKey |
getBorderBottom()
Gets border bottom.
|
BorderKey |
getBorderLeft()
Gets border left.
|
BorderKey |
getBorderRight()
Gets border right.
|
BorderKey |
getBorderTop()
Gets border top.
|
FontKey |
getFont()
Gets font.
|
FormatKey |
getFormat()
Gets format.
|
org.apache.poi.ss.usermodel.VerticalAlignment |
getVerticalAlign()
Gets vertical align.
|
void |
setAlign(org.apache.poi.ss.usermodel.HorizontalAlignment align)
Sets align.
|
void |
setBackgroundColor(ColorKey backgroundColor)
Sets background color.
|
void |
setBorderBottom(BorderKey borderBottom)
Sets border bottom.
|
void |
setBorderLeft(BorderKey borderLeft)
Sets border left.
|
void |
setBorderRight(BorderKey borderRight)
Sets border right.
|
void |
setBorderTop(BorderKey borderTop)
Sets border top.
|
void |
setFont(FontKey font)
Sets font.
|
void |
setFormat(FormatKey format)
Sets format.
|
void |
setInstance(T instance)
Sets instance.
|
void |
setVerticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
Sets vertical align.
|
T |
verticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
Sets the vertical align and return the current instance.
|
T backgroundColor(ColorKey color)
color - the colorT font(FontKey font)
font - the fontT align(org.apache.poi.ss.usermodel.HorizontalAlignment align)
align - the alignT verticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
verticalAlign - the vertical alignT format(FormatKey format)
format - the formatT borderTop(BorderKey borderTop)
borderTop - the border topT borderRight(BorderKey borderRight)
borderRight - the border rightT borderBottom(BorderKey borderBottom)
borderBottom - the border bottomT borderLeft(BorderKey borderLeft)
borderLeft - the border leftT borders(BorderKey border)
border - the borderT borders(BorderKey border, BorderKey border2)
border - the borderborder2 - the border 2T borders(BorderKey border, BorderKey border2, BorderKey border3)
border - the borderborder2 - the border 2border3 - the border 3T borders(BorderKey border, BorderKey border2, BorderKey border3, BorderKey border4)
border - the borderborder2 - the border 2border3 - the border 3border4 - the border 4ColorKey getBackgroundColor()
FontKey getFont()
org.apache.poi.ss.usermodel.HorizontalAlignment getAlign()
org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlign()
FormatKey getFormat()
BorderKey getBorderTop()
BorderKey getBorderRight()
BorderKey getBorderBottom()
BorderKey getBorderLeft()
void setInstance(T instance)
instance - the instancevoid setBackgroundColor(ColorKey backgroundColor)
backgroundColor - the background colorvoid setFont(FontKey font)
font - the fontvoid setAlign(org.apache.poi.ss.usermodel.HorizontalAlignment align)
align - the alignvoid setVerticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
verticalAlign - the vertical alignvoid setFormat(FormatKey format)
format - the formatvoid setBorderTop(BorderKey borderTop)
borderTop - the border topvoid setBorderRight(BorderKey borderRight)
borderRight - the border rightvoid setBorderBottom(BorderKey borderBottom)
borderBottom - the border bottomvoid setBorderLeft(BorderKey borderLeft)
borderLeft - the border leftCopyright © 2018. All rights reserved.