public interface ColumnFormat
| Modifier and Type | Interface and Description |
|---|---|
static class |
ColumnFormat.BarGraphColumnFormat |
static class |
ColumnFormat.ErrorColumnFormat
A formatter to use when there is no data and an error message should be displayed instead.
|
static class |
ColumnFormat.Factory |
static class |
ColumnFormat.FloatColumnFormat |
static class |
ColumnFormat.IntColumnFormat |
static class |
ColumnFormat.LongBarGraphColumnFormat |
static class |
ColumnFormat.PercentageColumnFormat |
static class |
ColumnFormat.ShortBarGraphColumnFormat |
| Modifier and Type | Field and Description |
|---|---|
static String |
BAR |
static String |
LONGBAR |
static String |
PC |
static String |
PERCENTAGE |
static String |
RAW |
static String |
SHORTBAR |
static String |
SORT_TYPE_ALPHA |
static String |
SORT_TYPE_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Column.ColumnData data) |
Number |
formatNumber(Column.ColumnData data) |
String |
formatTitle(String name) |
int |
getColSpan() |
boolean |
isWithinThreshold(Column.ColumnData data,
float min,
float max) |
String |
sortType()
Returns the type of sorting required for sort value.
|
String |
sortValue(Column.ColumnData data)
Formats the value to sort by.
|
static final String PERCENTAGE
static final String PC
static final String RAW
static final String BAR
static final String LONGBAR
static final String SHORTBAR
static final String SORT_TYPE_NUMBER
static final String SORT_TYPE_ALPHA
String format(Column.ColumnData data)
Number formatNumber(Column.ColumnData data)
String sortValue(Column.ColumnData data)
String sortType()
SORT_TYPE_ALPHA or SORT_TYPE_NUMBERint getColSpan()
boolean isWithinThreshold(Column.ColumnData data, float min, float max)
Copyright © 2024 OpenClover.org. All rights reserved.