Class ImmutableCellStyleImpl

    • Method Detail

      • getFont

        public SFont getFont()
      • setFont

        public void setFont​(SFont font)
      • copyFrom

        public void copyFrom​(SCellStyle src)
      • getFillColor

        public SColor getFillColor()
        Returns:
        fill foreground-color
      • setFillColor

        public void setFillColor​(SColor fillColor)
      • getFillPattern

        public SFill.FillPattern getFillPattern()
        Description copied from interface: SCellStyle
        Gets the fill/background pattern
        Returns:
        the fill pattern
      • getAlignment

        public SCellStyle.Alignment getAlignment()
        Description copied from interface: SCellStyle
        Gets the horizontal alignment
        Returns:
        the horizontal alignment
      • isWrapText

        public boolean isWrapText()
        Returns:
        true if wrap-text
      • setWrapText

        public void setWrapText​(boolean wrapText)
      • getBorderTopColor

        public SColor getBorderTopColor()
        Returns:
        top border color
      • setBorderTopColor

        public void setBorderTopColor​(SColor borderTopColor)
      • getBorderLeftColor

        public SColor getBorderLeftColor()
        Returns:
        left border color
      • setBorderLeftColor

        public void setBorderLeftColor​(SColor borderLeftColor)
      • getBorderBottomColor

        public SColor getBorderBottomColor()
        Returns:
        bottom border color
      • setBorderBottomColor

        public void setBorderBottomColor​(SColor borderBottomColor)
      • getBorderRightColor

        public SColor getBorderRightColor()
        Returns:
        right border color
      • setBorderRightColor

        public void setBorderRightColor​(SColor borderRightColor)
      • getDataFormat

        public String getDataFormat()
        Returns:
        data format
      • setDataFormat

        public void setDataFormat​(String dataFormat)
      • isDirectDataFormat

        public boolean isDirectDataFormat()
        Returns:
        true if the data format is direct data format, which mean it will not care Locale when formatting
      • setDirectDataFormat

        public void setDirectDataFormat​(String dataFormat)
      • isLocked

        public boolean isLocked()
        Returns:
        true if locked
      • setLocked

        public void setLocked​(boolean locked)
      • isHidden

        public boolean isHidden()
        Returns:
        true if hidden
      • setHidden

        public void setHidden​(boolean hidden)
      • getBackColor

        public SColor getBackColor()
        Returns:
        fill background-color
      • setBackColor

        public void setBackColor​(SColor backColor)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getRotation

        public int getRotation()
        Description copied from interface: SCellStyle
        get the degree of rotation for the text in the cell
        Returns:
        rotation degrees (between -90 and 90 degrees); 255 means "vertical text"
      • setRotation

        public void setRotation​(int rotation)
      • getIndention

        public int getIndention()
      • setIndention

        public void setIndention​(int indent)
      • getBorder

        public SBorder getBorder()
        Description copied from interface: SCellStyle
        Returns the border
        Returns:
      • getFill

        public SFill getFill()
        Description copied from interface: SCellStyle
        Returns the fill
        Returns:
      • getBorderVertical

        public SBorder.BorderType getBorderVertical()
        Returns:
        vertical border
      • setBorderVertical

        public void setBorderVertical​(SBorder.BorderType borderVertical)
      • getBorderHorizontal

        public SBorder.BorderType getBorderHorizontal()
        Returns:
        horizontal border
      • setBorderHorizontal

        public void setBorderHorizontal​(SBorder.BorderType borderHorizontal)
      • getBorderDiagonal

        public SBorder.BorderType getBorderDiagonal()
        Returns:
        diagonal border
      • setBorderDiagonal

        public void setBorderDiagonal​(SBorder.BorderType borderDiagonal)
      • getBorderVerticalColor

        public SColor getBorderVerticalColor()
        Returns:
        vertical border color
      • setBorderVerticalColor

        public void setBorderVerticalColor​(SColor color)
      • getBorderHorizontalColor

        public SColor getBorderHorizontalColor()
        Returns:
        horizontal border color
      • setBorderHorizontalColor

        public void setBorderHorizontalColor​(SColor color)
      • getBorderDiagonalColor

        public SColor getBorderDiagonalColor()
        Returns:
        diagonal border color
      • setBorderDiagonalColor

        public void setBorderDiagonalColor​(SColor color)
      • isShowDiagonalUpBorder

        public boolean isShowDiagonalUpBorder()
        Returns:
      • isShowDiagonalDownBorder

        public boolean isShowDiagonalDownBorder()
        Returns: