Class ExcelCellLayoutImpl

java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelCellLayout>
bld.generator.report.excel.annotation.impl.ExcelCellLayoutImpl
All Implemented Interfaces:
Cloneable

public class ExcelCellLayoutImpl extends ExcelAnnotationImpl<ExcelCellLayout>
The Class ExcelCellLayoutImpl.
  • Field Details

    • wrap

      protected boolean wrap
      The wrap.
    • verticalAlignment

      protected org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment
      The vertical alignment.
    • rgbForeground

      protected ExcelRgbColor[] rgbForeground
      The rgb foreground.
    • rgbFont

      protected ExcelRgbColor[] rgbFont
      The rgb font.
    • precision

      protected int precision
      The precision.
    • horizontalAlignment

      protected org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment
      The horizontal alignment.
    • font

      public ExcelFont font
      The font.
    • fillPatternType

      protected org.apache.poi.ss.usermodel.FillPatternType fillPatternType
      The fill pattern type.
    • border

      protected ExcelBorder border
      The border.
    • locked

      protected boolean locked
      The locked.
    • autoSizeColumn

      protected boolean autoSizeColumn
      The 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 wrap
      verticalAlignment - the vertical alignment
      rgbForeground - the rgb foreground
      rgbFont - the rgb font
      precision - the precision
      horizontalAlignment - the horizontal alignment
      font - the font
      fillPatternType - the fill pattern type
      border - 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 wrap
      verticalAlignment - the vertical alignment
      rgbForeground - the rgb foreground
      rgbFont - the rgb font
      precision - the precision
      horizontalAlignment - the horizontal alignment
      font - the font
      fillPatternType - the fill pattern type
      border - the border
      locked - 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 wrap
      verticalAlignment - the vertical alignment
      rgbForeground - the rgb foreground
      rgbFont - the rgb font
      precision - the precision
      horizontalAlignment - the horizontal alignment
      font - the font
      fillPatternType - the fill pattern type
      border - the border
      locked - the locked
      autoSizeColumn - 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 wrap
      verticalAlignment - the vertical alignment
      rgbForeground - the rgb foreground
      rgbFont - the rgb font
      precision - the precision
      horizontalAlignment - the horizontal alignment
      font - the font
      fillPatternType - the fill pattern type
      border - the border
      locked - the locked
      autoSizeColumn - the auto size column
      percent - 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

      public ExcelRgbColor[] getRgbForeground()
      Gets the rgb foreground.
      Returns:
      the rgb foreground
    • setRgbForeground

      public void setRgbForeground(ExcelRgbColor... rgbForeground)
      Sets the rgb foreground.
      Parameters:
      rgbForeground - the new rgb foreground
    • getRgbFont

      public ExcelRgbColor[] getRgbFont()
      Gets the rgb font.
      Returns:
      the rgb font
    • setRgbFont

      public void setRgbFont(ExcelRgbColor... rgbFont)
      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

      public ExcelFont getFont()
      Gets the font.
      Returns:
      the font
    • setFont

      public void setFont(ExcelFont font)
      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

      public ExcelBorder getBorder()
      Gets the border.
      Returns:
      the border
    • setBorder

      public void setBorder(ExcelBorder border)
      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.
      Overrides:
      hashCode in class Object
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful