Class Tabulator.TableCellCreator
- java.lang.Object
-
- net.sf.jasperreports.engine.export.tabulator.Tabulator.TableCellCreator
-
- All Implemented Interfaces:
CellVisitor<TablePosition,TableCell,RuntimeException>
- Enclosing class:
- Tabulator
protected class Tabulator.TableCellCreator extends Object implements CellVisitor<TablePosition,TableCell,RuntimeException>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableCellCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRLineBoxcopyFrameBox(FrameCell frameCell, JRPrintFrame frame, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)protected JRLineBoxcopyParentBox(Cell cell, JRPrintElement element, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)protected TableCellcreateFromParent(Cell cell, TablePosition position)protected TableCell.CellTypegetCellType(BaseElementCell cell)protected ColorgetElementBackcolor(BaseElementCell cell)protected boolean[]getFrameCellBorders(Table table, FrameCell cell, Column firstCol, Column lastCol, Row firstRow, Row lastRow)TableCellvisit(ElementCell cell, TablePosition position)TableCellvisit(FrameCell frameCell, TablePosition position)TableCellvisit(LayeredCell layeredCell, TablePosition position)TableCellvisit(NestedTableCell cell, TablePosition position)TableCellvisit(SplitCell cell, TablePosition position)
-
-
-
Method Detail
-
visit
public TableCell visit(ElementCell cell, TablePosition position)
- Specified by:
visitin interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(SplitCell cell, TablePosition position)
- Specified by:
visitin interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(FrameCell frameCell, TablePosition position)
- Specified by:
visitin interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(LayeredCell layeredCell, TablePosition position)
- Specified by:
visitin interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(NestedTableCell cell, TablePosition position) throws RuntimeException
- Specified by:
visitin interfaceCellVisitor<TablePosition,TableCell,RuntimeException>- Throws:
RuntimeException
-
createFromParent
protected TableCell createFromParent(Cell cell, TablePosition position)
-
getElementBackcolor
protected Color getElementBackcolor(BaseElementCell cell)
-
getCellType
protected TableCell.CellType getCellType(BaseElementCell cell)
-
copyParentBox
protected JRLineBox copyParentBox(Cell cell, JRPrintElement element, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)
-
getFrameCellBorders
protected boolean[] getFrameCellBorders(Table table, FrameCell cell, Column firstCol, Column lastCol, Row firstRow, Row lastRow)
-
copyFrameBox
protected JRLineBox copyFrameBox(FrameCell frameCell, JRPrintFrame frame, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)
-
-