public class PropertyBindInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.core.ext.typeinfo.JType |
bindInfoType |
protected com.google.gwt.core.ext.typeinfo.JType |
bindPathType |
protected boolean |
boundToAttribute |
protected String |
converterClassName |
protected String |
converterParams |
protected com.google.gwt.core.ext.typeinfo.JClassType |
converterType |
protected String |
converterVariableName |
protected static String |
DATA_OBJECT_VAR_REF |
protected static String |
DATA_OBJECT_WRITE_VALUE_REF |
protected String |
dataObject |
protected String |
dataObjectClassName |
protected String |
dataObjectReadExpression |
protected String |
dataObjectWriteExpression |
protected String |
getUiObjectExpression |
protected String |
readExpression |
protected static String |
WIDGET_VAR_REF |
protected String |
widgetClassName |
protected String |
writeExpression |
| Constructor and Description |
|---|
PropertyBindInfo(String widgetPropertyPath,
boolean boundToAttribute,
String bindPath,
com.google.gwt.core.ext.typeinfo.JClassType widgetType,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
com.google.gwt.core.ext.typeinfo.JClassType converterType,
String dataObject,
String converterParams,
com.google.gwt.core.ext.typeinfo.JClassType uiObjectType,
String getUiObjectExpression) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConverterClassName() |
String |
getConverterDeclaration() |
String |
getConverterVariable() |
String |
getDataObject() |
String |
getDataObjectClassName() |
protected String |
getDataObjectReadExpression() |
protected String |
getDataObjectReadExpression(com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
String bindPath) |
String |
getDataObjectReadExpression(String contextVariable,
String resultVariable,
String collectionDataObjectRef,
String collectionItemVar) |
protected String |
getDataObjectWriteExpression(com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
String bindPath,
String value) |
protected String |
getDataObjectWriteExpression(String newValue) |
String |
getDataObjectWriteExpression(String dataObjectVar,
String newValue) |
String |
getExpression(String expression,
String dataObjectVariable) |
String |
getReadExpression(String dataObjectVariable) |
protected String |
getReadExpression(String widgetPropertyPath,
com.google.gwt.core.ext.typeinfo.JClassType widgetType,
com.google.gwt.core.ext.typeinfo.JClassType dataObjectType,
String bindPath)
Expression to read FROM widget and write TO dataObject
|
com.google.gwt.core.ext.typeinfo.JType |
getType() |
String |
getUiObjectExpression() |
protected String |
getUIObjectVar(String widgetVar,
boolean addNullTeste) |
String |
getWidgetClassName() |
String |
getWriteExpression(String dataObjectVariable) |
protected String |
getWriteExpression(String widgetPropertyPath,
com.google.gwt.core.ext.typeinfo.JClassType widgetType)
Expression to read FROM dataObject and write TO widget
|
String |
getWriteExpression(String contextVariable,
String widgetVar,
String collectionObjectReference,
String collectionItemVar) |
boolean |
isBoundToAttribute() |
protected static String WIDGET_VAR_REF
protected String widgetClassName
protected String writeExpression
protected String readExpression
protected boolean boundToAttribute
protected String getUiObjectExpression
protected static String DATA_OBJECT_VAR_REF
protected static String DATA_OBJECT_WRITE_VALUE_REF
protected com.google.gwt.core.ext.typeinfo.JType bindInfoType
protected com.google.gwt.core.ext.typeinfo.JType bindPathType
protected String converterClassName
protected String converterParams
protected com.google.gwt.core.ext.typeinfo.JClassType converterType
protected String converterVariableName
protected String dataObject
protected String dataObjectClassName
protected String dataObjectReadExpression
protected String dataObjectWriteExpression
public PropertyBindInfo(String widgetPropertyPath, boolean boundToAttribute, String bindPath, com.google.gwt.core.ext.typeinfo.JClassType widgetType, com.google.gwt.core.ext.typeinfo.JClassType dataObjectType, com.google.gwt.core.ext.typeinfo.JClassType converterType, String dataObject, String converterParams, com.google.gwt.core.ext.typeinfo.JClassType uiObjectType, String getUiObjectExpression) throws NoSuchFieldException
NoSuchFieldExceptionpublic String getWriteExpression(String contextVariable, String widgetVar, String collectionObjectReference, String collectionItemVar)
public String getDataObjectReadExpression(String contextVariable, String resultVariable, String collectionDataObjectRef, String collectionItemVar)
public String getDataObjectWriteExpression(String dataObjectVar, String newValue)
public String getWidgetClassName()
public boolean isBoundToAttribute()
public String getUiObjectExpression()
protected String getReadExpression(String widgetPropertyPath, com.google.gwt.core.ext.typeinfo.JClassType widgetType, com.google.gwt.core.ext.typeinfo.JClassType dataObjectType, String bindPath) throws NoSuchFieldException
widgetPropertyPath - widgetType - dataObjectType - bindPath - NoSuchFieldExceptionprotected String getWriteExpression(String widgetPropertyPath, com.google.gwt.core.ext.typeinfo.JClassType widgetType) throws NoSuchFieldException
widgetPropertyPath - widgetType - NoSuchFieldExceptionpublic String getConverterClassName()
public String getConverterDeclaration()
public String getConverterVariable()
public String getDataObject()
public String getDataObjectClassName()
public com.google.gwt.core.ext.typeinfo.JType getType()
protected String getDataObjectReadExpression()
protected String getDataObjectReadExpression(com.google.gwt.core.ext.typeinfo.JClassType dataObjectType, String bindPath) throws NoSuchFieldException
NoSuchFieldExceptionprotected String getDataObjectWriteExpression(com.google.gwt.core.ext.typeinfo.JClassType dataObjectType, String bindPath, String value) throws NoSuchFieldException
NoSuchFieldExceptionCopyright © 2015. All rights reserved.