|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
public abstract class ViewBaseAction
| Field Summary |
|---|
| Fields inherited from interface org.openxava.actions.IChangeModeAction |
|---|
DETAIL, LIST, PREVIOUS_MODE, SPLIT |
| Constructor Summary | |
|---|---|
ViewBaseAction()
|
|
| Method Summary | |
|---|---|
protected void |
closeDialog()
|
protected java.lang.String |
getModelName()
|
protected View |
getPreviousView()
|
java.util.Stack |
getPreviousViews()
|
View |
getView()
|
protected void |
resetDescriptionsCache()
Reset the cache of all descriptions-list and others uses of descriptionsEditors. |
protected void |
returnToPreviousView()
|
protected void |
setControllers(java.lang.String... controllers)
|
void |
setPreviousViews(java.util.Stack previousViews)
|
void |
setView(View view)
|
protected void |
showDialog()
Creates a new view and shows it inside a dialog. |
protected void |
showDialog(View viewToShowInDialog)
Shows the specified view inside a dialog. |
protected void |
showNewView()
Creates a new view and shows it. |
protected void |
showView(View newView)
Shows the specified view. |
| Methods inherited from class org.openxava.actions.BaseAction |
|---|
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, returnToPreviousControllers, setContext, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openxava.actions.IAction |
|---|
execute |
| Methods inherited from interface org.openxava.actions.IAction |
|---|
execute |
| Methods inherited from interface org.openxava.actions.IAction |
|---|
execute |
| Constructor Detail |
|---|
public ViewBaseAction()
| Method Detail |
|---|
protected void showNewView()
After it if you call to getView() it will return this new view.
protected void showView(View newView)
After it if you call to getView() it will be the specified view.
protected void showDialog(View viewToShowInDialog)
throws java.lang.Exception
After it if you call to getView() it will be the specified view.
java.lang.Exception
protected void showDialog()
throws java.lang.Exception
After it if you call to getView() it will return this new view.
java.lang.Exceptionprotected void closeDialog()
protected void returnToPreviousView()
protected View getPreviousView()
public View getView()
public void setView(View view)
protected java.lang.String getModelName()
protected void resetDescriptionsCache()
resetDescriptionsCache in class BaseActionpublic java.util.Stack getPreviousViews()
public void setPreviousViews(java.util.Stack previousViews)
protected void setControllers(java.lang.String... controllers)
setControllers in class BaseAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||