com.semarchy.mdm.runtime.model.logical
Class FormFlowLayoutDescriptor
java.lang.Object
com.semarchy.mdm.runtime.model.logical.FormFlowLayoutDescriptor
- All Implemented Interfaces:
- Serializable
public class FormFlowLayoutDescriptor
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormFlowLayoutDescriptor
public FormFlowLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
SectionNavigatorConfig sectionNavigatorConfig,
int minAttributeValueWidth,
int maxAttributeValueWidth,
Map<IFormSection,FormFlowLayoutDescriptor.SectionFlowLayoutData> flowSectionsLayoutData,
Map<IFormAttribute,FormFlowLayoutDescriptor.AttributeFlowLayoutData> flowAttributesLayoutData,
boolean sectionExpandables)
getAttributeLabelAlignment
public FormLabelAlignment getAttributeLabelAlignment()
getSectionNavigatorConfig
public SectionNavigatorConfig getSectionNavigatorConfig()
getMinAttributeValueWidth
public int getMinAttributeValueWidth()
getMaxAttributeValueWidth
public int getMaxAttributeValueWidth()
isVisible
public boolean isVisible(IFormAttribute attribute)
- Parameters:
attribute
-
- Returns:
- true if the given
IFormAttribute
has a defined
FormFlowLayoutDescriptor.AttributeFlowLayoutData
isVisible
public boolean isVisible(IFormSection section)
- Parameters:
attribute
-
- Returns:
- true if the given
IFormSection
has a defined
FormFlowLayoutDescriptor.SectionFlowLayoutData
getSectionLayoutData
public FormFlowLayoutDescriptor.SectionFlowLayoutData getSectionLayoutData(IFormSection formSection)
- Parameters:
formSection
-
- Returns:
-
- Throws:
IllegalStateException
- if isVisible(IFormSection)
returns false
getFlowAttributeLayoutData
public FormFlowLayoutDescriptor.AttributeFlowLayoutData getFlowAttributeLayoutData(IFormAttribute formAttribute)
- Parameters:
formAttribute
-
- Returns:
-
- Throws:
IllegalStateException
- if isVisible(IFormAttribute)
returns false
isSectionExpandables
public boolean isSectionExpandables()
Copyright © 2015. All Rights Reserved.