org.kuali.student.lum.common.client.lo
Class LOBuilder

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.sections.VerticalSection
                              extended by org.kuali.student.lum.common.client.lo.LOBuilder
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<List<OutlineNode<LOPicker>>>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<List<OutlineNode<LOPicker>>>, com.google.gwt.user.client.ui.HasValue<List<OutlineNode<LOPicker>>>, 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>, CanProcessValidationResults, HasLayoutController, Section, ReportExportWidget

public class LOBuilder
extends VerticalSection
implements com.google.gwt.user.client.ui.HasValue<List<OutlineNode<LOPicker>>>, CanProcessValidationResults

This class manages the users interactions when building/updating Learning Objectives within the context of managing CLUs. It allows the user to type in LO text directly or execute a search and select one or more of the returned LOs. Users can then re-organize LOs on the screen including altering the sequence and creating sub LOs

Author:
Kuali Student Team

Nested Class Summary
static class LOBuilder.LearningObjectiveList
           
 
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
 
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
protected LOBuilder()
           
  LOBuilder(String luType, String luState, String luGroup, String loRepoKey, String queryPathStart, Metadata metadata)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<OutlineNode<LOPicker>>> handler)
           
 boolean doesOnTheFlyValidation()
           
static int getLoListDescLength()
           
static String getMessageGroup()
           
static String getRepoKey()
           
static String getState()
           
static String getType()
           
 List<OutlineNode<LOPicker>> getValue()
           
 ValidationResult.ErrorLevel processValidationResults(FieldDescriptor fd, List<ValidationResultInfo> results)
           
 ValidationResult.ErrorLevel processValidationResults(FieldDescriptor fd, List<ValidationResultInfo> results, boolean clearErrors)
           
 void setValue(List<OutlineNode<LOPicker>> data)
           
 void setValue(List<OutlineNode<LOPicker>> value, boolean fireEvents)
           
 void Validate(ValidateRequestEvent event, List<ValidationResultInfo> result)
           
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.VerticalSection
addShowAllLink, getShowAllLink
 
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, updateWidgetData
 
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, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, 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, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

LOBuilder

protected LOBuilder()

LOBuilder

public LOBuilder(String luType,
                 String luState,
                 String luGroup,
                 String loRepoKey,
                 String queryPathStart,
                 Metadata metadata)
Method Detail

setValue

public void setValue(List<OutlineNode<LOPicker>> value,
                     boolean fireEvents)
Specified by:
setValue in interface com.google.gwt.user.client.ui.HasValue<List<OutlineNode<LOPicker>>>
See Also:
HasValue.setValue(java.lang.Object, boolean)

setValue

public void setValue(List<OutlineNode<LOPicker>> data)
Specified by:
setValue in interface com.google.gwt.user.client.TakesValue<List<OutlineNode<LOPicker>>>
Specified by:
setValue in interface com.google.gwt.user.client.ui.HasValue<List<OutlineNode<LOPicker>>>
See Also:
HasValue.setValue(java.lang.Object)

getValue

public List<OutlineNode<LOPicker>> getValue()
Specified by:
getValue in interface com.google.gwt.user.client.TakesValue<List<OutlineNode<LOPicker>>>
Specified by:
getValue in interface com.google.gwt.user.client.ui.HasValue<List<OutlineNode<LOPicker>>>
See Also:
HasValue.getValue()

addValueChangeHandler

public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<OutlineNode<LOPicker>>> handler)
Specified by:
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<List<OutlineNode<LOPicker>>>
See Also:
HasValueChangeHandlers.addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)

getType

public static String getType()
Returns:
the type

getState

public static String getState()
Returns:
the state

getRepoKey

public static String getRepoKey()

getMessageGroup

public static String getMessageGroup()
Returns:
the messageGroup

processValidationResults

public ValidationResult.ErrorLevel processValidationResults(FieldDescriptor fd,
                                                            List<ValidationResultInfo> results)
Specified by:
processValidationResults in interface CanProcessValidationResults

processValidationResults

public ValidationResult.ErrorLevel processValidationResults(FieldDescriptor fd,
                                                            List<ValidationResultInfo> results,
                                                            boolean clearErrors)
Specified by:
processValidationResults in interface CanProcessValidationResults

getLoListDescLength

public static int getLoListDescLength()

doesOnTheFlyValidation

public boolean doesOnTheFlyValidation()
Specified by:
doesOnTheFlyValidation in interface CanProcessValidationResults

Validate

public void Validate(ValidateRequestEvent event,
                     List<ValidationResultInfo> result)
Specified by:
Validate in interface CanProcessValidationResults


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