public final class ViewContextProxy extends Object
ViewContext
.
By convention, generates the boilerplate for the methods that return ContextProperty
.Modifier and Type | Class and Description |
---|---|
static class |
ViewContextProxy.ContextInitializer
Initialises
ContextProperty for this view. |
static class |
ViewContextProxy.StatePropertyGetterDelegate
Delegates a getter method call to a look-up in the property map.
|
Constructor and Description |
---|
ViewContextProxy() |
Modifier and Type | Method and Description |
---|---|
<T extends ViewContext> |
createViewContext(Class<T> clazz) |
<T extends ViewContext> |
createViewContext(Class<T> clazz,
Map<String,ContextProperty> properties) |
public <T extends ViewContext> T createViewContext(Class<T> clazz)
public <T extends ViewContext> T createViewContext(Class<T> clazz, Map<String,ContextProperty> properties)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.