|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.presentation.portlet.widgets.model.WidgetModel
org.jaffa.presentation.portlet.widgets.model.GridModelRow
A GridModel will contain instances of this class, for each row that gets added to it.
| Method Summary | |
void |
addElement(String id,
Object obj)
Add an element to the row. |
Object |
get(String key)
Returns the value for the input key. |
Object |
getElement(String id)
Returns the row element identified by the input element id. |
int |
getRowId()
Returns the id for this row. |
boolean |
hasElement(String id)
Returns a true if the row has an element having the input id. |
int |
size()
Returns the number of key/value pairs stored in the model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int getRowId()
public Object getElement(String id)
id - The id of the element.
public void addElement(String id,
Object obj)
id - The id of the element.obj - The value of the element.public boolean hasElement(String id)
id - The id of the element.
public Object get(String key)
get in interface IModelMapkey - The key
public int size()
size in interface IModelMap
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||