org.kuali.student.lum.lu.ui.course.client.requirements
Class CourseRequirementsManageView

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.lu.ui.course.client.requirements.CourseRequirementsManageView
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 CourseRequirementsManageView
extends VerticalSectionView


Nested Class Summary
 
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  Callback<ReqComponentInfoUi> actionButtonClickedReqCompCallback
           
protected static String COMPOSITION_TEMLATE
           
protected  Callback<ReqComponentInfo> editReqCompCallback
           
protected  ReqCompEditWidget editReqCompWidget
           
protected  boolean isNewRule
           
protected  com.google.gwt.user.client.ui.VerticalPanel layout
           
protected  Callback<ReqComponentInfo> newReqCompSelectedCallbackCallback
           
protected  Callback<ReqComponentInfo> retrieveCompositionTemplateCallback
           
protected  Callback<String> retrieveCustomWidgetCallback
           
protected  Callback<List<String>> retrieveFieldsMetadataCallback
           
protected  Callback<Boolean> ruleChangedCallback
           
protected static String RULEEDIT_TEMLATE
           
protected  RuleManageWidget ruleManageWidget
           
protected static String RULEPREVIEW_TEMLATE
           
protected static String TEMLATE_LANGUAGE
           
protected  com.google.gwt.user.client.ui.SimplePanel twiddlerPanel
           
 
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, layoutController, sections
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
CourseRequirementsManageView()
           
CourseRequirementsManageView(CourseRequirementsViewController parentController, Enum<?> viewEnum, String name, String modelId)
           
 
Method Summary
 void beforeShow(Callback<Boolean> onReadyCallback)
          Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be done.
protected  void displaySaveButton()
           
protected  void draw()
           
 Integer getInternalCourseReqID()
           
 RuleManageWidget getRuleManageWidget()
           
 StatementTreeViewInfo getRuleTree()
           
 void init(CourseRequirementsViewController parentController, Enum<?> viewEnum, String name, String modelId)
           
 boolean isDirty()
          Returns true if this this section is considered dirty (the user may have entered data into this section)
 boolean isNewRule()
           
 boolean isUserClickedSaveButton()
           
protected  void setEnabled(boolean enabled)
           
 void setRuleTree(StatementTreeViewInfo stmtTreeInfo, boolean newRuleFlag, Integer internalCourseReqID)
           
 void setUserClickedSaveButton(boolean userClickedSaveButton)
           
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView
clear, init, setSectionTitle, updateModel
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
addView, asWidget, beforeHide, 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, 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, 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

TEMLATE_LANGUAGE

protected static final String TEMLATE_LANGUAGE
See Also:
Constant Field Values

RULEEDIT_TEMLATE

protected static final String RULEEDIT_TEMLATE
See Also:
Constant Field Values

RULEPREVIEW_TEMLATE

protected static final String RULEPREVIEW_TEMLATE
See Also:
Constant Field Values

COMPOSITION_TEMLATE

protected static final String COMPOSITION_TEMLATE
See Also:
Constant Field Values

layout

protected com.google.gwt.user.client.ui.VerticalPanel layout

editReqCompWidget

protected ReqCompEditWidget editReqCompWidget

ruleManageWidget

protected RuleManageWidget ruleManageWidget

twiddlerPanel

protected com.google.gwt.user.client.ui.SimplePanel twiddlerPanel

isNewRule

protected boolean isNewRule

editReqCompCallback

protected Callback<ReqComponentInfo> editReqCompCallback

ruleChangedCallback

protected Callback<Boolean> ruleChangedCallback

actionButtonClickedReqCompCallback

protected Callback<ReqComponentInfoUi> actionButtonClickedReqCompCallback

newReqCompSelectedCallbackCallback

protected Callback<ReqComponentInfo> newReqCompSelectedCallbackCallback

retrieveCompositionTemplateCallback

protected Callback<ReqComponentInfo> retrieveCompositionTemplateCallback

retrieveFieldsMetadataCallback

protected Callback<List<String>> retrieveFieldsMetadataCallback

retrieveCustomWidgetCallback

protected Callback<String> retrieveCustomWidgetCallback
Constructor Detail

CourseRequirementsManageView

public CourseRequirementsManageView()

CourseRequirementsManageView

public CourseRequirementsManageView(CourseRequirementsViewController parentController,
                                    Enum<?> viewEnum,
                                    String name,
                                    String modelId)
Method Detail

init

public void init(CourseRequirementsViewController parentController,
                 Enum<?> viewEnum,
                 String name,
                 String modelId)

beforeShow

public void beforeShow(Callback<Boolean> onReadyCallback)
Description copied from class: SectionView
Called by controller before the view is displayed to allow lazy initialization or any other preparatory work to be done. In SectionView, the section is cleared of all validation errors, the model is requested from its parent controller, the widgets are updated with the latest data, and beforeShow is called on all of its potential child views.

Specified by:
beforeShow in interface View
Overrides:
beforeShow in class SectionView

draw

protected void draw()

displaySaveButton

protected void displaySaveButton()

setRuleTree

public void setRuleTree(StatementTreeViewInfo stmtTreeInfo,
                        boolean newRuleFlag,
                        Integer internalCourseReqID)

getRuleTree

public StatementTreeViewInfo getRuleTree()

isNewRule

public boolean isNewRule()

setEnabled

protected void setEnabled(boolean enabled)

isDirty

public boolean isDirty()
Description copied from class: BaseSection
Returns true if this this section is considered dirty (the user may have entered data into this section)

Specified by:
isDirty in interface Section
Overrides:
isDirty in class BaseSection
See Also:
Section.isDirty()

isUserClickedSaveButton

public boolean isUserClickedSaveButton()

setUserClickedSaveButton

public void setUserClickedSaveButton(boolean userClickedSaveButton)

getInternalCourseReqID

public Integer getInternalCourseReqID()

getRuleManageWidget

public RuleManageWidget getRuleManageWidget()


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