|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XModelAdapter
An interface used to add functionality and provide convenient access to the model for some components. An example of this is the XListModelAdapter
Copyright: Copyright (c) Xoetrope Ltd., 2002-2003
| Method Summary | |
|---|---|
java.lang.Object |
get(int i)
Gets an individual list item value |
XModel |
getModel()
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 |
setModel(XModel 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 setModel(XModel src)
src - the modelXModel getModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||