com.semarchy.mdm.runtime.model.logical
Class FormFlowLayoutDescriptor

java.lang.Object
  extended by com.semarchy.mdm.runtime.model.logical.FormFlowLayoutDescriptor
All Implemented Interfaces:
Serializable

public class FormFlowLayoutDescriptor
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class FormFlowLayoutDescriptor.AttributeFlowLayoutData
           
static class FormFlowLayoutDescriptor.SectionFlowLayoutData
           
 
Constructor Summary
FormFlowLayoutDescriptor(FormLabelAlignment attributeLabelAlignment, SectionNavigatorConfig sectionNavigatorConfig, int minAttributeValueWidth, int maxAttributeValueWidth, Map<IFormSection,FormFlowLayoutDescriptor.SectionFlowLayoutData> flowSectionsLayoutData, Map<IFormAttribute,FormFlowLayoutDescriptor.AttributeFlowLayoutData> flowAttributesLayoutData, boolean sectionExpandables)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormFlowLayoutDescriptor

public FormFlowLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
                                SectionNavigatorConfig sectionNavigatorConfig,
                                int minAttributeValueWidth,
                                int maxAttributeValueWidth,
                                Map<IFormSection,FormFlowLayoutDescriptor.SectionFlowLayoutData> flowSectionsLayoutData,
                                Map<IFormAttribute,FormFlowLayoutDescriptor.AttributeFlowLayoutData> flowAttributesLayoutData,
                                boolean sectionExpandables)
Method Detail

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.