public class SwapSection extends BaseSection implements HasSectionDeletion
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
protected List<String> |
prevSelection |
fields, isDirty, isValidationEnabled, layout, layoutController, sections
Constructor and Description |
---|
SwapSection(KSSelectItemWidgetAbstract selectableWidget)
Constructor for SwapSection, note that the SelectableWidget passed in is not added to the
UI but is instead used as reference to show different sections.
|
SwapSection(KSSelectItemWidgetAbstract selectableWidget,
ConfirmationDialog dialog) |
Modifier and Type | Method and Description |
---|---|
String |
addSection(Section section)
Adds a section to this section's layout.
|
String |
addSection(Section section,
String swapKey) |
String |
addSection(String key,
Section section)
Same as addSection except with an option user defined key (for retrieval of the section if necessary).
|
String |
addSection(String key,
Section section,
String swapKey) |
void |
enableConfirmation(boolean enable) |
List<Section> |
getDeletedSections() |
List<String> |
getDeletionParentKeys() |
SwapEventHandler |
getSwapEventHandler() |
void |
setDeletionParentKey(List<String> deletionParentKeys)
deletionParentKeys is optional and is only needed when you want to delete the
entire structure in addition to individual fields with in deleted sections.
|
void |
setSwapEventHandler(SwapEventHandler swapEventHandler) |
add, addField, 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
getExportElementSubset, getExportFieldValue, getText, insert, isExportElement, setExportElement, setHTML, setText
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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, toString, unsinkEvents
protected List<String> prevSelection
public SwapSection(KSSelectItemWidgetAbstract selectableWidget)
selectableWidget
- public SwapSection(KSSelectItemWidgetAbstract selectableWidget, ConfirmationDialog dialog)
public void enableConfirmation(boolean enable)
public String addSection(Section section, String swapKey)
public String addSection(String key, Section section, String swapKey)
public String addSection(Section section)
BaseSection
addSection
in interface Section
addSection
in class BaseSection
Section.addSection(org.kuali.student.common.ui.client.configurable.mvc.sections.Section)
public String addSection(String key, Section section)
BaseSection
addSection
in interface Section
addSection
in class BaseSection
Section.addSection(java.lang.String, org.kuali.student.common.ui.client.configurable.mvc.sections.Section)
public List<Section> getDeletedSections()
getDeletedSections
in interface HasSectionDeletion
public List<String> getDeletionParentKeys()
getDeletionParentKeys
in interface HasSectionDeletion
public void setDeletionParentKey(List<String> deletionParentKeys)
setDeletionParentKey
in interface HasSectionDeletion
SectionBinding.setModelValue(Section, org.kuali.student.common.ui.client.mvc.DataModel, String)
public SwapEventHandler getSwapEventHandler()
public void setSwapEventHandler(SwapEventHandler swapEventHandler)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.