Class PrometheusSheetColumn
java.lang.Object
io.github.tonywasher.joceanus.prometheus.service.sheet.PrometheusSheetColumn
Class representing a column in Oasis.
- Author:
- Tony Washer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPrometheusSheetColumn(PrometheusSheetSheet pSheet, int pIndex, boolean pReadOnly) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintObtain the column index.abstract PrometheusSheetColumnGet the next column.abstract PrometheusSheetColumnGet the previous column.getSheet()Obtain the underlying sheet.abstract booleanisHidden()Is the column hidden?booleanIs the column readOnly?voidSet hidden status.protected abstract voidSet the default cell style.voidsetHidden(boolean isHidden) Set hidden status.protected abstract voidsetHiddenValue(boolean isHidden) Set hidden status.
-
Constructor Details
-
PrometheusSheetColumn
Constructor.- Parameters:
pSheet- the sheet for the columnpIndex- the indexpReadOnly- is the column readOnly?
-
-
Method Details
-
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
Get the next column.- Returns:
- the next column
-
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
Set hidden status.- Parameters:
pStyle- the cell style
-
setDefaultCellStyleValue
Set the default cell style.- Parameters:
pStyle- the cell style
-