public class LookupInputField extends InputField
InputField
for search fields within a lookup viewadditionalDisplayPropertyName, alternateDisplayPropertyName
INITIAL_ORDER_VALUE
Constructor and Description |
---|
LookupInputField() |
Modifier and Type | Method and Description |
---|---|
protected static Control |
convertControlToLookupControl(AttributeDefinition attributeDefinition)
If control definition is defined on the given attribute definition, converts to an appropriate control for
searching (if necessary) and returns a copy for setting on the field
|
void |
copyFromAttributeDefinition(View view,
AttributeDefinition attributeDefinition)
Override of InputField copy to setup properties necessary to make the field usable for inputting
search criteria
|
boolean |
isAddAllOption()
Indicates whether the option for all values (blank key, 'All' label) should be added to the lookup
field, note this is only supported for
MultiValueControl instance |
boolean |
isTreatWildcardsAndOperatorsAsLiteral() |
void |
performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Add all option if enabled and control is multi-value
|
void |
setAddAllOption(boolean addAllOption)
Setter for the add all option indicator
|
void |
setTreatWildcardsAndOperatorsAsLiteral(boolean treatWildcardsAndOperatorsAsLiteral) |
adjustMustOccurConstraintBinding, adjustPrerequisiteConstraintBinding, getCaseConstraint, getComponentsForLifecycle, getConstraintMessageField, getConstraintText, getControl, getDataType, getDependencyConstraints, getDirectInquiryRender, getErrorsField, getExclusiveMin, getFieldAttributeQuery, getFieldDirectInquiry, getFieldLookup, getFieldSuggest, getInclusiveMax, getInstructionalMessageField, getInstructionalText, getMaxLength, getMinLength, getMustOccurConstraints, getName, getOptionsFinder, getPrerequisiteConstraints, getRequired, getSimpleConstraint, getSupportsOnLoad, getValidCharactersConstraint, isInputAllowed, isPerformUppercase, setCaseConstraint, setConstraintMessageField, setConstraintText, setControl, setDataType, setDataType, setDependencyConstraints, setDirectInquiryRender, setErrorsField, setExclusiveMin, setFieldAttributeQuery, setFieldDirectInquiry, setFieldLookup, setFieldSuggest, setInclusiveMax, setInstructionalMessageField, setInstructionalText, setMaxLength, setMinLength, setMustOccurConstraints, setOptionsFinder, setOptionsFinderClass, setPerformUppercase, setRequired, setSimpleConstraint, setupFieldQuery, setupIds, setValidCharactersConstraint
getAdditionalDisplayPropertyName, getAdditionalDisplayValue, getAlternateDisplayPropertyName, getAlternateDisplayValue, getBindingInfo, getComponentSecurityClass, getDataFieldSecurity, getDefaultValue, getDefaultValueFinderClass, getDictionaryAttributeName, getDictionaryObjectEntry, getFieldInquiry, getHelpDescription, getHelpSummary, getHiddenPropertyNames, getInformationalDisplayPropertyNames, getMaskFormatter, getPropertyEditor, getPropertyName, hasSecureValue, isApplyValueMask, isEscapeHtmlInPropertyValue, isReadOnlyHidden, performApplyModel, performInitialization, setAdditionalDisplayPropertyName, setAdditionalDisplayValue, setAlternateAndAdditionalDisplayValue, setAlternateDisplayPropertyName, setAlternateDisplayValue, setApplyValueMask, setBindingInfo, setComponentSecurity, setDefaultValue, setDefaultValueFinderClass, setDictionaryAttributeName, setDictionaryObjectEntry, setEscapeHtmlInPropertyValue, setFieldInquiry, setHelpDescription, setHelpSummary, setHiddenPropertyNames, setInformationalDisplayPropertyNames, setMaskFormatter, setPropertyEditor, setPropertyEditorClass, setPropertyName, setReadOnlyHidden
getComponentTypeName, getFieldSecurity, getLabel, getLabelField, getLabelPlacement, getShortLabel, isLabelFieldRendered, setLabel, setLabelField, setLabelFieldRendered, setLabelPlacement, setShortLabel, setShowLabel
addStyleClass, appendToStyle, getAlign, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getEventCode, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshDiscloseMethodToCall, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRowSpan, getStyle, getStyleClasses, getStyleClassesAsString, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnDocumentReady, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, getTemplate, getTitle, getValign, getWidth, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, isSkipInTabOrder, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAlign, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setConditionalRefresh, setContext, setFactoryId, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshDiscloseMethodToCall, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setResetDataOnRefresh, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setStyleClasses, setTemplate, setTitle, setValign, setWidth
getPropertyExpression, getPropertyExpressions, setPropertyExpressions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, pushAllToContext, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setConditionalRefresh, setContext, setFactoryId, setHidden, setId, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setResetDataOnRefresh, setRowSpan, setSelfRendered, setStyle, setStyleClasses, setTemplate, setTitle
getPropertyExpression, getPropertyExpressions, setPropertyExpressions
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnDocumentReady, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, setOnBlurScript, setOnDocumentReadyScript, setOnLoadScript
public LookupInputField()
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class InputField
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent componentComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)
public void copyFromAttributeDefinition(View view, AttributeDefinition attributeDefinition)
copyFromAttributeDefinition
in class InputField
attributeDefinition
- - AttributeDefinition instance the property values should be copied fromview
- - view instance the field belongs toDataField.copyFromAttributeDefinition(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.datadictionary.AttributeDefinition)
protected static Control convertControlToLookupControl(AttributeDefinition attributeDefinition)
attributeDefinition
- - attribute definition instance to retrieve control frompublic boolean isTreatWildcardsAndOperatorsAsLiteral()
public void setTreatWildcardsAndOperatorsAsLiteral(boolean treatWildcardsAndOperatorsAsLiteral)
treatWildcardsAndOperatorsAsLiteral
- the treatWildcardsAndOperatorsAsLiteral to setpublic boolean isAddAllOption()
MultiValueControl
instancepublic void setAddAllOption(boolean addAllOption)
addAllOption
- Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.