|
Oracle JEWT API Reference Release 4.2.33.0.0 B12199-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.bali.ewt.model.NullTwoDModel
A NullTwoDModel is an data source that contains no rows or columns and always returns null from getData.
It is a singleton class so clients should call NullTwoDModel.getTwoDModel() to get the only instance.
NullTwoDModel is used only by the Grid for its default constructor.
ArrayTwoDModel,
Grid| Method Summary | |
void |
addModelListener(TwoDModelListener listener)
Add a TwoDModelListener to this TwoDModel. |
int |
getColumnCount()
Get the number of columns. |
java.lang.Object |
getData(int columnIndex,
int rowIndex)
Return the data of the cell. |
int |
getRowCount()
Get the number of rows. |
static TwoDModel |
getTwoDModel()
Get the only instance of this class. |
void |
removeModelListener(TwoDModelListener listener)
Remove a TwoDModelListener from this TwoDModel. |
void |
setData(int columnIndex,
int rowIndex,
java.lang.Object data)
Set the cell data to the new value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static TwoDModel getTwoDModel()
public int getColumnCount()
getColumnCount in interface TwoDModelpublic int getRowCount()
getRowCount in interface TwoDModel
public java.lang.Object getData(int columnIndex,
int rowIndex)
getData in interface TwoDModeloracle.bali.ewt.model.TwoDModelcolumnIndex - the column index of the cellrowIndex - the row index of the cell
public void setData(int columnIndex,
int rowIndex,
java.lang.Object data)
setData in interface TwoDModeloracle.bali.ewt.model.TwoDModelcolumnIndex - the column index of the cellrowIndex - the row index of the celldata - the new datapublic void addModelListener(TwoDModelListener listener)
addModelListener in interface TwoDModeloracle.bali.ewt.model.TwoDModellistener - new listenerpublic void removeModelListener(TwoDModelListener listener)
removeModelListener in interface TwoDModeloracle.bali.ewt.model.TwoDModellistener - new listener
|
Oracle JEWT 4.2.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||