public class ExcelCellLayoutImpl extends ExcelAnnotationImpl<ExcelCellLayout>
| Modifier and Type | Field and Description |
|---|---|
protected ExcelBorder |
border
The border.
|
protected org.apache.poi.ss.usermodel.FillPatternType |
fillPatternType
The fill pattern type.
|
ExcelFont |
font
The font.
|
protected org.apache.poi.ss.usermodel.HorizontalAlignment |
horizontalAlignment
The horizontal alignment.
|
protected boolean |
locked
The locked.
|
protected int |
precision
The precision.
|
protected ExcelRgbColor[] |
rgbFont
The rgb font.
|
protected ExcelRgbColor[] |
rgbForeground
The rgb foreground.
|
protected org.apache.poi.ss.usermodel.VerticalAlignment |
verticalAlignment
The vertical alignment.
|
protected boolean |
wrap
The wrap.
|
| Constructor and Description |
|---|
ExcelCellLayoutImpl()
Instantiates a new excel cell layout impl.
|
ExcelCellLayoutImpl(boolean wrap,
org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment,
ExcelRgbColor[] rgbForeground,
ExcelRgbColor[] rgbFont,
int precision,
org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment,
ExcelFont font,
org.apache.poi.ss.usermodel.FillPatternType fillPatternType,
ExcelBorder border)
Instantiates a new excel cell layout impl.
|
ExcelCellLayoutImpl(boolean wrap,
org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment,
ExcelRgbColor[] rgbForeground,
ExcelRgbColor[] rgbFont,
int precision,
org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment,
ExcelFont font,
org.apache.poi.ss.usermodel.FillPatternType fillPatternType,
ExcelBorder border,
boolean locked)
Instantiates a new excel cell layout impl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equals.
|
ExcelBorder |
getBorder()
Gets the border.
|
org.apache.poi.ss.usermodel.FillPatternType |
getFillPatternType()
Gets the fill pattern type.
|
ExcelFont |
getFont()
Gets the font.
|
org.apache.poi.ss.usermodel.HorizontalAlignment |
getHorizontalAlignment()
Gets the horizontal alignment.
|
int |
getPrecision()
Gets the precision.
|
ExcelRgbColor[] |
getRgbFont()
Gets the rgb font.
|
ExcelRgbColor[] |
getRgbForeground()
Gets the rgb foreground.
|
org.apache.poi.ss.usermodel.VerticalAlignment |
getVerticalAlignment()
Gets the vertical alignment.
|
int |
hashCode()
Hash code.
|
boolean |
isLocked()
Checks if is locked.
|
boolean |
isWrap()
Checks if is wrap.
|
void |
setBorder(ExcelBorder border)
Sets the border.
|
void |
setFillPatternType(org.apache.poi.ss.usermodel.FillPatternType fillPatternType)
Sets the fill pattern type.
|
void |
setFont(ExcelFont font)
Sets the font.
|
void |
setHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment)
Sets the horizontal alignment.
|
void |
setLocked(boolean locked)
Sets the locked.
|
void |
setPrecision(int precision)
Sets the precision.
|
void |
setRgbFont(ExcelRgbColor... rgbFont)
Sets the rgb font.
|
void |
setRgbForeground(ExcelRgbColor... rgbForeground)
Sets the rgb foreground.
|
void |
setVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment)
Sets the vertical alignment.
|
void |
setWrap(boolean wrap)
Sets the wrap.
|
clone, getAnnotation, getClassAnnotationprotected boolean wrap
protected org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment
protected ExcelRgbColor[] rgbForeground
protected ExcelRgbColor[] rgbFont
protected int precision
protected org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment
public ExcelFont font
protected org.apache.poi.ss.usermodel.FillPatternType fillPatternType
protected ExcelBorder border
protected boolean locked
public ExcelCellLayoutImpl(boolean wrap,
org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment,
ExcelRgbColor[] rgbForeground,
ExcelRgbColor[] rgbFont,
int precision,
org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment,
ExcelFont font,
org.apache.poi.ss.usermodel.FillPatternType fillPatternType,
ExcelBorder border)
wrap - the wrapverticalAlignment - the vertical alignmentrgbForeground - the rgb foregroundrgbFont - the rgb fontprecision - the precisionhorizontalAlignment - the horizontal alignmentfont - the fontfillPatternType - the fill pattern typeborder - the borderpublic ExcelCellLayoutImpl(boolean wrap,
org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment,
ExcelRgbColor[] rgbForeground,
ExcelRgbColor[] rgbFont,
int precision,
org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment,
ExcelFont font,
org.apache.poi.ss.usermodel.FillPatternType fillPatternType,
ExcelBorder border,
boolean locked)
wrap - the wrapverticalAlignment - the vertical alignmentrgbForeground - the rgb foregroundrgbFont - the rgb fontprecision - the precisionhorizontalAlignment - the horizontal alignmentfont - the fontfillPatternType - the fill pattern typeborder - the borderlocked - the lockedpublic ExcelCellLayoutImpl()
public boolean isWrap()
public void setWrap(boolean wrap)
wrap - the new wrappublic org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment)
verticalAlignment - the new vertical alignmentpublic ExcelRgbColor[] getRgbForeground()
public void setRgbForeground(ExcelRgbColor... rgbForeground)
rgbForeground - the new rgb foregroundpublic ExcelRgbColor[] getRgbFont()
public void setRgbFont(ExcelRgbColor... rgbFont)
rgbFont - the new rgb fontpublic int getPrecision()
public void setPrecision(int precision)
precision - the new precisionpublic org.apache.poi.ss.usermodel.HorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment)
horizontalAlignment - the new horizontal alignmentpublic ExcelFont getFont()
public void setFont(ExcelFont font)
font - the new fontpublic org.apache.poi.ss.usermodel.FillPatternType getFillPatternType()
public void setFillPatternType(org.apache.poi.ss.usermodel.FillPatternType fillPatternType)
fillPatternType - the new fill pattern typepublic ExcelBorder getBorder()
public void setBorder(ExcelBorder border)
border - the new borderpublic boolean isLocked()
public void setLocked(boolean locked)
locked - the new lockedCopyright © 2022. All rights reserved.