Class LayoutRowImpl
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.api.impl.LayoutRowImpl
- All Implemented Interfaces:
Serializable
,LayoutRow
Implementation for layout rows.
- Author:
- Anahide Tchertchian
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
LayoutRowImpl
(String name, boolean selectedByDefault, boolean alwaysSelected, List<Widget> widgets, Map<String, Serializable> properties, String definitionId) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get properties to use in this mode.getProperty
(String name) Returns property with given name in this mode.int
getSize()
Returns the unique identifier of this widget to be used in tag configuration.Widget[]
boolean
Return true if this row should be considered always selectedboolean
Returns true if this row should be considered selected by defaulttoString()
-
Field Details
-
name
-
selectedByDefault
protected boolean selectedByDefault -
alwaysSelected
protected boolean alwaysSelected -
widgets
-
properties
-
definitionId
-
-
Constructor Details
-
Method Details
-
getName
-
getTagConfigId
Description copied from interface:LayoutRow
Returns the unique identifier of this widget to be used in tag configuration.- Specified by:
getTagConfigId
in interfaceLayoutRow
- See Also:
-
isAlwaysSelected
public boolean isAlwaysSelected()Description copied from interface:LayoutRow
Return true if this row should be considered always selected- Specified by:
isAlwaysSelected
in interfaceLayoutRow
-
isSelectedByDefault
public boolean isSelectedByDefault()Description copied from interface:LayoutRow
Returns true if this row should be considered selected by default- Specified by:
isSelectedByDefault
in interfaceLayoutRow
-
getWidgets
- Specified by:
getWidgets
in interfaceLayoutRow
-
getSize
public int getSize() -
getProperties
Description copied from interface:LayoutRow
Get properties to use in this mode.The way that properties will be mapped to rendered components is managed by the widget type.
- Specified by:
getProperties
in interfaceLayoutRow
-
getProperty
Description copied from interface:LayoutRow
Returns property with given name in this mode.- Specified by:
getProperty
in interfaceLayoutRow
- Parameters:
name
- the property name.- Returns:
- the property value or null if not found.
-
toString
-