Class AbstractRowModel
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.table.rows.AbstractRowModel
-
- All Implemented Interfaces:
TableRowModel
- Direct Known Subclasses:
SeparateRowModel
public abstract class AbstractRowModel extends Object implements TableRowModel
-
-
Constructor Summary
Constructors Constructor Description AbstractRowModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow()
protected void
applyPreferredSizes(long[] preferredSizes, int start, int end)
protected void
applyValidateSizes(long[] trailingSizes, int start, int end)
int
getMaximumRowSpan(int rowNumber)
long
getPreferredRowSize(int rowNumber)
protected long[]
getPreferredSizes(int limit)
TableRow
getRow(int i)
int
getRowCount()
protected TableRowImpl[]
getRows()
long
getRowSpacing()
long
getValidatedRowSize(int rowNumber)
protected long[]
getValidateSizes(int limit)
protected TableRowImpl
internalGetRow(int i)
void
prune(int rows)
void
updateDefinedSize(int rowNumber, int rowSpan, long preferredSize)
void
updateValidatedSize(int rowNumber, int rowSpan, long leading, long height)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.layout.model.table.rows.TableRowModel
clear, initialize, setDebugInformation, validateActualSizes, validatePreferredSizes
-
-
-
-
Method Detail
-
addRow
public void addRow()
- Specified by:
addRow
in interfaceTableRowModel
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableRowModel
-
getRow
public TableRow getRow(int i)
-
internalGetRow
protected TableRowImpl internalGetRow(int i)
-
getRows
protected TableRowImpl[] getRows()
-
prune
public void prune(int rows)
- Specified by:
prune
in interfaceTableRowModel
-
getRowSpacing
public long getRowSpacing()
-
updateDefinedSize
public void updateDefinedSize(int rowNumber, int rowSpan, long preferredSize)
- Specified by:
updateDefinedSize
in interfaceTableRowModel
-
updateValidatedSize
public void updateValidatedSize(int rowNumber, int rowSpan, long leading, long height)
- Specified by:
updateValidatedSize
in interfaceTableRowModel
-
getValidatedRowSize
public long getValidatedRowSize(int rowNumber)
- Specified by:
getValidatedRowSize
in interfaceTableRowModel
-
getPreferredRowSize
public long getPreferredRowSize(int rowNumber)
- Specified by:
getPreferredRowSize
in interfaceTableRowModel
-
getMaximumRowSpan
public int getMaximumRowSpan(int rowNumber)
- Specified by:
getMaximumRowSpan
in interfaceTableRowModel
-
getPreferredSizes
protected long[] getPreferredSizes(int limit)
-
applyPreferredSizes
protected void applyPreferredSizes(long[] preferredSizes, int start, int end)
-
getValidateSizes
protected long[] getValidateSizes(int limit)
-
applyValidateSizes
protected void applyValidateSizes(long[] trailingSizes, int start, int end)
-
-