| Package | Description |
|---|---|
| de.tsl2.nano.collection |
| Modifier and Type | Class and Description |
|---|---|
class |
FormTable<H extends Format & Comparable<H>,ID>
Simple extension of
TableList to get formatted values. |
| Modifier and Type | Method and Description |
|---|---|
<T extends TableList<H,ID>> |
TableList.fill(Class<ID> idType,
int rowCount)
pre fill (e.g. a fixed sized table) with empty values
|
<T extends TableList<H,ID>> |
TableList.fill(ID... ids)
pre fill the table - all values will be null
|
<T extends TableList<H,ID>> |
TableList.fill(int rowCount) |
static <T extends TableList> |
TableList.load(String file,
Class<T> type) |
static <T extends TableList> |
TableList.load(String file,
Class<T> type,
String div) |
| Modifier and Type | Method and Description |
|---|---|
TableList<H,ID> |
TableList.add(ID rowId,
Object... values)
adds a new row to the table. if no values are given, an empty row will be added. if some values were given, but
not the size of the header, an exception will be thrown
|
TableList<H,ID> |
TableList.add(int index,
ID rowId,
Object... values)
adds a new row to the table. if no values are given, an empty row will be added. if some values were given, but
not the size of the header, an exception will be thrown
|
TableList<H,ID> |
TableList.addAll(boolean includedRowIds,
List values) |
TableList<H,ID> |
TableList.addAll(boolean includedRowIds,
Object... values)
addAll
|
TableList<H,ID> |
TableList.set(ID rowID,
H column,
Object value)
resets an existing value of a given row and column of the table.
|
TableList<H,ID> |
TableList.set(ID rowID,
int column,
Object value)
resets an existing value of a given row and column of the table.
|
<S> TableList<H,ID> |
TableList.set(ID rowId,
S... values)
convenience to refresh the values of the given row (the table-value instances wont change!).
|
TableList<H,ID> |
TableList.set(int row,
H column,
Object value)
resets an existing value of a given row and column of the table.
|
TableList<H,ID> |
TableList.set(int index,
ID rowId,
Object... values)
resets an existing row of the table. if no values are given, an empty row will be added. if some values were
given, but not the size of the header, an exception will be thrown
|
TableList<H,ID> |
TableList.set(int row,
int column,
Object value)
resets an existing value of a given row and column of the table.
|
Copyright © 2012–2018. All rights reserved.