public class FormGridLayoutDescriptor extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
FormGridLayoutDescriptor.AttributeGridLayoutData |
static class |
FormGridLayoutDescriptor.GridLabelPosition |
static class |
FormGridLayoutDescriptor.SectionGridLayoutData |
Constructor and Description |
---|
FormGridLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
Map<IFormSection,FormGridLayoutDescriptor.SectionGridLayoutData> gridSectionLayoutData,
Map<IFormAttribute,FormGridLayoutDescriptor.AttributeGridLayoutData> gridAttributeLayoutData) |
Modifier and Type | Method and Description |
---|---|
FormLabelAlignment |
getAttributeLabelAlignment() |
FormGridLayoutDescriptor.AttributeGridLayoutData |
getAttributeLayoutData(IFormAttribute formAttribute) |
FormGridLayoutDescriptor.SectionGridLayoutData |
getSectionLayoutData(IFormSection formSection) |
boolean |
isVisible(IFormAttribute attribute) |
boolean |
isVisible(IFormSection formSection) |
public FormGridLayoutDescriptor(FormLabelAlignment attributeLabelAlignment, Map<IFormSection,FormGridLayoutDescriptor.SectionGridLayoutData> gridSectionLayoutData, Map<IFormAttribute,FormGridLayoutDescriptor.AttributeGridLayoutData> gridAttributeLayoutData)
public FormLabelAlignment getAttributeLabelAlignment()
public FormGridLayoutDescriptor.SectionGridLayoutData getSectionLayoutData(IFormSection formSection)
formSection
- IllegalStateException
- if isVisible(IFormSection)
returns falsepublic FormGridLayoutDescriptor.AttributeGridLayoutData getAttributeLayoutData(IFormAttribute formAttribute) throws IllegalStateException
formAttribute
- IllegalStateException
- if isVisible(IFormAttribute)
returns falsepublic boolean isVisible(IFormAttribute attribute)
attribute
- IFormAttribute
has a defined FormGridLayoutDescriptor.AttributeGridLayoutData
public boolean isVisible(IFormSection formSection)
attribute
- IFormSection
has a defined FormGridLayoutDescriptor.SectionGridLayoutData
Copyright © 2016. All Rights Reserved.