public interface DataColumn
FlatTable table = new FlatTableBuilder() ... .addDataColumn( ... data column here ... ) .addDataColumn(... data column here ... ) ... .build();
Modifier and Type | Field and Description |
---|---|
static int |
NO_SORTING
no sorting flag
|
Modifier and Type | Method and Description |
---|---|
GroupCalculator |
getCalculator()
returns the calculator (if any) to be used on this column
|
String |
getFormattedTotal(Object totalValue)
returns the formatted value of the total as it will be displayed in the report
|
String |
getFormattedValue(Object value)
returns the formatted value ready to be displayed in the report
|
String |
getHeader()
returns the header of the column.
|
HorizAlign |
getHorizAlign()
returns the horizontal alignment of the values of this column
|
int |
getSortLevel()
The sorting priority of this column
|
SortType |
getSortType()
getter for the sort type (asc or desc)
|
Object |
getValue(NewRowEvent newRowEvent)
retrieves the value for this column.
|
VertAlign |
getVertAlign()
returns the vertical alignment of the values of this column
|
static final int NO_SORTING
String getHeader()
String getFormattedValue(Object value)
value
- the unformatted valueString getFormattedTotal(Object totalValue)
totalValue
- Object getValue(NewRowEvent newRowEvent)
newRowEvent
- the event containing the new row of data as an arrayGroupCalculator getCalculator()
HorizAlign getHorizAlign()
VertAlign getVertAlign()
int getSortLevel()
SortType getSortType()
Copyright © 2006–2015. All rights reserved.