public abstract class ViewModel extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addModel(String name,
Object value) |
protected abstract String |
generateTemplateName() |
Map<String,Object> |
getModel() |
String |
getViewName() |
RenderedUI |
render() |
public ViewModel(String viewName)
viewName - the logical view namepublic final String getViewName()
public final void addModel(String name, Object value)
name - the key of the entryvalue - the value of the model entryprotected abstract String generateTemplateName()
public final RenderedUI render()
Copyright © 2012-2014 Taimos GmbH. All Rights Reserved.