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 String
ITEM_SELECTED_LABEL
static String
ITEMS_SELECTED_LABEL
static String
NOT_ITEMS_SELECTED_LABEL
static String
SELECT_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.AbstractField
getAdvancedEditor()
An advanced editor for the propertyString
getAsString()
The value to be displayed on screencom.vaadin.flow.data.renderer.ComponentRenderer
getComponentRenderer()
List
getDefaultValue()
com.vaadin.flow.component.AbstractField
getInplaceEditor()
A simple field that will be used to edit the propertyList
getListTypes()
void
setComponentRenderer(com.vaadin.flow.data.renderer.ComponentRenderer componentRenderer)
void
setListTypes(List listTypes)
boolean
supportsAdvancedEditor()
Does it support an advanced editor? If trueboolean
supportsInplaceEditor()
Does it support in place editor? If true-
Methods inherited from class org.neotropic.util.visual.properties.AbstractProperty
getDescription, getDisplayName, getName, getType, getValue, hasBinder, isMandatory, isReadOnly, isUnique, 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:AbstractProperty
An advanced editor for the property- Specified by:
getAdvancedEditor
in classAbstractProperty<Collection>
- Returns:
-
supportsAdvancedEditor
public boolean supportsAdvancedEditor()
Description copied from class:AbstractProperty
Does it support an advanced editor? If true- Specified by:
supportsAdvancedEditor
in classAbstractProperty<Collection>
- Returns:
-
getInplaceEditor
public com.vaadin.flow.component.AbstractField getInplaceEditor()
Description copied from class:AbstractProperty
A simple field that will be used to edit the property- Specified by:
getInplaceEditor
in classAbstractProperty<Collection>
- Returns:
-
getAsString
public String getAsString()
Description copied from class:AbstractProperty
The value to be displayed on screen- Specified by:
getAsString
in classAbstractProperty<Collection>
- Returns:
- The string representation of the value of the property
-
supportsInplaceEditor
public boolean supportsInplaceEditor()
Description copied from class:AbstractProperty
Does it support in place editor? If true- Specified by:
supportsInplaceEditor
in classAbstractProperty<Collection>
- Returns:
-
getDefaultValue
public List getDefaultValue()
- Specified by:
getDefaultValue
in classAbstractProperty<Collection>
-
-