Package io.keikai.model.impl
Class TableStyleInfoImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractTableStyleInfoAdv
-
- io.keikai.model.impl.TableStyleInfoImpl
-
- All Implemented Interfaces:
STableStyleInfo,Serializable,TableStyleInfo
public class TableStyleInfoImpl extends AbstractTableStyleInfoAdv
Table style- Since:
- 3.8.0
- Author:
- henri
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableStyleInfoImpl(String name, boolean showColumnStripes, boolean showRowStrips, boolean showFirstColumn, boolean showLastColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()TableStylegetStyle()STableStylegetTableStyle(SBook book)Returns styles used in this TableStyleInfo associated with the specified book.booleanisShowColumnStripes()booleanisShowFirstColumn()booleanisShowLastColumn()booleanisShowRowStripes()voidsetName(String name)voidsetShowColumnStripes(boolean b)voidsetShowFirstColumn(boolean b)voidsetShowLastColumn(boolean b)voidsetShowRowStripes(boolean b)
-
-
-
Constructor Detail
-
TableStyleInfoImpl
public TableStyleInfoImpl(String name, boolean showColumnStripes, boolean showRowStrips, boolean showFirstColumn, boolean showLastColumn)
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of the style (may reference a built-in style)
-
setName
public void setName(String name)
-
isShowColumnStripes
public boolean isShowColumnStripes()
- Returns:
- true if alternating column styles should be applied
-
setShowColumnStripes
public void setShowColumnStripes(boolean b)
-
isShowRowStripes
public boolean isShowRowStripes()
- Returns:
- true if alternating row styles should be applied
-
setShowRowStripes
public void setShowRowStripes(boolean b)
-
isShowLastColumn
public boolean isShowLastColumn()
- Returns:
- true if the distinct last column style should be applied
-
setShowLastColumn
public void setShowLastColumn(boolean b)
-
isShowFirstColumn
public boolean isShowFirstColumn()
- Returns:
- true if the distinct first column style should be applied
-
setShowFirstColumn
public void setShowFirstColumn(boolean b)
-
getTableStyle
public STableStyle getTableStyle(SBook book)
Description copied from interface:STableStyleInfoReturns styles used in this TableStyleInfo associated with the specified book.- Returns:
-
getStyle
public TableStyle getStyle()
- Returns:
- style definition
-
-