Class CmsDataViewValueAccessor
java.lang.Object
org.opencms.acacia.client.widgets.complex.CmsDataViewValueAccessor
Class responsible for reading data view values from the editor, and writing them back to the editor.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsDataViewValueAccessor(org.opencms.acacia.shared.CmsEntity entity, I_CmsAttributeHandler handler, int index) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the id of this accessor.getValue()Gets the current value in the editor.voidreplaceValue(List<CmsDataViewValue> replacementValues) Replaces the value in the editor with a list of other values.voidsetWidget(CmsDataViewClientWidget cmsDataViewClientWidget) Sets the widget instance.
-
Constructor Details
-
Method Details
-
getId
Gets the id of this accessor.- Returns:
- the id
-
getValue
Gets the current value in the editor.- Returns:
- the value in the editor
-
replaceValue
Replaces the value in the editor with a list of other values.- Parameters:
replacementValues- the list of replacement values
-
setWidget
Sets the widget instance.- Parameters:
cmsDataViewClientWidget- the widget instance
-