|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a callbacks used when events occur on a collection.
Method Summary | |
void |
onAddExistingToCollection()
Called when the user wants to add an object to the collection, without creating a new one even if the collection is "autocreate". |
void |
onAddToCollection()
Called when the user wants to add an object to the collection. |
void |
onFirst()
Display to the first page of items |
void |
onLast()
Display to the last page of items |
void |
onNext()
Display the next page of items |
void |
onPrevious()
Display the previous page of items |
void |
onRefreshCollection()
Call when a parameter of the view has changed and the view should be refresh to take it into account. |
void |
onRemove(int index)
Called when the user selects an item to remove it. |
void |
onRemoveFromCollection()
Called when the user wants to remove an object to the collection. |
void |
onTableInvoke(int index,
String methodName)
Called when a method is called on an object belonging to the collection. |
void |
onView(int index)
Called when the user selects an item to view it. |
void |
onViewObject(String name)
Called when the user selects an item to view it. |
Method Detail |
public void onView(int index)
index
- the index of the element to viewpublic void onViewObject(String name)
name
- the name of the object to viewonView(int)
public void onRemove(int index)
index
- the index of the element to removepublic void onTableInvoke(int index, String methodName)
index
- the index of the element to viewmethodName
- the name of the method to invokepublic void onAddToCollection()
onAddExistingToCollection()
public void onAddExistingToCollection()
onAddToCollection()
public void onRemoveFromCollection()
public void onNext()
public void onPrevious()
public void onFirst()
public void onLast()
public void onRefreshCollection()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |