org.kuali.student.common.ui.client.configurable.mvc.sections
Interface Section

All Superinterfaces:
HasLayoutController
All Known Implementing Classes:
BaseSection, CluSetEditorWidget, ClusetView, CollaboratorSectionView, CollapsableSection, CourseRequirementsManageView, CourseRequirementsSummaryView, GroupSection, HorizontalSection, LOBuilder, LOBuilder.LearningObjectiveList, MultiplicityGroupItem, MultiplicitySection, OutlineManager, ProgramRequirementsManageView, ProgramRequirementsSummaryView, SectionView, ShowVersionView, SummaryTableSection, SwapSection, SwitchSection, TableSection, VerticalSection, VerticalSectionView

public interface Section
extends HasLayoutController

Interface for Section. Defines the methods necessary for a section. A section contains fields and other sections. A section represents a logical grouping of fields on the screen - it is also responsible for automatic validation and layout of validation errors on the screen.

Author:
Kuali Student

Method Summary
 String addField(FieldDescriptor field)
           
 String addSection(Section section)
           
 String addSection(String key, Section section)
           
 String addWidget(com.google.gwt.user.client.ui.Widget widget)
           
 void clearValidationWarnings()
           
 void enableValidation(boolean enableValidation)
           
 FieldDescriptor getField(String fieldKey)
           
 List<FieldDescriptor> getFields()
           
 FieldLayout getLayout()
           
 Section getSection(String sectionKey)
           
 List<Section> getSections()
           
 List<FieldDescriptor> getUnnestedFields()
           
 boolean isDirty()
           
 boolean isValidationEnabled()
           
 ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results)
           
 ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results, boolean clearErrors)
           
 void removeField(FieldDescriptor field)
           
 void removeField(String fieldKey)
           
 void removeSection(Section section)
           
 void removeSection(String sectionKey)
           
 void removeWidget(String key)
           
 void removeWidget(com.google.gwt.user.client.ui.Widget widget)
           
 void resetDirtyFlags()
           
 void resetFieldInteractionFlags()
           
 void setFieldHasHadFocusFlags(boolean hadFocus)
           
 void updateModel(DataModel model)
           
 void updateWidgetData(DataModel model)
           
 
Methods inherited from interface org.kuali.student.common.ui.client.configurable.mvc.HasLayoutController
getLayoutController, setLayoutController
 

Method Detail

addField

String addField(FieldDescriptor field)

addSection

String addSection(Section section)

addSection

String addSection(String key,
                  Section section)

getLayout

FieldLayout getLayout()

removeField

void removeField(String fieldKey)

removeSection

void removeSection(String sectionKey)

removeSection

void removeSection(Section section)

removeField

void removeField(FieldDescriptor field)

getField

FieldDescriptor getField(String fieldKey)

getSection

Section getSection(String sectionKey)

getUnnestedFields

List<FieldDescriptor> getUnnestedFields()

addWidget

String addWidget(com.google.gwt.user.client.ui.Widget widget)

removeWidget

void removeWidget(com.google.gwt.user.client.ui.Widget widget)

removeWidget

void removeWidget(String key)

resetFieldInteractionFlags

void resetFieldInteractionFlags()

setFieldHasHadFocusFlags

void setFieldHasHadFocusFlags(boolean hadFocus)

updateWidgetData

void updateWidgetData(DataModel model)

updateModel

void updateModel(DataModel model)

getFields

List<FieldDescriptor> getFields()

getSections

List<Section> getSections()

enableValidation

void enableValidation(boolean enableValidation)

isValidationEnabled

boolean isValidationEnabled()

processValidationResults

ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results)

processValidationResults

ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results,
                                                     boolean clearErrors)

clearValidationWarnings

void clearValidationWarnings()

isDirty

boolean isDirty()

resetDirtyFlags

void resetDirtyFlags()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.