org.kuali.student.common.ui.client.configurable.mvc.views
Class VerticalSectionView

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
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
Direct Known Subclasses:
CluSetEditorWidget, ClusetView, CourseRequirementsManageView, CourseRequirementsSummaryView, ProgramRequirementsManageView, ProgramRequirementsSummaryView, ShowVersionView

public class VerticalSectionView
extends SectionView

The vertical layout implementation of SectionView. The ui layout behaves exactly the same as VerticalSection. A model id can be passed in to specify a model this particular view uses.

Author:
Brian Smith

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
 
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
VerticalSectionView()
           
VerticalSectionView(Enum<?> viewEnum, String name, String modelId)
          Same as VerticalSectionView(Enum viewEnum, String name, String modelId, true)
VerticalSectionView(Enum<?> viewEnum, String name, String modelId, boolean showTitle)
           
VerticalSectionView(Enum<?> viewEnum, String name, String modelId, com.google.gwt.user.client.ui.Widget titleWidget)
          VerticalSectionView with a custom titleWidget defined
 
Method Summary
 void clear()
          Can be called to reset a view to a cleared state.
 void init(Enum<?> viewEnum, String name, String modelId, boolean showTitle)
           
 void setSectionTitle(String title)
           
 void updateModel()
          This updates the model
 
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, 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
 

Constructor Detail

VerticalSectionView

public VerticalSectionView()

VerticalSectionView

public VerticalSectionView(Enum<?> viewEnum,
                           String name,
                           String modelId)
Same as VerticalSectionView(Enum viewEnum, String name, String modelId, true)


VerticalSectionView

public VerticalSectionView(Enum<?> viewEnum,
                           String name,
                           String modelId,
                           boolean showTitle)
Parameters:
viewEnum - Enumeration of this view - id used for navigation, history, and showing a view
name - Name of this view - what this view is called in the breadcrumb
modelId - id of the model to be used for this view when a requestModel call is made on its parent controller
showTitle - if true, show the view's name as an H2 header

VerticalSectionView

public VerticalSectionView(Enum<?> viewEnum,
                           String name,
                           String modelId,
                           com.google.gwt.user.client.ui.Widget titleWidget)
VerticalSectionView with a custom titleWidget defined

Parameters:
viewEnum -
name -
modelId -
titleWidget -
Method Detail

init

public void init(Enum<?> viewEnum,
                 String name,
                 String modelId,
                 boolean showTitle)

updateModel

public void updateModel()
This updates the model

See Also:
View.updateModel()

clear

public void clear()
Description copied from interface: View
Can be called to reset a view to a cleared state.

Specified by:
clear in interface com.google.gwt.user.client.ui.HasWidgets
Specified by:
clear in interface View
Overrides:
clear in class com.google.gwt.user.client.ui.Panel

setSectionTitle

public void setSectionTitle(String title)


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