public class ViewBindHandler extends Object
| Constructor and Description |
|---|
ViewBindHandler(com.google.gwt.core.ext.GeneratorContext context,
View view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDataObject(String dataObject) |
static com.google.gwt.core.ext.typeinfo.JClassType |
getConverterType(com.google.gwt.core.ext.GeneratorContext context,
String bindPath,
String bindConverter,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClassType) |
static String |
getEmptyValueExpression(com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName) |
static String |
getNullSafeExpression(String widgetExpression,
com.google.gwt.core.ext.typeinfo.JType propertyType,
String bindPath,
String dataObjectClassName,
String converterVariable,
String widgetVariable) |
protected ObjectDataBinding.PropertyBindInfo |
getObjectDataBinding(String propertyValue,
String widgetClassName,
String widgetPropertyPath) |
protected boolean |
isObjectDataBinding(String text)
Returns
true if the given text is a binding declaration to a dataObject property. |
protected Iterator<String> |
iterateDataObjects() |
static void |
validateConverter(com.google.gwt.core.ext.typeinfo.JClassType converterType,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
com.google.gwt.core.ext.typeinfo.JClassType propertyType) |
public ViewBindHandler(com.google.gwt.core.ext.GeneratorContext context,
View view)
protected void addDataObject(String dataObject)
protected ObjectDataBinding.PropertyBindInfo getObjectDataBinding(String propertyValue, String widgetClassName, String widgetPropertyPath)
protected boolean isObjectDataBinding(String text)
true if the given text is a binding declaration to a dataObject property.text - true if the given text is a binding declaration.public static String getEmptyValueExpression(com.google.gwt.core.ext.typeinfo.JType propertyType, String bindPath, String dataObjectClassName)
public static com.google.gwt.core.ext.typeinfo.JClassType getConverterType(com.google.gwt.core.ext.GeneratorContext context,
String bindPath,
String bindConverter,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType widgetClassType)
public static void validateConverter(com.google.gwt.core.ext.typeinfo.JClassType converterType,
com.google.gwt.core.ext.GeneratorContext context,
com.google.gwt.core.ext.typeinfo.JClassType widgetClass,
com.google.gwt.core.ext.typeinfo.JClassType propertyType)
Copyright © 2015. All rights reserved.