|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.table.CellStyleManager
public final class CellStyleManager
Class for managing collection of cell styles.
Method Summary | |
---|---|
CellStyle |
createCellStyle(FillFormat fillFormat)
Creates NEW cell style with the specified fill format. |
CellStyle |
createCellStyle(FillFormat fillFormat,
HorizontalAlignmentType horizontalAlignment,
VerticalAlignmentType verticalAlignment)
Creates NEW cell style with the specified fill format, vertical and horizontal alignment. |
CellStyle |
createCellStyle(FillFormat fillFormat,
HorizontalAlignmentType horizontalAlignment,
VerticalAlignmentType verticalAlignment,
boolean shrinkToFit,
boolean wrapText,
TextRotationType textRotationType)
Creates NEW cell style with the specified parameters. |
static CellStyleManager |
createInternalInstance()
Internal method for creating style manager. |
CellStyle |
findCellStyle(FillFormat fillFormat,
HorizontalAlignmentType horizontalAlignment,
VerticalAlignmentType verticalAlignment,
boolean shrinkToFit,
boolean wrapText)
Returns existing cell style with the specified parameters and TextRotationType.DEFAULT. |
CellStyle |
findCellStyle(FillFormat fillFormat,
HorizontalAlignmentType horizontalAlignment,
VerticalAlignmentType verticalAlignment,
boolean shrinkToFit,
boolean wrapText,
TextRotationType textRotationType)
Returns existing cell style with the specified parameters. |
CellStyle |
getCellStyle(CellStyleId cellStyleId)
Get existing cell style by id. |
java.util.List<CellStyle> |
getCellStyleList()
Get full collection of cell styles. |
CellStyle |
getDefaultCellStyle()
Get default cell style. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final CellStyleManager createInternalInstance()
public CellStyle getCellStyle(CellStyleId cellStyleId)
cellStyleId
- id of a cell style to get.
public CellStyle createCellStyle(FillFormat fillFormat, HorizontalAlignmentType horizontalAlignment, VerticalAlignmentType verticalAlignment)
fillFormat
- fill format of a cell style.horizontalAlignment
- horizontal alignment.verticalAlignment
- vertical alignment.
public CellStyle createCellStyle(FillFormat fillFormat)
fillFormat
- fill format of a cell style.
public CellStyle createCellStyle(FillFormat fillFormat, HorizontalAlignmentType horizontalAlignment, VerticalAlignmentType verticalAlignment, boolean shrinkToFit, boolean wrapText, TextRotationType textRotationType)
fillFormat
- fill format of a cell style.horizontalAlignment
- horizontal alignment.verticalAlignment
- vertical alignment.shrinkToFit
- determines whether to shrink a text.wrapText
- determines whether to wrap a text.textRotationType
- determines whether to rotate a text.
public CellStyle findCellStyle(FillFormat fillFormat, HorizontalAlignmentType horizontalAlignment, VerticalAlignmentType verticalAlignment, boolean shrinkToFit, boolean wrapText)
fillFormat
- fill format of a cell style.horizontalAlignment
- horizontal alignment.verticalAlignment
- vertical alignment.shrinkToFit
- determines whether to shrink the text.wrapText
- determines whether to wrap the text.
public CellStyle findCellStyle(FillFormat fillFormat, HorizontalAlignmentType horizontalAlignment, VerticalAlignmentType verticalAlignment, boolean shrinkToFit, boolean wrapText, TextRotationType textRotationType)
fillFormat
- fill format of a cell style.horizontalAlignment
- horizontal alignment.verticalAlignment
- vertical alignment.shrinkToFit
- determines whether to shrink the text.wrapText
- determines whether to wrap the text.textRotationType
- determines whether to rotate the text in cell.
public CellStyle getDefaultCellStyle()
public java.util.List<CellStyle> getCellStyleList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |