Interface SCellStyle

    • Method Detail

      • getFillColor

        SColor getFillColor()
        Returns:
        fill foreground-color
      • getBackColor

        SColor getBackColor()
        Returns:
        fill background-color
        Since:
        3.6.0
      • getFillPattern

        SFill.FillPattern getFillPattern()
        Gets the fill/background pattern
        Returns:
        the fill pattern
      • getAlignment

        SCellStyle.Alignment getAlignment()
        Gets the horizontal alignment
        Returns:
        the horizontal alignment
      • isWrapText

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

        SBorder.BorderType getBorderVertical()
        Returns:
        vertical border
        Since:
        3.8.0
      • getBorderHorizontal

        SBorder.BorderType getBorderHorizontal()
        Returns:
        horizontal border
        Since:
        3.8.0
      • getBorderDiagonal

        SBorder.BorderType getBorderDiagonal()
        Returns:
        diagonal border
        Since:
        3.8.0
      • getBorderTopColor

        SColor getBorderTopColor()
        Returns:
        top border color
      • getBorderLeftColor

        SColor getBorderLeftColor()
        Returns:
        left border color
      • getBorderBottomColor

        SColor getBorderBottomColor()
        Returns:
        bottom border color
      • getBorderRightColor

        SColor getBorderRightColor()
        Returns:
        right border color
      • getBorderVerticalColor

        SColor getBorderVerticalColor()
        Returns:
        vertical border color
        Since:
        3.8.0
      • getBorderHorizontalColor

        SColor getBorderHorizontalColor()
        Returns:
        horizontal border color
        Since:
        3.8.0
      • getBorderDiagonalColor

        SColor getBorderDiagonalColor()
        Returns:
        diagonal border color
        Since:
        3.8.0
      • getDataFormat

        String getDataFormat()
        Returns:
        data format
      • isDirectDataFormat

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

        boolean isLocked()
        Returns:
        true if locked
      • isHidden

        boolean isHidden()
        Returns:
        true if hidden
      • setWrapText

        @Deprecated
        void setWrapText​(boolean wrapText)
        Deprecated.
      • setBorderTopColor

        @Deprecated
        void setBorderTopColor​(SColor borderTopColor)
        Deprecated.
      • setBorderLeftColor

        @Deprecated
        void setBorderLeftColor​(SColor borderLeftColor)
        Deprecated.
      • setBorderBottomColor

        @Deprecated
        void setBorderBottomColor​(SColor borderBottomColor)
        Deprecated.
      • setBorderRightColor

        @Deprecated
        void setBorderRightColor​(SColor borderRightColor)
        Deprecated.
      • setBorderVerticalColor

        @Deprecated
        void setBorderVerticalColor​(SColor color)
        Deprecated.
      • setBorderHorizontalColor

        @Deprecated
        void setBorderHorizontalColor​(SColor color)
        Deprecated.
      • setBorderDiagonalColor

        @Deprecated
        void setBorderDiagonalColor​(SColor color)
        Deprecated.
      • setDirectDataFormat

        @Deprecated
        void setDirectDataFormat​(String dataFormat)
        Deprecated.
      • setLocked

        @Deprecated
        void setLocked​(boolean locked)
        Deprecated.
      • setHidden

        @Deprecated
        void setHidden​(boolean hidden)
        Deprecated.
      • getFont

        SFont getFont()
      • getRotation

        int getRotation()
        get the degree of rotation for the text in the cell
        Returns:
        rotation degrees (between -90 and 90 degrees); 255 means "vertical text"
        Since:
        3.8.0
      • setRotation

        @Deprecated
        void setRotation​(int rotation)
        Deprecated.
      • getIndention

        int getIndention()
      • setIndention

        @Deprecated
        void setIndention​(int indent)
        Deprecated.
      • getBorder

        SBorder getBorder()
        Returns the border
        Returns:
        Since:
        3.8.0
      • getFill

        SFill getFill()
        Returns the fill
        Returns:
        Since:
        3.8.0
      • isShowDiagonalUpBorder

        boolean isShowDiagonalUpBorder()
        Returns:
        Since:
        3.8.2
      • isShowDiagonalDownBorder

        boolean isShowDiagonalDownBorder()
        Returns:
        Since:
        3.8.2