public class ColumnArrayImpl extends AbstractColumnArrayAdv
Constructor and Description |
---|
ColumnArrayImpl(AbstractSheetAdv sheet,
int index,
int lastIndex) |
Modifier and Type | Method and Description |
---|---|
void |
checkOrphan() |
void |
destroy()
Destroy / release this model object, for example all the dependency, parent linking.
|
SCellStyle |
getCellStyle()
Get the style, if it doesn't has local style, it will possible look up it's parent's style
|
SCellStyle |
getCellStyle(boolean local)
Get the cell style locally or look up from the parent
|
int |
getIndex() |
int |
getLastIndex() |
SSheet |
getSheet() |
int |
getWidth() |
boolean |
isCustomWidth() |
boolean |
isHidden() |
void |
setCellStyle(SCellStyle cellStyle)
Set the local style
|
void |
setCustomWidth(boolean custom) |
void |
setHidden(boolean hidden) |
void |
setWidth(int width) |
boolean |
shouldSkip() |
String |
toString() |
public ColumnArrayImpl(AbstractSheetAdv sheet, int index, int lastIndex)
public int getIndex()
public void checkOrphan()
public void destroy()
LinkedModelObject
public SSheet getSheet()
public SCellStyle getCellStyle()
CellStyleHolder
CellStyleHolder.getCellStyle(boolean)
public SCellStyle getCellStyle(boolean local)
CellStyleHolder
local
- true to get the local style onlypublic void setCellStyle(SCellStyle cellStyle)
CellStyleHolder
cellStyle
- the style to set, null to clean local stylepublic int getWidth()
public boolean isHidden()
public void setWidth(int width)
public void setHidden(boolean hidden)
public int getLastIndex()
public boolean isCustomWidth()
public void setCustomWidth(boolean custom)
public boolean shouldSkip()
Copyright © 2020. All rights reserved.