Package io.jmix.ui.component
Interface GroupFilter
- All Superinterfaces:
Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,CompositeWithCaption,CompositeWithContextHelp,CompositeWithDescription,CompositeWithHtmlCaption,CompositeWithHtmlDescription,CompositeWithIcon,FilterComponent,HasContextHelp,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,LogicalFilterComponent,SupportsCaptionPosition,SupportsColumnsCount
- All Known Implementing Classes:
GroupFilterImpl
public interface GroupFilter
extends LogicalFilterComponent, Component.BelongToFrame, CompositeWithHtmlCaption, CompositeWithHtmlDescription, CompositeWithIcon, CompositeWithContextHelp, HasHtmlSanitizer, SupportsCaptionPosition, SupportsColumnsCount
GroupFilter is a UI component that has a
GroupBoxLayout with a ResponsiveGridLayout
as its root element. This component can contain FilterComponents and can be used for filtering entities
returned by the DataLoader.-
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.LogicalFilterComponent
LogicalFilterComponent.OperationNested classes/interfaces inherited from interface io.jmix.ui.component.SupportsCaptionPosition
SupportsCaptionPosition.CaptionPosition -
Field Summary
FieldsFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Modifier and TypeMethodDescriptionfloatintReturns the number of columns to be displayed on one row.voidSets caption position of logical filter child components.voidsetCaptionWidth(String width) Sets caption width of logical filter child components.voidsetColumnsCount(int columnsCount) Sets the number of columns to be displayed on one row.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.CompositeWithCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.CompositeWithContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.CompositeWithDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.CompositeWithHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.CompositeWithHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.CompositeWithIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.FilterComponent
apply, getDataLoader, isAutoApply, isConditionModificationDelegated, setAutoApply, setConditionModificationDelegated, setDataLoaderMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.LogicalFilterComponent
add, getFilterComponents, getOperation, getOwnFilterComponents, getQueryCondition, isOperationCaptionVisible, remove, removeAll, setOperation, setOperationCaptionVisible
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getCaptionPosition
SupportsCaptionPosition.CaptionPosition getCaptionPosition()- Specified by:
getCaptionPositionin interfaceSupportsCaptionPosition- Returns:
- caption position of logical filter child components
-
setCaptionPosition
Sets caption position of logical filter child components.SupportsCaptionPosition.CaptionPosition.LEFT- component captions will be placed in a separate column on the left side of the componentsSupportsCaptionPosition.CaptionPosition.TOP- component captions will be placed above the components
- Specified by:
setCaptionPositionin interfaceSupportsCaptionPosition- Parameters:
position- caption position of logical filter child components
-
getCaptionWidth
float getCaptionWidth()- Returns:
- caption width of logical filter child components
-
getCaptionWidthSizeUnit
SizeUnit getCaptionWidthSizeUnit()- Returns:
- caption width size unit of logical filter child components
-
setCaptionWidth
Sets caption width of logical filter child components.- Parameters:
width- caption width of logical filter child components
-
getColumnsCount
int getColumnsCount()Returns the number of columns to be displayed on one row. The default value is taken fromUiComponentProperties.getFilterColumnsCount().- Specified by:
getColumnsCountin interfaceSupportsColumnsCount- Returns:
- the number of columns to be displayed on one row
-
setColumnsCount
void setColumnsCount(int columnsCount) Sets the number of columns to be displayed on one row. The default value is taken fromUiComponentProperties.getFilterColumnsCount().- Specified by:
setColumnsCountin interfaceSupportsColumnsCount- Parameters:
columnsCount- the number of columns to be displayed on one row
-