public class LayoutRowImpl extends Object implements LayoutRow
Modifier and Type | Field and Description |
---|---|
protected boolean |
alwaysSelected |
protected String |
definitionId |
protected String |
name |
protected Map<String,Serializable> |
properties |
protected boolean |
selectedByDefault |
protected Widget[] |
widgets |
Modifier | Constructor and Description |
---|---|
protected |
LayoutRowImpl() |
|
LayoutRowImpl(String name,
boolean selectedByDefault,
boolean alwaysSelected,
List<Widget> widgets,
Map<String,Serializable> properties,
String definitionId) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Map<String,Serializable> |
getProperties()
Get properties to use in this mode.
|
Serializable |
getProperty(String name)
Returns property with given name in this mode.
|
int |
getSize() |
String |
getTagConfigId()
Returns the unique identifier of this widget to be used in tag configuration.
|
Widget[] |
getWidgets() |
boolean |
isAlwaysSelected()
Return true if this row should be considered always selected
|
boolean |
isSelectedByDefault()
Returns true if this row should be considered selected by default
|
String |
toString() |
protected boolean selectedByDefault
protected boolean alwaysSelected
protected Map<String,Serializable> properties
protected String definitionId
protected LayoutRowImpl()
public LayoutRowImpl(String name, boolean selectedByDefault, boolean alwaysSelected, List<Widget> widgets, Map<String,Serializable> properties, String definitionId)
public String getTagConfigId()
LayoutRow
getTagConfigId
in interface LayoutRow
Layout#getTagConfigId()}.
public boolean isAlwaysSelected()
LayoutRow
isAlwaysSelected
in interface LayoutRow
public boolean isSelectedByDefault()
LayoutRow
isSelectedByDefault
in interface LayoutRow
public Widget[] getWidgets()
getWidgets
in interface LayoutRow
public Map<String,Serializable> getProperties()
LayoutRow
The way that properties will be mapped to rendered components is managed by the widget type.
getProperties
in interface LayoutRow
public Serializable getProperty(String name)
LayoutRow
getProperty
in interface LayoutRow
name
- the property name.Copyright © 2018 Nuxeo. All rights reserved.