| java.lang.Object org.beryl.gui.model.AbstractDataModel org.beryl.gui.model.TableDataModel
TableDataModel | public class TableDataModel extends AbstractDataModel implements Serializable(Code) | | Special type of data model which refers to columns using keys instead of indices
|
Inner Class :public static class ReflectionInfo | |
Method Summary | |
public void | addRow(TableRow tableRow) | public void | addRow(View view, TableRow tableRow) | public void | addRows(View view, Set tableRows) | public void | addValueObject(Object valueObject) | public void | addValueObjects(Set valueObjects) | public void | clear() | public ValueObjectTableRow | createValueObjectTableRow(Object valueObject) | public ReflectionInfo | getReflectionInfo(Object object) | public int | getRowCount() | public int | getRowIndex(TableRow row) | public ArrayList | getRows() | public TableRow | getTableRow(int row) | public Object | getValue(int row, String key) | public int | indexOf(TableRow tableRow) | public void | insertRow(int index, TableRow tableRow) | public void | insertRow(View view, int index, TableRow tableRow) | public void | insertRows(View view, int index, Set tableRows) | public void | insertValueObject(int index, Object valueObject) | public void | insertValueObjects(int index, Set valueObjects) | public boolean | isEditable(int row, String key) | public void | removeRow(int index) | public void | removeRow(View view, int index) | public void | removeRow(TableRow tableRow) | public void | removeRow(View view, TableRow tableRow) | public void | removeValueObject(Object valueObject) | public void | removeValueObjects(Set valueObjects) | public void | setValue(int row, String key, Object value) | public String | toString() |
TableDataModel | public TableDataModel()(Code) | | |
addValueObject | public void addValueObject(Object valueObject) throws GUIException(Code) | | Add a single value object to the table data model
|
addValueObjects | public void addValueObjects(Set valueObjects) throws GUIException(Code) | | Add a set of value objects to the table data model
|
getReflectionInfo | public ReflectionInfo getReflectionInfo(Object object)(Code) | | |
getRowCount | public int getRowCount()(Code) | | |
insertValueObject | public void insertValueObject(int index, Object valueObject) throws GUIException(Code) | | Insert a single value object into the table data model
|
insertValueObjects | public void insertValueObjects(int index, Set valueObjects) throws GUIException(Code) | | Insert a set of value objects into the table data model
|
isEditable | public boolean isEditable(int row, String key)(Code) | | |
removeValueObject | public void removeValueObject(Object valueObject) throws GUIException(Code) | | Remove a single value object from the table data model
|
removeValueObjects | public void removeValueObjects(Set valueObjects) throws GUIException(Code) | | Remove multiple value objects from the table data model
|
|
|