Package io.jmix.ui.component
Interface SingleFilterComponent<V>
- Type Parameters:
V- value type
- All Superinterfaces:
Component,Component.BelongToFrame,Component.Editable,Component.Focusable,Component.HasCaption,Component.HasDescription,Component.HasIcon,FilterComponent,HasContextHelp,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,HasValue<V>,Requirable,SupportsCaptionPosition,Validatable
- All Known Subinterfaces:
FullTextFilter,JpqlFilter<V>,PropertyFilter<V>
- All Known Implementing Classes:
AbstractSingleFilterComponent,FullTextFilterImpl,JpqlFilterImpl,PropertyFilterImpl
public interface SingleFilterComponent<V>
extends FilterComponent, Component.BelongToFrame, HasValue<V>, Component.HasCaption, Component.HasIcon, Component.Focusable, Component.Editable, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, SupportsCaptionPosition, Requirable, Validatable, HasContextHelp
Component which cannot contain other filter component but can be used for filtering entities
returned by the
DataLoader.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.ui.component.HasValue
HasValue.ValueChangeEvent<V>Nested classes/interfaces inherited from interface io.jmix.ui.component.SupportsCaptionPosition
SupportsCaptionPosition.CaptionPosition -
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanvoidsetCaptionVisible(boolean captionVisible) Sets caption visibility.voidsetCaptionWidth(String captionWidth) Sets the caption width.voidsetParameterName(String parameterName) Sets the name of the associated query parameter name.voidsetValueComponent(HasValue<V> valueComponent) Sets the field for editing a property value.Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.Editable
isEditable, isEditableWithParent, setEditableMethods inherited from interface io.jmix.ui.component.Component.Focusable
focus, getTabIndex, isFocusable, setFocusable, setTabIndexMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.FilterComponent
apply, getDataLoader, getQueryCondition, isAutoApply, isConditionModificationDelegated, setAutoApply, setConditionModificationDelegated, setDataLoaderMethods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.HasValue
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValueMethods inherited from interface io.jmix.ui.component.Requirable
getRequiredMessage, isRequired, setRequired, setRequiredMessageMethods inherited from interface io.jmix.ui.component.SupportsCaptionPosition
getCaptionPosition, setCaptionPositionMethods inherited from interface io.jmix.ui.component.Validatable
isValid, isValidateOnCommit, validate
-
Method Details
-
getParameterName
String getParameterName()- Returns:
- the name of the associated query parameter name
-
setParameterName
Sets the name of the associated query parameter name.- Parameters:
parameterName- a name of the associated query parameter name
-
getValueComponent
- Returns:
- a field for editing a property value
-
setValueComponent
Sets the field for editing a property value.- Parameters:
valueComponent- a field for editing a property value
-
getCaptionWidth
float getCaptionWidth()- Returns:
- a caption width value in
Component.getWidthSizeUnit()
-
getCaptionWidthSizeUnit
SizeUnit getCaptionWidthSizeUnit()- Returns:
- units used in the caption width property
-
setCaptionWidth
Sets the caption width.- Parameters:
captionWidth- a string width representation
-
isCaptionVisible
boolean isCaptionVisible()- Returns:
trueif caption is visible
-
setCaptionVisible
Sets caption visibility. Default value istrue.- Parameters:
captionVisible- whether to show caption or not
-