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 protected
TableCellCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRLineBox
copyFrameBox(FrameCell frameCell, JRPrintFrame frame, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)
protected JRLineBox
copyParentBox(Cell cell, JRPrintElement element, JRLineBox baseBox, boolean keepLeft, boolean keepRight, boolean keepTop, boolean keepBottom)
protected TableCell
createFromParent(Cell cell, TablePosition position)
protected TableCell.CellType
getCellType(BaseElementCell cell)
protected Color
getElementBackcolor(BaseElementCell cell)
protected boolean[]
getFrameCellBorders(Table table, FrameCell cell, Column firstCol, Column lastCol, Row firstRow, Row lastRow)
TableCell
visit(ElementCell cell, TablePosition position)
TableCell
visit(FrameCell frameCell, TablePosition position)
TableCell
visit(LayeredCell layeredCell, TablePosition position)
TableCell
visit(NestedTableCell cell, TablePosition position)
TableCell
visit(SplitCell cell, TablePosition position)
-
-
-
Method Detail
-
visit
public TableCell visit(ElementCell cell, TablePosition position)
- Specified by:
visit
in interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(SplitCell cell, TablePosition position)
- Specified by:
visit
in interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(FrameCell frameCell, TablePosition position)
- Specified by:
visit
in interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(LayeredCell layeredCell, TablePosition position)
- Specified by:
visit
in interfaceCellVisitor<TablePosition,TableCell,RuntimeException>
-
visit
public TableCell visit(NestedTableCell cell, TablePosition position) throws RuntimeException
- Specified by:
visit
in 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)
-
-