public class FormFlowLayoutDescriptor extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FormFlowLayoutDescriptor.AttributeFlowLayoutData |
static class |
FormFlowLayoutDescriptor.SectionFlowLayoutData |
Constructor and Description |
---|
FormFlowLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
SectionNavigatorConfig sectionNavigatorConfig,
int minAttributeValueWidth,
int maxAttributeValueWidth,
Map<IFormSection,FormFlowLayoutDescriptor.SectionFlowLayoutData> flowSectionsLayoutData,
Map<IFormAttribute,FormFlowLayoutDescriptor.AttributeFlowLayoutData> flowAttributesLayoutData,
boolean sectionExpandables) |
Modifier and Type | Method and Description |
---|---|
FormLabelAlignment |
getAttributeLabelAlignment() |
FormFlowLayoutDescriptor.AttributeFlowLayoutData |
getFlowAttributeLayoutData(IFormAttribute formAttribute) |
int |
getMaxAttributeValueWidth() |
int |
getMinAttributeValueWidth() |
FormFlowLayoutDescriptor.SectionFlowLayoutData |
getSectionLayoutData(IFormSection formSection) |
SectionNavigatorConfig |
getSectionNavigatorConfig() |
boolean |
isSectionExpandables() |
boolean |
isVisible(IFormAttribute attribute) |
boolean |
isVisible(IFormSection section) |
public FormFlowLayoutDescriptor(FormLabelAlignment attributeLabelAlignment, SectionNavigatorConfig sectionNavigatorConfig, int minAttributeValueWidth, int maxAttributeValueWidth, Map<IFormSection,FormFlowLayoutDescriptor.SectionFlowLayoutData> flowSectionsLayoutData, Map<IFormAttribute,FormFlowLayoutDescriptor.AttributeFlowLayoutData> flowAttributesLayoutData, boolean sectionExpandables)
public FormLabelAlignment getAttributeLabelAlignment()
public SectionNavigatorConfig getSectionNavigatorConfig()
public int getMinAttributeValueWidth()
public int getMaxAttributeValueWidth()
public boolean isVisible(IFormAttribute attribute)
attribute
- IFormAttribute
has a defined
FormFlowLayoutDescriptor.AttributeFlowLayoutData
public boolean isVisible(IFormSection section)
attribute
- IFormSection
has a defined
FormFlowLayoutDescriptor.SectionFlowLayoutData
public FormFlowLayoutDescriptor.SectionFlowLayoutData getSectionLayoutData(IFormSection formSection)
formSection
- IllegalStateException
- if isVisible(IFormSection)
returns falsepublic FormFlowLayoutDescriptor.AttributeFlowLayoutData getFlowAttributeLayoutData(IFormAttribute formAttribute)
formAttribute
- IllegalStateException
- if isVisible(IFormAttribute)
returns falsepublic boolean isSectionExpandables()
Copyright © 2016. All Rights Reserved.