public interface Field extends Component
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.
INITIAL_ORDER_VALUE
Modifier and Type | Method and Description |
---|---|
Label |
getFieldLabel()
Label instance for the field |
FieldSecurity |
getFieldSecurity()
Field Security object that indicates what authorization (permissions) exist for the field
|
String |
getLabel()
Label text for the field
|
int |
getLabelColSpan()
Label column span for the field
|
List<String> |
getLabelStyleClasses()
Label style classes for the field
|
String |
getShortLabel()
Short label for the field
|
boolean |
isLabelRendered()
Indicates whether the contained
Label has been rendered
as part of another field and thus should not be rendered with the
attribute |
void |
setFieldLabel(Label label)
Setter for the field's label field
|
void |
setLabel(String labelText)
Setter for the field's label text
|
void |
setLabelColSpan(int labelColSpan)
Setter for the field's label column span
|
void |
setLabelRendered(boolean labelFieldRendered)
Setter for the label field rendered indicator
|
void |
setLabelStyleClasses(List<String> labelStyleClasses)
Setter for the field's label style classes
|
void |
setShortLabel(String shortLabel)
Setter for the field's short label text
|
addCellCssClass, addDataAttribute, addStyleClass, appendToStyle, completeValidation, copy, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAlign, getBaseId, getCellCssClasses, getCellStyle, getCellWidth, getColSpan, getComponentModifiers, getComponentPrototypes, getComponentSecurity, getComponentsForLifecycle, getComponentTypeName, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getDataAttributes, getEventHandlerScript, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRowSpan, getSimpleDataAttributes, getStyle, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefreshedByAction, isRender, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, performApplyModel, performFinalize, performInitialization, pushAllToContext, pushObjectToContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setBaseId, setCellCssClasses, setCellStyle, setCellWidth, setColSpan, setComponentModifiers, setComponentSecurity, setConditionalRefresh, setContext, setCssClasses, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRowSpan, setSelfRendered, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setWidth
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
getComponentCode, getNamespaceCode
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript
String getLabel()
The label is generally used to identify the field in the user interface
String getShortLabel()
For areas of the user interface that have limited area (such as table headers), the short label can be used to identify the field
void setShortLabel(String shortLabel)
shortLabel
- Label getFieldLabel()
Label
instance for the field
The 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)
void setFieldLabel(Label label)
label
- boolean isLabelRendered()
Label
has been rendered
as part of another field and thus should not be rendered with the
attributevoid setLabelRendered(boolean labelFieldRendered)
labelFieldRendered
- List<String> getLabelStyleClasses()
void setLabelStyleClasses(List<String> labelStyleClasses)
labelStyleClasses
- int getLabelColSpan()
void setLabelColSpan(int labelColSpan)
labelColSpan
- FieldSecurity getFieldSecurity()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.