Interface Field
- All Superinterfaces:
Cloneable,Component,Copyable,DictionaryBean,LifecycleElement,Ordered,org.springframework.core.Ordered,ScriptEventSupport,Serializable,UifDictionaryBean
- All Known Subinterfaces:
DataField,InputField
- All Known Implementing Classes:
ActionField,DataFieldBase,FieldBase,FieldGroup,GenericField,GroupLinkField,ImageField,InputFieldBase,LinkField,LookupInputField,MessageField,ProgressBarField,RoleLinkField,SpaceField,UserLinkField
Container
Provides a wrapper for various user interface elements so they can be treated
uniformly by a container and rendered using a LayoutManager.
Implementations exist for various types of elements and properties to
configure that element.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
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 TypeMethodDescriptionLabelinstance for the fieldField Security object that indicates what authorization (permissions) exist for the fieldgetLabel()Label text for the fieldintLabel column span for the fieldLabel style classes for the fieldShort label for the fieldbooleanThe label for this field will be positioned to the left of the field content, when true.booleanIndicates whether the containedLabelhas been rendered as part of another field and thus should not be rendered with the attributevoidsetFieldLabel(Label label) Setter for the field's label fieldvoidSetter for the field's label textvoidsetLabelColSpan(int labelColSpan) Setter for the field's label column spanvoidsetLabelLeft(boolean labelLeft) voidsetLabelRendered(boolean labelFieldRendered) Setter for the label field rendered indicatorvoidsetLabelStyleClasses(List<String> labelStyleClasses) Setter for the field's label style classesvoidsetShortLabel(String shortLabel) Setter for the field's short label textMethods 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.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
-
getLabel
String getLabel()Label text for the fieldThe label is generally used to identify the field in the user interface
- Returns:
- String label text
-
setLabel
Setter for the field's label text -
getShortLabel
String getShortLabel()Short label for the fieldFor areas of the user interface that have limited area (such as table headers), the short label can be used to identify the field
- Returns:
- String short label
-
setShortLabel
Setter for the field's short label text- Parameters:
shortLabel-
-
getFieldLabel
Label getFieldLabel()Labelinstance for the fieldThe label field contains the labeling text for the field in addition to configuration for rendering in the user interface (such as the styling for the label area)
- Returns:
- Label instance
-
setFieldLabel
Setter for the field's label field -
isLabelLeft
boolean isLabelLeft()The label for this field will be positioned to the left of the field content, when true.The usage of this option is for one-off instances in which a label must be positioned to the left of a field for layout purposes. It is recommended that if many fields will have their labels positioned to the left in a group that a CssGridLabelColumnLayoutManager backed group be used instead.
-
setLabelLeft
void setLabelLeft(boolean labelLeft) - See Also:
-
isLabelRendered
boolean isLabelRendered()Indicates whether the containedLabelhas been rendered as part of another field and thus should not be rendered with the attribute- Returns:
- boolean true if the label field has been rendered, false if it should be rendered with the attribute
-
setLabelRendered
void setLabelRendered(boolean labelFieldRendered) Setter for the label field rendered indicator -
getLabelStyleClasses
Label style classes for the field- Returns:
- List<String> label style classes
-
setLabelStyleClasses
Setter for the field's label style classes -
getLabelColSpan
int getLabelColSpan()Label column span for the field- Returns:
- int label column span
-
setLabelColSpan
void setLabelColSpan(int labelColSpan) Setter for the field's label column span -
getFieldSecurity
FieldSecurity getFieldSecurity()Field Security object that indicates what authorization (permissions) exist for the field- Returns:
- FieldSecurity instance
-