org.kuali.student.common.ui.client.widgets.table.summary
Class SummaryTableSection
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.sections.VerticalSection
org.kuali.student.common.ui.client.widgets.table.summary.SummaryTableSection
- 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, ReportExportWidget
public class SummaryTableSection
- extends VerticalSection
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Method Summary |
String |
addField(FieldDescriptor fieldDescriptor)
Adds a field to this section. |
String |
addSection(Section section)
Adds a section to this section's layout. |
String |
addSection(String key,
Section section)
Same as addSection except with an option user defined key (for retrieval of the section if necessary). |
void |
addShowRowCallback(ShowRowConditionCallback callback)
|
void |
addSummaryTableFieldBlock(SummaryTableFieldBlock section)
|
protected int |
buildMultiplicityRows(DataModel model,
DataModel compModel,
SummaryTableMultiplicityFieldRow parentRow,
List<SummaryTableRow> rowList,
int styleLevel,
Integer parentNum)
|
String |
getContentColumnHeader1()
|
String |
getContentColumnHeader2()
|
boolean |
getHasWarnings()
|
boolean |
getIsMissingFields()
|
SummaryTable |
getSummaryTable()
|
void |
init(Controller controller)
|
ValidationResult.ErrorLevel |
processValidationResults(List<ValidationResultInfo> results)
Same as processValidationResults(results, true) |
ValidationResult.ErrorLevel |
processValidationResults(List<ValidationResultInfo> results,
boolean clearErrors)
Processes the validation results passed in and displays the appropriate message on the screen next
to the corresponding field or section. |
void |
removeValidationHighlighting()
|
void |
setContentColumnHeader1(String title)
|
void |
setContentColumnHeader2(String title)
|
void |
setEditable(boolean bool)
|
String |
translatePath(String path,
String parentPath,
int num)
|
void |
updateWidgetData(DataModel model)
Updates the section's fields with data from the model passed in. |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.sections.BaseSection |
add, addStyleName, addWidget, clearValidationErrors, clearValidationWarnings, enableField, enableValidation, ensureDirtyFlagPath, getField, getFields, getLayout, getLayoutController, getSection, getSections, getUnnestedFields, isDirty, isValidationEnabled, progressiveEnableAndRequireFields, progressiveEnableFields, progressiveRequireFields, removeField, removeField, removeSection, removeSection, removeWidget, removeWidget, resetDirtyFlags, resetFieldInteractionFlags, setFieldHasHadFocusFlags, setHelp, setInstructions, setIsDirty, setLayoutController, setRequired, setSectionId, setStyleName, updateModel |
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, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, 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, toString, unsinkEvents |
SummaryTableSection
public SummaryTableSection()
SummaryTableSection
public SummaryTableSection(Controller controller)
SummaryTableSection
public SummaryTableSection(Controller controller,
SectionTitle title)
getIsMissingFields
public boolean getIsMissingFields()
getHasWarnings
public boolean getHasWarnings()
init
public void init(Controller controller)
setContentColumnHeader1
public void setContentColumnHeader1(String title)
setContentColumnHeader2
public void setContentColumnHeader2(String title)
getContentColumnHeader1
public String getContentColumnHeader1()
getContentColumnHeader2
public String getContentColumnHeader2()
setEditable
public void setEditable(boolean bool)
addShowRowCallback
public void addShowRowCallback(ShowRowConditionCallback callback)
addSummaryTableFieldBlock
public void addSummaryTableFieldBlock(SummaryTableFieldBlock section)
processValidationResults
public ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results)
- Description copied from class:
BaseSection
- Same as processValidationResults(results, true)
- Specified by:
processValidationResults
in interface Section
- Overrides:
processValidationResults
in class BaseSection
- See Also:
Section.processValidationResults(java.util.List)
processValidationResults
public ValidationResult.ErrorLevel processValidationResults(List<ValidationResultInfo> results,
boolean clearErrors)
- Description copied from class:
BaseSection
- Processes the validation results passed in and displays the appropriate message on the screen next
to the corresponding field or section. If clearAllValidation is true, it will clear all validation before
displaying the errors (otherwise will append these errors to the ones already visible on the section).
- Specified by:
processValidationResults
in interface Section
- Overrides:
processValidationResults
in class BaseSection
- See Also:
Section.processValidationResults(java.util.List, boolean)
removeValidationHighlighting
public void removeValidationHighlighting()
buildMultiplicityRows
protected int buildMultiplicityRows(DataModel model,
DataModel compModel,
SummaryTableMultiplicityFieldRow parentRow,
List<SummaryTableRow> rowList,
int styleLevel,
Integer parentNum)
translatePath
public String translatePath(String path,
String parentPath,
int num)
updateWidgetData
public void updateWidgetData(DataModel model)
- Description copied from class:
BaseSection
- Updates the section's fields with data from the model passed in. This effects all the data input and
display widgets on the particular section. This method will use the
modelWidgetBinding defined in each of this sections fields to determine how to interpret data from the
model and display it on the fields corresponding widget.
- Specified by:
updateWidgetData
in interface Section
- Overrides:
updateWidgetData
in class BaseSection
- See Also:
Section.updateWidgetData(org.kuali.student.common.ui.client.mvc.DataModel)
addField
public String addField(FieldDescriptor fieldDescriptor)
- Description copied from class:
BaseSection
- Adds a field to this section. Adds the field to this section's layout.
Attaches an event handler for lost focus events on the field widget
to validate against the metadata defined in its FieldDescriptor as well as firing events for dirty
field handling.
Note if a field has been marked as hidden in the dictionary, this method will not add this field to the layout.
If it is not visible the key returned by making call to addField is null.
- Specified by:
addField
in interface Section
- Overrides:
addField
in class BaseSection
- Returns:
- key/path of this field
addSection
public String addSection(Section section)
- Description copied from class:
BaseSection
- Adds a section to this section's layout.
- Specified by:
addSection
in interface Section
- Overrides:
addSection
in class BaseSection
- See Also:
Section.addSection(org.kuali.student.common.ui.client.configurable.mvc.sections.Section)
addSection
public String addSection(String key,
Section section)
- Description copied from class:
BaseSection
- Same as addSection except with an option user defined key (for retrieval of the section if necessary).
- Specified by:
addSection
in interface Section
- Overrides:
addSection
in class BaseSection
- See Also:
Section.addSection(java.lang.String, org.kuali.student.common.ui.client.configurable.mvc.sections.Section)
getSummaryTable
public SummaryTable getSummaryTable()
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.