org.kuali.student.lum.common.client.widgets
Class CluSetEditorWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel
                      extended by org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
                          extended by org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
                              extended by org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView
                                  extended by org.kuali.student.lum.common.client.widgets.CluSetEditorWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>, HasLayoutController, Section, BreadcrumbSupport, HistorySupport, View, ReportExportWidget

public class CluSetEditorWidget
extends VerticalSectionView


Nested Class Summary
 class CluSetEditorWidget.CluSetBinding
           
static class CluSetEditorWidget.CluSetEditOptionDropdown
           
 class CluSetEditorWidget.CluSetRangeBinding
           
static class CluSetEditorWidget.Picker
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
protected static String cluSetType
           
protected static boolean singularCluOnly
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
model, modelId
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
fields, isDirty, isValidationEnabled, layout, layoutController, sections
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
CluSetEditorWidget()
           
CluSetEditorWidget(CluSetRetriever cluSetRetriever, Enum<?> viewEnum, String name, String modelId, boolean showTitle, Callback<Boolean> onReady, String cluSetType, boolean singularCluOnly)
           
 
Method Summary
protected  MessageKeyInfo generateMessageInfo(String labelKey)
           
 void setupEditor()
           
 void updateModel()
          This updates the model
 void updateWidgetData(DataModel model)
          Updates the section's fields with data from the model passed in.
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView
clear, init, setSectionTitle
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
addView, asWidget, beforeHide, beforeShow, collectBreadcrumbNames, collectHistory, getController, getModel, getModelId, getName, getViewEnum, init, isExportButtonActive, onHistoryEvent, setController, setModelId, setName, setViewEnum, showExport, toString, updateMetadata, updateView, updateView
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
add, addField, addSection, addSection, addStyleName, addWidget, clearValidationErrors, clearValidationWarnings, enableField, enableValidation, ensureDirtyFlagPath, getField, getFields, getLayout, getLayoutController, getSection, getSections, getUnnestedFields, isDirty, isValidationEnabled, processValidationResults, processValidationResults, progressiveEnableAndRequireFields, progressiveEnableFields, progressiveRequireFields, removeField, removeField, removeSection, removeSection, removeWidget, removeWidget, resetDirtyFlags, resetFieldInteractionFlags, setFieldHasHadFocusFlags, setHelp, setInstructions, setIsDirty, setLayoutController, setRequired, setSectionId, setStyleName, updateModel
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel
getExportElementSubset, getExportFieldValue, getText, insert, isExportElement, setExportElement, setHTML, setText
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cluSetType

protected static String cluSetType

singularCluOnly

protected static boolean singularCluOnly
Constructor Detail

CluSetEditorWidget

public CluSetEditorWidget()

CluSetEditorWidget

public CluSetEditorWidget(CluSetRetriever cluSetRetriever,
                          Enum<?> viewEnum,
                          String name,
                          String modelId,
                          boolean showTitle,
                          Callback<Boolean> onReady,
                          String cluSetType,
                          boolean singularCluOnly)
Method Detail

setupEditor

public void setupEditor()

generateMessageInfo

protected MessageKeyInfo generateMessageInfo(String labelKey)

updateWidgetData

public void updateWidgetData(DataModel model)
Description copied from class: BaseSection
Updates the section's fields with data from the model passed in. This effects all the data input and display widgets on the particular section. This method will use the modelWidgetBinding defined in each of this sections fields to determine how to interpret data from the model and display it on the fields corresponding widget.

Specified by:
updateWidgetData in interface Section
Overrides:
updateWidgetData in class BaseSection
See Also:
Section.updateWidgetData(org.kuali.student.common.ui.client.mvc.DataModel)

updateModel

public void updateModel()
Description copied from class: VerticalSectionView
This updates the model

Specified by:
updateModel in interface View
Overrides:
updateModel in class VerticalSectionView
See Also:
View.updateModel()


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