|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.forms.layout.api.impl.LayoutRowDefinitionImpl
public class LayoutRowDefinitionImpl
Default implementation for a layout row definition.
Useful to compute rows independently from the layout service.
Constructor Summary | |
---|---|
LayoutRowDefinitionImpl(String name,
Map<String,Map<String,Serializable>> properties,
List<String> widgets,
boolean alwaysSelected,
boolean selectedByDefault)
|
|
LayoutRowDefinitionImpl(String name,
Map<String,Map<String,Serializable>> properties,
String[] widgets,
boolean alwaysSelected,
boolean selectedByDefault)
|
|
LayoutRowDefinitionImpl(String name,
String widget)
|
Method Summary | |
---|---|
String |
getName()
Returns the row name |
Map<String,Map<String,Serializable>> |
getProperties()
Returns properties by mode. |
Map<String,Serializable> |
getProperties(String layoutMode)
Returns a map of properties to use in a given mode. |
int |
getSize()
Returns the row size |
String[] |
getWidgets()
Returns the list of widget names to use at a given row. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutRowDefinitionImpl(String name, String widget)
public LayoutRowDefinitionImpl(String name, Map<String,Map<String,Serializable>> properties, List<String> widgets, boolean alwaysSelected, boolean selectedByDefault)
public LayoutRowDefinitionImpl(String name, Map<String,Map<String,Serializable>> properties, String[] widgets, boolean alwaysSelected, boolean selectedByDefault)
Method Detail |
---|
public String getName()
LayoutRowDefinition
getName
in interface LayoutRowDefinition
public Map<String,Serializable> getProperties(String layoutMode)
LayoutRowDefinition
getProperties
in interface LayoutRowDefinition
public Map<String,Map<String,Serializable>> getProperties()
LayoutRowDefinition
getProperties
in interface LayoutRowDefinition
public int getSize()
LayoutRowDefinition
getSize
in interface LayoutRowDefinition
public String[] getWidgets()
LayoutRowDefinition
For instance, this could describe a layout like: ['title'], or ['creationDate', '', 'modificationDate'].
getWidgets
in interface LayoutRowDefinition
public boolean isAlwaysSelected()
LayoutRowDefinition
isAlwaysSelected
in interface LayoutRowDefinition
public boolean isSelectedByDefault()
LayoutRowDefinition
isSelectedByDefault
in interface LayoutRowDefinition
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |