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.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, Iterable<com.google.gwt.user.client.ui.Widget>, HasLayoutController, Section, BreadcrumbSupport, HistorySupport, View
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
 
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(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 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, onHistoryEvent, setController, setModelId, setName, setViewEnum, toString, updateMetadata, updateView, updateView
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
add, addField, addSection, addSection, addStyleName, addWidget, clearValidation, enableValidation, ensureDirtyFlagPath, getField, getFields, getLayout, getLayoutController, getSection, getSections, getUnnestedFields, isDirty, isValidationEnabled, processValidationResults, processValidationResults, removeField, removeField, removeSection, removeSection, removeWidget, removeWidget, resetDirtyFlags, resetFieldInteractionFlags, setFieldHasHadFocusFlags, setHelp, setInstructions, setIsDirty, setLayoutController, setRequired, setStyleName, updateModel, updateWidgetData
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel
insert, setHTML, setText
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

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 © 2007-2011 The Kuali Foundation. All Rights Reserved.