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 String
getName()
TableStyle
getStyle()
STableStyle
getTableStyle(SBook book)
Returns styles used in this TableStyleInfo associated with the specified book.boolean
isShowColumnStripes()
boolean
isShowFirstColumn()
boolean
isShowLastColumn()
boolean
isShowRowStripes()
void
setName(String name)
void
setShowColumnStripes(boolean b)
void
setShowFirstColumn(boolean b)
void
setShowLastColumn(boolean b)
void
setShowRowStripes(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:STableStyleInfo
Returns styles used in this TableStyleInfo associated with the specified book.- Returns:
-
getStyle
public TableStyle getStyle()
- Returns:
- style definition
-
-