public class DataFormListViewEditor extends EntityPropertyEditor implements AdapterView.OnItemSelectedListener, AdapterView.OnItemClickListener
Modifier and Type | Class and Description |
---|---|
class |
DataFormListViewEditor.DataFormListViewEditorAdapter |
EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormListViewEditor(RadDataForm dataForm,
EntityProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
forceListViewToStretch(ListView listView) |
ListAdapter |
getAdapter() |
int |
getItemPosition(Object item) |
void |
onItemClick(AdapterView<?> parent,
View view,
int position,
long id) |
void |
onItemSelected(AdapterView<?> parent,
View view,
int position,
long id) |
void |
onNothingSelected(AdapterView<?> parent) |
void |
setAdapter(ListAdapter adapter) |
Object |
value()
Gets the value currently produced by the editor.
|
addEditorChangeListener, addValidationListener, getCommitMode, getValidationLayoutId, getValidationMode, getValidationViewBehavior, isValidated, load, loadPropertyValue, removeEditorChangeListener, removeValidationListener, setCommitMode, setValidationLayoutId, setValidationMode, setValidationViewBehavior, tryApplyValueToProperty, unload, updateLayoutWithElements, validate, validationCompleted, validationIcon, validationInfo, validationView
applyParams, getEditorView, getHeaderView, getLabelPosition, getLabelWidth, imageView, isEnabled, notifyEntityPropertyChanged, onDataFormEnabledChanged, property, rootLayout, setEditorLayout, setEnabled, setHeaderLayout, setLabelPosition, setLabelWidth
public DataFormListViewEditor(RadDataForm dataForm, EntityProperty property)
public void forceListViewToStretch(ListView listView)
public int getItemPosition(Object item)
public void setAdapter(ListAdapter adapter)
public ListAdapter getAdapter()
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
public void onItemSelected(AdapterView<?> parent, View view, int position, long id)
onItemSelected
in interface AdapterView.OnItemSelectedListener
public void onNothingSelected(AdapterView<?> parent)
onNothingSelected
in interface AdapterView.OnItemSelectedListener
public void onItemClick(AdapterView<?> parent, View view, int position, long id)
onItemClick
in interface AdapterView.OnItemClickListener