public abstract class OnChangePropertyBaseAction extends ViewBaseAction implements IOnChangePropertyAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
Constructor and Description |
---|
OnChangePropertyBaseAction() |
Modifier and Type | Method and Description |
---|---|
protected MetaProperty |
getChangedMetaProperty() |
java.lang.String |
getChangedProperty() |
java.lang.Object |
getNewValue() |
View |
getView()
The view where the on-change is declared.
|
void |
setChangedProperty(java.lang.String string) |
void |
setNewValue(java.lang.Object object) |
protected void |
showView(View newView)
Shows the specified view.
|
closeDialog, getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, validateViewValues
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, setContext, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setView
execute, getErrors, getMessages, setEnvironment, setErrors, setMessages
public java.lang.Object getNewValue()
public java.lang.String getChangedProperty()
protected MetaProperty getChangedMetaProperty() throws XavaException
XavaException
public View getView()
This may be the main view or the module (if property-view : on-change is declared in main view) or an subview (if it's declared inside a aggregate view, for example).
getView
in class ViewBaseAction
public void setNewValue(java.lang.Object object)
setNewValue
in interface IOnChangePropertyAction
public void setChangedProperty(java.lang.String string)
setChangedProperty
in interface IOnChangePropertyAction
protected void showView(View newView)
ViewBaseAction
After it if you call to getView() it will be the specified view.
showView
in class ViewBaseAction