org.kuali.student.common.ui.client.widgets.rules
Class ReqCompEditWidget
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
com.google.gwt.user.client.ui.FlowPanel
org.kuali.student.common.ui.client.widgets.rules.ReqCompEditWidget
- 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, com.google.gwt.user.client.ui.InsertPanel, Iterable<com.google.gwt.user.client.ui.Widget>
public class ReqCompEditWidget
- extends com.google.gwt.user.client.ui.FlowPanel
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 |
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
add, clear, insert |
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, addStyleName, 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, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
reqCompTypePanel
private com.google.gwt.user.client.ui.FlowPanel reqCompTypePanel
ReqCompEditPanel
private com.google.gwt.user.client.ui.FlowPanel ReqCompEditPanel
reqCompTypesList
private KSDropDown reqCompTypesList
reqCompFieldsPanel
private VerticalSectionView reqCompFieldsPanel
actionCancelButtons
private ActionCancelGroup actionCancelButtons
NO_SELECTION_TEXT
private final String NO_SELECTION_TEXT
- See Also:
- Constant Field Values
reqCompTypeInfoList
private List<ReqComponentTypeInfo> reqCompTypeInfoList
listItemReqCompTypes
private ListItems listItemReqCompTypes
compositionTemplates
private Map<String,String> compositionTemplates
editedReqComp
private ReqComponentInfo editedReqComp
selectedReqCompType
private ReqComponentTypeInfo selectedReqCompType
selectedReqCompFieldTypes
private List<String> selectedReqCompFieldTypes
addingNewReqComp
private boolean addingNewReqComp
ruleFieldsData
private DataModel ruleFieldsData
reqCompFieldsLayout
private BasicLayout reqCompFieldsLayout
customWidgets
private Map<String,com.google.gwt.user.client.ui.Widget> customWidgets
customWidgetsNew
private Map<String,com.google.gwt.user.client.ui.Widget> customWidgetsNew
reqCompConfirmCallback
private Callback reqCompConfirmCallback
newReqCompSelectedCallback
private Callback newReqCompSelectedCallback
fieldsMetadataTemplateCallback
private Callback fieldsMetadataTemplateCallback
compositionTemplateCallback
private Callback compositionTemplateCallback
displayCustomWidgetCallback
private Callback displayCustomWidgetCallback
newReqCompId
private String newReqCompId
tempReqCompInfoID
private static int tempReqCompInfoID
REQ_COMP_MODEL_ID
private static final String REQ_COMP_MODEL_ID
- See Also:
- Constant Field Values
ReqCompEditWidget
public ReqCompEditWidget(String newReqCompId)
setupHandlers
private void setupHandlers()
validateAndRetrieveFields
private void validateAndRetrieveFields()
retrieveValuesFromCustomWidgets
private void retrieveValuesFromCustomWidgets(List<ReqCompFieldInfo> editedFields)
finalizeRuleUpdate
private void finalizeRuleUpdate()
setupNewReqComp
public void setupNewReqComp()
createReqComp
private void createReqComp(ReqComponentTypeInfo reqCompTypeInfo)
setupExistingReqComp
public void setupExistingReqComp(ReqComponentInfo existingReqComp)
redraw
private void redraw()
displayFieldsSection
public void displayFieldsSection()
displayFieldsStart
public void displayFieldsStart(String compositionTemplate)
displayFieldsEnd
public void displayFieldsEnd(List<Metadata> fieldsMetadataList)
displayCustomWidget
public void displayCustomWidget(String fieldType,
com.google.gwt.user.client.ui.Widget customWidget)
getFieldLabel
private String getFieldLabel(String fieldType)
getFieldSequence
private List<String> getFieldSequence()
getFieldValue
private String getFieldValue(List<ReqCompFieldInfo> fields,
String key)
displayConfirmButton
private void displayConfirmButton()
displayReqCompListPanel
private void displayReqCompListPanel()
selectReqCompTypeInList
private void selectReqCompTypeInList()
setupReqCompTypesList
private void setupReqCompTypesList()
setEnableAddRuleButtons
private void setEnableAddRuleButtons(boolean enable)
setReqCompList
public void setReqCompList(List<ReqComponentTypeInfo> reqComponentTypeInfoList)
setCustomWidgets
public void setCustomWidgets(Map<String,com.google.gwt.user.client.ui.Widget> customWidgets)
setReqCompConfirmButtonClickCallback
public void setReqCompConfirmButtonClickCallback(Callback<ReqComponentInfoUi> actionButtonClickedReqCompCallback)
setRetrieveCompositionTemplateCallback
public void setRetrieveCompositionTemplateCallback(Callback<ReqComponentInfo> callback)
setRetrieveFieldsMetadataCallback
public void setRetrieveFieldsMetadataCallback(Callback<List<String>> callback)
setNewReqCompSelectedCallbackCallback
public void setNewReqCompSelectedCallbackCallback(Callback<ReqComponentInfo> callback)
setRetrieveCustomWidgetCallback
public void setRetrieveCustomWidgetCallback(Callback<String> callback)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.