Class ExcelCellLayoutImpl
java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelCellLayout>
bld.generator.report.excel.annotation.impl.ExcelCellLayoutImpl
- All Implemented Interfaces:
Cloneable
The Class ExcelCellLayoutImpl.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanThe auto size column.protected ExcelBorderThe border.protected org.apache.poi.ss.usermodel.FillPatternTypeThe fill pattern type.The font.protected org.apache.poi.ss.usermodel.HorizontalAlignmentThe horizontal alignment.protected booleanThe locked.protected intThe precision.protected ExcelRgbColor[]The rgb font.protected ExcelRgbColor[]The rgb foreground.protected org.apache.poi.ss.usermodel.VerticalAlignmentThe vertical alignment.protected booleanThe wrap. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates 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.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, boolean autoSizeColumn) 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, boolean autoSizeColumn, boolean percent) Instantiates a new excel cell layout impl. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.Gets the border.org.apache.poi.ss.usermodel.FillPatternTypeGets the fill pattern type.getFont()Gets the font.org.apache.poi.ss.usermodel.HorizontalAlignmentGets the horizontal alignment.intGets the precision.Gets the rgb font.Gets the rgb foreground.org.apache.poi.ss.usermodel.VerticalAlignmentGets the vertical alignment.inthashCode()Hash code.booleanChecks if is auto size column.booleanisLocked()Checks if is locked.booleanChecks if is percent.booleanisWrap()Checks if is wrap.voidsetAutoSizeColumn(boolean autoSizeColumn) Sets the auto size column.voidsetBorder(ExcelBorder border) Sets the border.voidsetFillPatternType(org.apache.poi.ss.usermodel.FillPatternType fillPatternType) Sets the fill pattern type.voidSets the font.voidsetHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment) Sets the horizontal alignment.voidsetLocked(boolean locked) Sets the locked.voidsetPercent(boolean percent) Sets the percent.voidsetPrecision(int precision) Sets the precision.voidsetRgbFont(ExcelRgbColor... rgbFont) Sets the rgb font.voidsetRgbForeground(ExcelRgbColor... rgbForeground) Sets the rgb foreground.voidsetVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment) Sets the vertical alignment.voidsetWrap(boolean wrap) Sets the wrap.Methods inherited from class bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl
clone, getAnnotation, getClassAnnotation
-
Field Details
-
wrap
protected boolean wrapThe wrap. -
verticalAlignment
protected org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignmentThe vertical alignment. -
rgbForeground
The rgb foreground. -
rgbFont
The rgb font. -
precision
protected int precisionThe precision. -
horizontalAlignment
protected org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignmentThe horizontal alignment. -
font
The font. -
fillPatternType
protected org.apache.poi.ss.usermodel.FillPatternType fillPatternTypeThe fill pattern type. -
border
The border. -
locked
protected boolean lockedThe locked. -
autoSizeColumn
protected boolean autoSizeColumnThe auto size column.
-
-
Constructor Details
-
ExcelCellLayoutImpl
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) Instantiates a new excel cell layout impl.- Parameters:
wrap- the wrapverticalAlignment- the vertical alignmentrgbForeground- the rgb foregroundrgbFont- the rgb fontprecision- the precisionhorizontalAlignment- the horizontal alignmentfont- the fontfillPatternType- the fill pattern typeborder- the border
-
ExcelCellLayoutImpl
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, boolean locked) Instantiates a new excel cell layout impl.- Parameters:
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 locked
-
ExcelCellLayoutImpl
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, boolean locked, boolean autoSizeColumn) Instantiates a new excel cell layout impl.- Parameters:
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 lockedautoSizeColumn- the auto size column
-
ExcelCellLayoutImpl
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, boolean locked, boolean autoSizeColumn, boolean percent) Instantiates a new excel cell layout impl.- Parameters:
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 lockedautoSizeColumn- the auto size columnpercent- the percent
-
ExcelCellLayoutImpl
public ExcelCellLayoutImpl()Instantiates a new excel cell layout impl.
-
-
Method Details
-
isWrap
public boolean isWrap()Checks if is wrap.- Returns:
- the wrap
-
setWrap
public void setWrap(boolean wrap) Sets the wrap.- Parameters:
wrap- the new wrap
-
getVerticalAlignment
public org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()Gets the vertical alignment.- Returns:
- the vertical alignment
-
setVerticalAlignment
public void setVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment) Sets the vertical alignment.- Parameters:
verticalAlignment- the new vertical alignment
-
getRgbForeground
Gets the rgb foreground.- Returns:
- the rgb foreground
-
setRgbForeground
Sets the rgb foreground.- Parameters:
rgbForeground- the new rgb foreground
-
getRgbFont
Gets the rgb font.- Returns:
- the rgb font
-
setRgbFont
Sets the rgb font.- Parameters:
rgbFont- the new rgb font
-
getPrecision
public int getPrecision()Gets the precision.- Returns:
- the precision
-
setPrecision
public void setPrecision(int precision) Sets the precision.- Parameters:
precision- the new precision
-
getHorizontalAlignment
public org.apache.poi.ss.usermodel.HorizontalAlignment getHorizontalAlignment()Gets the horizontal alignment.- Returns:
- the horizontal alignment
-
setHorizontalAlignment
public void setHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment) Sets the horizontal alignment.- Parameters:
horizontalAlignment- the new horizontal alignment
-
getFont
Gets the font.- Returns:
- the font
-
setFont
Sets the font.- Parameters:
font- the new font
-
getFillPatternType
public org.apache.poi.ss.usermodel.FillPatternType getFillPatternType()Gets the fill pattern type.- Returns:
- the fill pattern type
-
setFillPatternType
public void setFillPatternType(org.apache.poi.ss.usermodel.FillPatternType fillPatternType) Sets the fill pattern type.- Parameters:
fillPatternType- the new fill pattern type
-
getBorder
Gets the border.- Returns:
- the border
-
setBorder
Sets the border.- Parameters:
border- the new border
-
isLocked
public boolean isLocked()Checks if is locked.- Returns:
- the locked
-
setLocked
public void setLocked(boolean locked) Sets the locked.- Parameters:
locked- the new locked
-
isAutoSizeColumn
public boolean isAutoSizeColumn()Checks if is auto size column.- Returns:
- true, if is auto size column
-
setAutoSizeColumn
public void setAutoSizeColumn(boolean autoSizeColumn) Sets the auto size column.- Parameters:
autoSizeColumn- the new auto size column
-
isPercent
public boolean isPercent()Checks if is percent.- Returns:
- true, if is percent
-
setPercent
public void setPercent(boolean percent) Sets the percent.- Parameters:
percent- the new percent
-
hashCode
public int hashCode()Hash code. -
equals
Equals.
-