Package io.jmix.ui.component
Interface HasRequiredIndicator
- All Known Subinterfaces:
BoxLayout,ButtonsPanel,CssLayout,FlowBoxLayout,GridLayout,GroupBoxLayout,HBoxLayout,HtmlBoxLayout,JavaScriptComponent,ScrollBoxLayout,VBoxLayout
- All Known Implementing Classes:
AbstractBox,AbstractCanvasLayout,ButtonsPanelImpl,CanvasCssLayout,CanvasGridLayout,CanvasHorizontalLayout,CanvasResponsiveLayout,CanvasRootLayout,CanvasVerticalLayout,CanvasWidgetLayout,CssLayoutImpl,DrawerImpl,FlowBoxLayoutImpl,FragmentImpl,GridLayoutImpl,GroupBoxImpl,HBoxLayoutImpl,HtmlBoxLayoutImpl,JavaScriptComponentImpl,ScrollBoxLayoutImpl,VBoxLayoutImpl
public interface HasRequiredIndicator
An interface implemented by components that can have a required indicator.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether a required indicator should be shown.voidsetRequiredIndicatorVisible(boolean visible) Sets whether a required indicator should be shown.
-
Method Details
-
isRequiredIndicatorVisible
boolean isRequiredIndicatorVisible()Returns whether a required indicator should be shown.- Returns:
trueif a required indicator should be shown,falseotherwise
-
setRequiredIndicatorVisible
@StudioProperty(name="requiredIndicatorVisible", defaultValue="false") void setRequiredIndicatorVisible(boolean visible) Sets whether a required indicator should be shown.- Parameters:
visible-trueif a required indicator should be shown,falseotherwise
-