|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.model.TableData
public class TableData
Model class to store Data in a Table. All columns and sorters of the Table are stored in two Hashtables.
| Field Summary | |
|---|---|
private java.util.Hashtable |
columnSorter
|
private java.util.Hashtable |
tableColumns
|
| Constructor Summary | |
|---|---|
private |
TableData()
Private constructor which is used by the factory methods. |
| Method Summary | |
|---|---|
void |
addColumn(TableColumn column,
java.lang.String key)
Add a table column to the list of table columns |
void |
addColumnSorter(SortingSelectionAdapter sorter,
java.lang.String key)
Add a sorter to the list of sorters |
static TableData |
createTableData()
Create a new TableData to store columns and sorters. |
TableColumn |
getColumn(java.lang.String key)
Get a table column from the list of columns |
SortingSelectionAdapter |
getColumnSorter(java.lang.String key)
Get a sorter from the list of sorters |
boolean |
hasColumnSorter(java.lang.Object key)
Check if this model contains the desired sorter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Hashtable columnSorter
private java.util.Hashtable tableColumns
| Constructor Detail |
|---|
private TableData()
| Method Detail |
|---|
public static TableData createTableData()
public void addColumn(TableColumn column,
java.lang.String key)
column - The table column to addkey - The unique name of the table column
public void addColumnSorter(SortingSelectionAdapter sorter,
java.lang.String key)
sorter - The sorter to addkey - The unique name of the sorterpublic TableColumn getColumn(java.lang.String key)
key - The unique key of the table column
public SortingSelectionAdapter getColumnSorter(java.lang.String key)
key - The unique key of the sorter
public boolean hasColumnSorter(java.lang.Object key)
key - The unique name of the sorter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||