Interface CellStyle

  • All Known Subinterfaces:
    EditableCellStyle
    All Known Implementing Classes:
    CellStyleImpl, EditableCellStyleImpl

    public interface CellStyle
    This interface provides access to "style" part of a cell including alignment, border, font, formant, and color.
    Since:
    3.0.0
    Author:
    dennis
    • Method Detail

      • getFont

        Font getFont()
        Returns:
        the font
      • getFillColor

        Color getFillColor()
        Returns:
        fill foreground color
        Since:
        3.5.0
      • getBackColor

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

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

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

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

        Color getBorderTopColor()
        Returns:
        top border color
      • getBorderLeftColor

        Color getBorderLeftColor()
        Returns:
        left border color
      • getBorderBottomColor

        Color getBorderBottomColor()
        Returns:
        bottom border color
      • getBorderRightColor

        Color getBorderRightColor()
        Returns:
        right border color
      • getDataFormat

        String getDataFormat()
        Returns:
        data format
      • isLocked

        boolean isLocked()
        Returns:
        true if locked
      • isHidden

        boolean isHidden()
        Returns:
        true if hidden