public class PropertBindingController extends Object implements DMXController
Constructor and Description |
---|
PropertBindingController() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Object... params)
Execute action associated with this controller.
|
Map<String,Object> |
getControllerDataMap()
Returns a map of model data that this controller is interested in.
|
Set<String> |
getControllerDataNames()
Returns a set of names of data registered with this controller.
|
String |
getMapping()
Returns a mapping string for which this controller will be invoked.
|
String |
getNextViewId()
Name of the view that should be displayed after this controller terminates
it's operation.
|
void |
updateFromModel(Map<String,Object> modelData)
This method will update controller data with current data from model.
|
Map<String,Object> |
updateModel()
This method is called after controller is invoked to update model
data with any changes made by controller.
|
public String getNextViewId()
DMXController
getNextViewId
in interface DMXController
public String getMapping()
DMXController
Returns a mapping string for which this controller will be invoked. Mapping depends on a context in which controller operates. For example, in Swing application, it can be component name, while in web application it can be an URL.
getMapping
in interface DMXController
public void updateFromModel(Map<String,Object> modelData)
DMXController
updateFromModel
in interface DMXController
modelData
- model datapublic Map<String,Object> updateModel()
DMXController
updateModel
in interface DMXController
public Map<String,Object> getControllerDataMap()
DMXController
getControllerDataMap
in interface DMXController
public Set<String> getControllerDataNames()
DMXController
getControllerDataNames
in interface DMXController
public void execute(Object... params) throws ExecutionException
DMXController
execute
in interface DMXController
params
- operation parametersExecutionException
- if an error occurs during executionCopyright © 2012-2014 Vektor Software. All Rights Reserved.