|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModelAdapter
An interface used to add functionality and provide convenient access to the model for some components. An example of this is the ListModelAdapter
Copyright: Copyright (c) Formaria Ltd., 2008
| Method Summary | |
|---|---|
java.lang.Object |
get(int i)
Gets an individual list item value |
DataModel |
getDataModel()
Set the adapter source |
int |
getNumChildren()
Gets the number of child nodes belonging to this node |
java.lang.Object |
getSelected()
Gets the value of the selected item from the node. |
void |
set(java.lang.Object o)
Set the value of the list item |
void |
setDataModel(DataModel src)
Set the adapter source |
| Method Detail |
|---|
java.lang.Object get(int i)
i - The index of the listitem
int getNumChildren()
void set(java.lang.Object o)
o - The new valuejava.lang.Object getSelected()
void setDataModel(DataModel src)
src - the modelDataModel getDataModel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||