Class ObjectMultipleProperty
- java.lang.Object
-
- org.neotropic.util.visual.properties.AbstractProperty<Collection>
-
- org.neotropic.util.visual.properties.ObjectMultipleProperty
-
public class ObjectMultipleProperty extends AbstractProperty<Collection>
Support for multiple object properties- Author:
- Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static StringITEM_SELECTED_LABELstatic StringITEMS_SELECTED_LABELstatic StringNOT_ITEMS_SELECTED_LABELstatic StringSELECT_ITEMS_LABEL-
Fields inherited from class org.neotropic.util.visual.properties.AbstractProperty
NULL_LABEL
-
-
Constructor Summary
Constructors Constructor Description ObjectMultipleProperty(String name, String displayName, String description, List value, List items, String type, TranslationService ts)ObjectMultipleProperty(String name, String displayName, String description, List value, List items, String type, TranslationService ts, boolean readOnly, boolean mandatory, boolean unique)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.AbstractFieldgetAdvancedEditor()An advanced editor for the propertyStringgetAsString()The value to be displayed on screencom.vaadin.flow.data.renderer.ComponentRenderergetComponentRenderer()ListgetDefaultValue()com.vaadin.flow.component.AbstractFieldgetInplaceEditor()A simple field that will be used to edit the propertyListgetListTypes()voidsetComponentRenderer(com.vaadin.flow.data.renderer.ComponentRenderer componentRenderer)voidsetListTypes(List listTypes)booleansupportsAdvancedEditor()Does it support an advanced editor? If truebooleansupportsInplaceEditor()Does it support in place editor? If true-
Methods inherited from class org.neotropic.util.visual.properties.AbstractProperty
getAccept, getCancel, getDescription, getDisplayName, getName, getType, getValue, hasBinder, isMandatory, isReadOnly, isUnique, setAccept, setCancel, setDescription, setDisplayName, setHasBinder, setMandatory, setName, setReadOnly, setType, setUnique, setValue, toString
-
-
-
-
Method Detail
-
getComponentRenderer
public com.vaadin.flow.data.renderer.ComponentRenderer getComponentRenderer()
-
setComponentRenderer
public void setComponentRenderer(com.vaadin.flow.data.renderer.ComponentRenderer componentRenderer)
-
getListTypes
public List getListTypes()
-
setListTypes
public void setListTypes(List listTypes)
-
getAdvancedEditor
public com.vaadin.flow.component.AbstractField getAdvancedEditor()
Description copied from class:AbstractPropertyAn advanced editor for the property- Specified by:
getAdvancedEditorin classAbstractProperty<Collection>- Returns:
-
supportsAdvancedEditor
public boolean supportsAdvancedEditor()
Description copied from class:AbstractPropertyDoes it support an advanced editor? If true- Specified by:
supportsAdvancedEditorin classAbstractProperty<Collection>- Returns:
-
getInplaceEditor
public com.vaadin.flow.component.AbstractField getInplaceEditor()
Description copied from class:AbstractPropertyA simple field that will be used to edit the property- Specified by:
getInplaceEditorin classAbstractProperty<Collection>- Returns:
-
getAsString
public String getAsString()
Description copied from class:AbstractPropertyThe value to be displayed on screen- Specified by:
getAsStringin classAbstractProperty<Collection>- Returns:
- The string representation of the value of the property
-
supportsInplaceEditor
public boolean supportsInplaceEditor()
Description copied from class:AbstractPropertyDoes it support in place editor? If true- Specified by:
supportsInplaceEditorin classAbstractProperty<Collection>- Returns:
-
getDefaultValue
public List getDefaultValue()
- Specified by:
getDefaultValuein classAbstractProperty<Collection>
-
-