T - the model object typepublic class ComboBoxRenderer<T> extends TextRenderer<T>
| Constructor and Description |
|---|
ComboBoxRenderer()
Constructor
|
ComboBoxRenderer(String textExpression)
Constructor
|
ComboBoxRenderer(String textExpression,
String valueExpression)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTextField()
Gets the name of the field that acts as the 'dataTextField' in the JSON response.
|
String |
getValue(T object)
Gets the value that should be renderer for the supplied object
|
String |
getValueField()
Gets the name of the field that acts as the 'dataValueField' in the JSON response.
|
getExpression, getText, getTextpublic ComboBoxRenderer()
public ComboBoxRenderer(String textExpression)
textExpression - the property expression that will be resolved for the bean supplied to TextRenderer.getText(Object)public ComboBoxRenderer(String textExpression, String valueExpression)
textExpression - the property expression that will be resolved for the bean supplied to TextRenderer.getText(Object)valueExpression - the property expression that will be resolved for the bean supplied to getValue(Object)public String getTextField()
public String getValueField()
Copyright © 2014 7thWeb. All Rights Reserved.