All Packages Class Hierarchy This Package Previous Next Index
Interface tea.set.Model
- public interface Model
- extends ModelBase
Model and ModelBase combined to form the interface for a two
dimensional matrix. It includes methods for manipulating rows
and columns, in addition to individual cells.
- See Also:
- ModelBase, Grid, TextGrid
-
fetchRow(int)
- Fetch the actual content of a row.
-
getCharSize(int, int)
- Get the size of a cell.
-
getObject(int, int)
- Return the value in the cell.
-
setCharSize(int, int, Dimension)
- Set the size of a cell.
-
setObject(int, int, Object)
- Set the content of a cell.
getObject
public abstract Object getObject(int r,
int c)
- Return the value in the cell.
- Parameters:
- r - row number.
- c - column number.
- Returns:
- cell content.
setObject
public abstract void setObject(int r,
int c,
Object v)
- Set the content of a cell.
- Parameters:
- r - row number.
- c - column number.
- v - cell content.
getCharSize
public abstract Dimension getCharSize(int r,
int c)
- Get the size of a cell.
- Parameters:
- r - row number.
- c - column number.
- Returns:
- cell size in characters.
setCharSize
public abstract void setCharSize(int r,
int c,
Dimension sz)
- Set the size of a cell.
- Parameters:
- r - row number.
- c - column number.
- sz - size in characters.
fetchRow
public abstract void fetchRow(int r)
- Fetch the actual content of a row. This is for implementing
delayed loading. The row number passed to this method may not
be in the 0 - (getRowCount()-1) range.
- Parameters:
- r - row number.
All Packages Class Hierarchy This Package Previous Next Index