org.kuali.student.lum.lu.ui.tools.client.configuration
Class ClusetView
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.kuali.student.common.ui.client.widgets.field.layout.element.SpanPanel
org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection
org.kuali.student.common.ui.client.configurable.mvc.views.SectionView
org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView
org.kuali.student.lum.lu.ui.tools.client.configuration.ClusetView
- 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
public class ClusetView
- extends VerticalSectionView
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Method Summary |
private FieldDescriptor |
addField(Section section,
String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
String parentPath)
|
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. |
private ClusetView.Picker |
configureSearch(String fieldKey)
|
protected MessageKeyInfo |
generateMessageInfo(String labelKey)
|
private FieldDescriptor |
getFieldDescriptor(String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
String parentPath)
|
protected SummaryTableFieldRow |
getFieldRow(String fieldKey,
MessageKeyInfo messageKey)
|
protected SummaryTableFieldRow |
getFieldRow(String fieldKey,
MessageKeyInfo messageKey,
boolean optional)
|
protected SummaryTableFieldRow |
getFieldRow(String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
com.google.gwt.user.client.ui.Widget widget2,
String parentPath,
ModelWidgetBinding<?> binding,
boolean optional)
|
private SectionTitle |
getH3Title(String labelKey)
|
private String |
getLabel(String labelKey)
|
String |
getSelectedCluSetId()
|
private static VerticalSection |
initSection(SectionTitle title,
boolean withDivider)
|
void |
onHistoryEvent(String historyStack)
|
private void |
refreshCluSetDisplay()
|
void |
setController(Controller controller)
|
private void |
setModelDefinition(DataModelDefinition modelDefinition)
|
private void |
setSearchDefinition(DataModelDefinition searchDefinition)
|
void |
setSelectedCluSetId(String selectedCluSetId)
|
private void |
setupCreateEditClusetView()
|
private SummaryTableSection |
setupGeneralClusInfoSection()
|
private void |
setupMainView()
|
private void |
setupView(ClusetView.CluSetsManagementViews clusetViewEnum)
|
private void |
setupViewClusetView()
|
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.views.SectionView |
addView, asWidget, beforeHide, collectBreadcrumbNames, collectHistory, getController, getModel, getModelId, getName, getViewEnum, setModelId, setName, setViewEnum, 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, setStyleName, updateModel, updateWidgetData |
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, toString, unsinkEvents |
cluSetManagementRpcServiceAsync
private CluSetManagementRpcServiceAsync cluSetManagementRpcServiceAsync
cluSetRetriever
private CluSetRetriever cluSetRetriever
modelDefinition
private DataModelDefinition modelDefinition
searchDefinition
private DataModelDefinition searchDefinition
selectedCluSetId
private String selectedCluSetId
viewEnum
private ClusetView.CluSetsManagementViews viewEnum
cluSetDisplay
private com.google.gwt.user.client.ui.SimplePanel cluSetDisplay
cluSetEditor
private CluSetEditorWidget cluSetEditor
cluSetType
private String cluSetType
ClusetView
public ClusetView(ClusetView.CluSetsManagementViews clusetViewEnum,
String name,
String modelId,
Callback<Boolean> onReady)
ClusetView
public ClusetView(ClusetView.CluSetsManagementViews clusetViewEnum,
String name,
String modelId,
boolean showTitle,
Callback<Boolean> onReady)
setModelDefinition
private void setModelDefinition(DataModelDefinition modelDefinition)
setSearchDefinition
private void setSearchDefinition(DataModelDefinition searchDefinition)
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.
- Specified by:
beforeShow
in interface View
- Overrides:
beforeShow
in class SectionView
refreshCluSetDisplay
private void refreshCluSetDisplay()
setupView
private void setupView(ClusetView.CluSetsManagementViews clusetViewEnum)
onHistoryEvent
public void onHistoryEvent(String historyStack)
- Specified by:
onHistoryEvent
in interface HistorySupport
- Overrides:
onHistoryEvent
in class SectionView
setupViewClusetView
private void setupViewClusetView()
setupGeneralClusInfoSection
private SummaryTableSection setupGeneralClusInfoSection()
getFieldRow
protected SummaryTableFieldRow getFieldRow(String fieldKey,
MessageKeyInfo messageKey)
getFieldRow
protected SummaryTableFieldRow getFieldRow(String fieldKey,
MessageKeyInfo messageKey,
boolean optional)
getFieldRow
protected SummaryTableFieldRow getFieldRow(String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
com.google.gwt.user.client.ui.Widget widget2,
String parentPath,
ModelWidgetBinding<?> binding,
boolean optional)
setupMainView
private void setupMainView()
getSelectedCluSetId
public String getSelectedCluSetId()
setSelectedCluSetId
public void setSelectedCluSetId(String selectedCluSetId)
setupCreateEditClusetView
private void setupCreateEditClusetView()
initSection
private static VerticalSection initSection(SectionTitle title,
boolean withDivider)
getLabel
private String getLabel(String labelKey)
getH3Title
private SectionTitle getH3Title(String labelKey)
generateMessageInfo
protected MessageKeyInfo generateMessageInfo(String labelKey)
getFieldDescriptor
private FieldDescriptor getFieldDescriptor(String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
String parentPath)
addField
private FieldDescriptor addField(Section section,
String fieldKey,
MessageKeyInfo messageKey,
com.google.gwt.user.client.ui.Widget widget,
String parentPath)
configureSearch
private ClusetView.Picker configureSearch(String fieldKey)
setController
public void setController(Controller controller)
- Overrides:
setController
in class SectionView
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.