Interface Container
- All Superinterfaces:
Cloneable,Component,Copyable,DictionaryBean,Helpable,LifecycleElement,Ordered,org.springframework.core.Ordered,ScriptEventSupport,Serializable,UifDictionaryBean
- All Known Subinterfaces:
CollectionGroup,Group,PageGroup
- All Known Implementing Classes:
AccordionGroup,CollectionGroupBase,ContainerBase,DialogGroup,DocumentView,FormView,GroupBase,IframeView,InquiryView,LightTable,LinkGroup,LookupView,MaintenanceDocumentView,MessageView,MockView,PageGroupBase,SidebarNavigationGroup,TabGroup,TabNavigationGroup,TransactionalDocumentView,TreeGroup,View
Container components must use a
LayoutManager to render the contained components.
Each container has the following parts in addition to the contained components:
HeaderField- Summary
Message - Help component
- Errors container
- Footer
Group
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered
INITIAL_ORDER_VALUEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionGet the key of the action item to invoke upon pressing the enter key.FooterGroupassociated with the containerHeaderFieldassociated with the containerText for the container that provides a summary description or instructionsgetItems()ListofComponentinstances that are held by the containerLayoutManagerthat should be used to layout the components in the containerSetofComponentclasses that may be placed into the containerField that contains the error messages for the containerbooleanDetermine if remote field holders should be processed for this container.voidsetEnterKeyAction(String enterKeyAction) voidvoidvoidsetInstructionalMessage(Message instructionalMessage) voidSetter for the containers list of componentsvoidsetLayoutManager(LayoutManager layoutManager) voidsetValidationMessages(ValidationMessages validationMessages) voidPerforms sorting of the container items based on the order property.Methods inherited from interface org.kuali.rice.krad.uif.component.Component
addAriaAttribute, addDataAttribute, addScriptDataAttribute, addStyleClass, addWrapperCssClass, afterEvaluateExpression, appendToStyle, completeValidation, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAdditionalTemplates, getAlign, getAriaAttributes, getAriaAttributesAsString, getCanCopyOnReadOnly, getCellWidth, getColSpan, getComponentModifiers, getComponentSecurity, getComponentTypeName, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getCssGridSizes, getDataAttributes, getEventHandlerScript, getExcludeIf, getExcludeUnless, getFieldsToSendOnRefresh, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getLibraryCssClasses, getMethodToCallOnRefresh, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getReadOnly, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRole, getRowSpan, getScriptDataAttributes, getScriptDataAttributesJs, getSimpleDataAttributes, getStyle, getStyleClassesAsString, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, getWrapperCssClasses, getWrapperStyle, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isOmitFromFormPost, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isRefreshedByAction, isRendered, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setAriaAttributes, setCanCopyOnReadOnly, setCellWidth, setColSpan, setComponentModifiers, setComponentSecurity, setConditionalRefresh, setContext, setCssClasses, setCssGridSizes, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setFieldsToSendOnRefresh, setForceSessionPersistence, setHidden, setLibraryCssClasses, setOmitFromFormPost, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRole, setRowSpan, setScriptDataAttributes, setSelfRendered, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setViewStatus, setWidth, setWrapperCssClasses, setWrapperStyleMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCodeMethods inherited from interface org.kuali.rice.krad.uif.widget.Helpable
getHelp, getHelpTitle, setHelp, setTooltipOfComponentMethods inherited from interface org.kuali.rice.krad.uif.util.LifecycleElement
checkMutable, getContainerIdSuffix, getId, getPhasePathMapping, getViewPath, getViewStatus, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performApplyModel, performFinalize, performInitialization, pushAllToContext, pushObjectToContext, setContainerIdSuffix, setId, setPhasePathMapping, setRender, setViewPath, skipLifecycleMethods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnInputScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnInputScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScriptMethods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
-
Method Details
-
getItems
ListofComponentinstances that are held by the containerContained components are rendered within the section template by calling the associated
LayoutManager.- Returns:
- List component instances
-
setItems
Setter for the containers list of components- Parameters:
items- list of components to set in container
-
getSupportedComponents
SetofComponentclasses that may be placed into the containerIf an empty or null list is returned, it is assumed the container supports all components. The returned set will be used by dictionary validators and allows renders to make assumptions about the contained components
- Returns:
- Set component classes
-
getLayoutManager
LayoutManager getLayoutManager()LayoutManagerthat should be used to layout the components in the containerThe template associated with the layout manager will be invoked passing in the List of components from the container. This list is exported under the attribute name 'items'
- Returns:
- LayoutManager instance
-
setLayoutManager
- See Also:
-
getHeader
Header getHeader()HeaderFieldassociated with the containerHeader fields are generally rendered at the beginning of the container to indicate a grouping, although this is determined by the template associated with the container. The actual rendering configuration (style and so on) is configured within the HeaderField instance
Header is only rendered if
Container#isRenderHeaderis true and getHeader() is not null- Returns:
- HeaderField instance or Null
-
setHeader
- See Also:
-
getInstructionalMessage
Message getInstructionalMessage()Text for the container that provides a summary description or instructionsText is encapsulated in a
Messagethat contains rendering configuration.Summary
Messageonly rendered if this methods does not return null- Returns:
- Message instance or Null
-
setInstructionalMessage
- See Also:
-
getValidationMessages
ValidationMessages getValidationMessages()Field that contains the error messages for the containerContainers can collect the errors for the contained component and display either all the messages or counts. This
Fieldis used to render those messages. Styling and other configuration is done through theValidationMessages- Returns:
- ValidationMessages holding the container errors
-
setValidationMessages
- See Also:
-
sortItems
void sortItems()Performs sorting of the container items based on the order property.Note that the items may be modified by this method to assign order priority where it has not been previously assigned.
-
isProcessRemoteFieldHolders
boolean isProcessRemoteFieldHolders()Determine if remote field holders should be processed for this container.- Returns:
- True if remote field holders should be processed for this container.
-
getEnterKeyAction
String getEnterKeyAction()Get the key of the action item to invoke upon pressing the enter key.- Returns:
- String enterKeyAction
-
setEnterKeyAction
- See Also:
-