public class WidgetCreatorContext extends Object
| Constructor and Description |
|---|
WidgetCreatorContext() |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
getChildElement() |
String |
getWidget() |
ViewFactoryCreator.WidgetConsumer |
getWidgetConsumer() |
JSONObject |
getWidgetElement() |
String |
getWidgetId() |
boolean |
readBooleanChildProperty(String propertyName,
boolean defaultValue) |
boolean |
readBooleanWidgetProperty(String propertyName,
boolean defaultValue) |
String |
readChildProperty(String propertyName) |
String |
readChildProperty(String propertyName,
String defaultValue) |
String |
readWidgetProperty(String propertyName) |
String |
readWidgetProperty(String propertyName,
String defaultValue) |
void |
setChildElement(JSONObject childElement) |
public JSONObject getWidgetElement()
public String getWidget()
public String getWidgetId()
public boolean readBooleanWidgetProperty(String propertyName, boolean defaultValue)
public boolean readBooleanChildProperty(String propertyName, boolean defaultValue)
public void setChildElement(JSONObject childElement)
public JSONObject getChildElement()
public ViewFactoryCreator.WidgetConsumer getWidgetConsumer()
Copyright © 2014. All rights reserved.