public class FastSheetLayout extends Object implements SlimSheetLayout
Constructor and Description |
---|
FastSheetLayout(SheetLayout sheetLayout) |
Modifier and Type | Method and Description |
---|---|
StrictBounds |
getBounds(TableRectangle rectangle) |
long |
getCellWidth(int col) |
long |
getCellWidth(int startCell,
int endCell) |
int |
getColumnCount() |
long |
getMaxWidth() |
long |
getRowHeight(int row) |
TableRectangle |
getTableBounds(StrictBounds cb,
TableRectangle rectangle) |
long |
getXPosition(int col) |
long |
getYPosition(int row) |
void |
reinit(long rowHeightOffset,
long[] cellHeights) |
public FastSheetLayout(SheetLayout sheetLayout)
public void reinit(long rowHeightOffset, long[] cellHeights)
public long getCellWidth(int col)
getCellWidth
in interface SlimSheetLayout
public long getRowHeight(int row)
getRowHeight
in interface SlimSheetLayout
public long getXPosition(int col)
getXPosition
in interface SlimSheetLayout
public long getYPosition(int row)
getYPosition
in interface SlimSheetLayout
public TableRectangle getTableBounds(StrictBounds cb, TableRectangle rectangle)
getTableBounds
in interface SlimSheetLayout
public int getColumnCount()
getColumnCount
in interface SlimSheetLayout
public long getCellWidth(int startCell, int endCell)
getCellWidth
in interface SlimSheetLayout
public long getMaxWidth()
getMaxWidth
in interface SlimSheetLayout
public StrictBounds getBounds(TableRectangle rectangle)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.