Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.api
Interface LayoutRowDefinition

All Superinterfaces:
Serializable
All Known Implementing Classes:
LayoutColumnDescriptor, LayoutRowDefinitionImpl, LayoutRowDescriptor

public interface LayoutRowDefinition
extends Serializable

Layout row definition interface.

Author:
Anahide Tchertchian

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
 

Method Detail

getName

String getName()
Returns the row name


isSelectedByDefault

boolean isSelectedByDefault()
Returns true if this row should be considered selected by default


isAlwaysSelected

boolean isAlwaysSelected()
Return true if this row should be considered always selected


getSize

int getSize()
Returns the row size


getWidgets

String[] getWidgets()
Returns the list of widget names to use at a given row.

For instance, this could describe a layout like: ['title'], or ['creationDate', '', 'modificationDate'].


getProperties

Map<String,Serializable> getProperties(String layoutMode)
Returns a map of properties to use in a given mode.


getProperties

Map<String,Map<String,Serializable>> getProperties()
Returns properties by mode.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.