| Constructor and Description |
|---|
CellStyleImpl() |
| 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.
|
CellStyle |
cloneInstance()
Clone instance cell style.
|
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitalign, backgroundColor, borderBottom, borderLeft, borderRight, borders, borders, borders, borders, borderTop, font, format, getAlign, getBackgroundColor, getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getFont, getFormat, getVerticalAlign, setAlign, setBackgroundColor, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setFont, setFormat, setInstance, setVerticalAlign, verticalAlignpublic CellStyle cloneInstance()
CellStylecloneInstance in interface CellStylepublic boolean equals(Object o)
public int hashCode()
public T backgroundColor(ColorKey color)
StyleablebackgroundColor in interface Styleable<T extends Styleable>color - the colorpublic T font(FontKey font)
Styleablepublic T align(org.apache.poi.ss.usermodel.HorizontalAlignment align)
Styleablepublic T verticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
StyleableverticalAlign in interface Styleable<T extends Styleable>verticalAlign - the vertical alignpublic T format(FormatKey format)
Styleablepublic T borderTop(BorderKey borderTop)
Styleablepublic T borderRight(BorderKey borderRight)
StyleableborderRight in interface Styleable<T extends Styleable>borderRight - the border rightpublic T borderBottom(BorderKey borderBottom)
StyleableborderBottom in interface Styleable<T extends Styleable>borderBottom - the border bottompublic T borderLeft(BorderKey borderLeft)
StyleableborderLeft in interface Styleable<T extends Styleable>borderLeft - the border leftpublic T borders(BorderKey border)
Styleablepublic T borders(BorderKey border, BorderKey border2)
Styleablepublic T borders(BorderKey border, BorderKey border2, BorderKey border3)
Styleablepublic T borders(BorderKey border, BorderKey border2, BorderKey border3, BorderKey border4)
Styleablepublic ColorKey getBackgroundColor()
StyleablegetBackgroundColor in interface Styleable<T extends Styleable>public org.apache.poi.ss.usermodel.HorizontalAlignment getAlign()
Styleablepublic org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlign()
StyleablegetVerticalAlign in interface Styleable<T extends Styleable>public BorderKey getBorderTop()
StyleablegetBorderTop in interface Styleable<T extends Styleable>public BorderKey getBorderRight()
StyleablegetBorderRight in interface Styleable<T extends Styleable>public BorderKey getBorderBottom()
StyleablegetBorderBottom in interface Styleable<T extends Styleable>public BorderKey getBorderLeft()
StyleablegetBorderLeft in interface Styleable<T extends Styleable>public void setInstance(T instance)
StyleablesetInstance in interface Styleable<T extends Styleable>instance - the instancepublic void setBackgroundColor(ColorKey backgroundColor)
StyleablesetBackgroundColor in interface Styleable<T extends Styleable>backgroundColor - the background colorpublic void setAlign(org.apache.poi.ss.usermodel.HorizontalAlignment align)
Styleablepublic void setVerticalAlign(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlign)
StyleablesetVerticalAlign in interface Styleable<T extends Styleable>verticalAlign - the vertical alignpublic void setFormat(FormatKey format)
Styleablepublic void setBorderTop(BorderKey borderTop)
StyleablesetBorderTop in interface Styleable<T extends Styleable>borderTop - the border toppublic void setBorderRight(BorderKey borderRight)
StyleablesetBorderRight in interface Styleable<T extends Styleable>borderRight - the border rightpublic void setBorderBottom(BorderKey borderBottom)
StyleablesetBorderBottom in interface Styleable<T extends Styleable>borderBottom - the border bottompublic void setBorderLeft(BorderKey borderLeft)
StyleablesetBorderLeft in interface Styleable<T extends Styleable>borderLeft - the border leftCopyright © 2018. All rights reserved.