java.lang.Object
io.github.tonywasher.joceanus.prometheus.service.sheet.PrometheusSheetColumn

public abstract class PrometheusSheetColumn extends Object
Class representing a column in Oasis.
Author:
Tony Washer
  • Constructor Details

    • PrometheusSheetColumn

      protected PrometheusSheetColumn(PrometheusSheetSheet pSheet, int pIndex, boolean pReadOnly)
      Constructor.
      Parameters:
      pSheet - the sheet for the column
      pIndex - the index
      pReadOnly - is the column readOnly?
  • Method Details

    • getSheet

      public PrometheusSheetSheet getSheet()
      Obtain the underlying sheet.
      Returns:
      the underlying sheet
    • getColumnIndex

      public int getColumnIndex()
      Obtain the column index.
      Returns:
      column index
    • isReadOnly

      public boolean isReadOnly()
      Is the column readOnly?
      Returns:
      true/false
    • getNextColumn

      public abstract PrometheusSheetColumn getNextColumn()
      Get the next column.
      Returns:
      the next column
    • getPreviousColumn

      public abstract PrometheusSheetColumn getPreviousColumn()
      Get the previous column.
      Returns:
      the previous column
    • setHidden

      public void setHidden(boolean isHidden)
      Set hidden status.
      Parameters:
      isHidden - is the column hidden?
    • setHiddenValue

      protected abstract void setHiddenValue(boolean isHidden)
      Set hidden status.
      Parameters:
      isHidden - is the column hidden?
    • isHidden

      public abstract boolean isHidden()
      Is the column hidden?
      Returns:
      true/false
    • setDefaultCellStyle

      public void setDefaultCellStyle(PrometheusSheetCellStyleType pStyle)
      Set hidden status.
      Parameters:
      pStyle - the cell style
    • setDefaultCellStyleValue

      protected abstract void setDefaultCellStyleValue(PrometheusSheetCellStyleType pStyle)
      Set the default cell style.
      Parameters:
      pStyle - the cell style