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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLayoutRowImpl(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.intgetSize()Returns the unique identifier of this widget to be used in tag configuration.Widget[]booleanReturn true if this row should be considered always selectedbooleanReturns 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:LayoutRowReturns the unique identifier of this widget to be used in tag configuration.- Specified by:
getTagConfigIdin interfaceLayoutRow- See Also:
-
isAlwaysSelected
public boolean isAlwaysSelected()Description copied from interface:LayoutRowReturn true if this row should be considered always selected- Specified by:
isAlwaysSelectedin interfaceLayoutRow
-
isSelectedByDefault
public boolean isSelectedByDefault()Description copied from interface:LayoutRowReturns true if this row should be considered selected by default- Specified by:
isSelectedByDefaultin interfaceLayoutRow
-
getWidgets
- Specified by:
getWidgetsin interfaceLayoutRow
-
getSize
public int getSize() -
getProperties
Description copied from interface:LayoutRowGet properties to use in this mode.The way that properties will be mapped to rendered components is managed by the widget type.
- Specified by:
getPropertiesin interfaceLayoutRow
-
getProperty
Description copied from interface:LayoutRowReturns property with given name in this mode.- Specified by:
getPropertyin interfaceLayoutRow- Parameters:
name- the property name.- Returns:
- the property value or null if not found.
-
toString
-