|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TPTMultiView.TPTView
An optional interface, your component representing a single view may implement. If interface is implemented, your view will receive its lifecycle events, see interface methods below. You do not need to register your view as a listener, just implement the interface and this is enough.
Method Summary | |
---|---|
void |
viewActivated(java.lang.String previousViewId,
java.lang.String parameters)
Called when view is activated, e.g. |
void |
viewAttached()
Called when a view is attached to a multiview component, e.g. |
void |
viewDeactivated(java.lang.String newViewId)
Called when view is deactivated, e.g. |
void |
viewRemoved()
Called when a view is removed from a multiview component, e.g. |
Method Detail |
---|
void viewActivated(java.lang.String previousViewId, java.lang.String parameters)
parameters
- optional view parameters, that may come from who called the method
switchViewpreviousViewId
- ID of the previous view. Useful for building navigation or
historical browsingvoid viewDeactivated(java.lang.String newViewId)
newViewId
- ID of the view that came at topvoid viewAttached()
void viewRemoved()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |