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 TypeMethodDescriptionboolean
Returns whether a required indicator should be shown.void
setRequiredIndicatorVisible
(boolean visible) Sets whether a required indicator should be shown.
-
Method Details
-
isRequiredIndicatorVisible
boolean isRequiredIndicatorVisible()Returns whether a required indicator should be shown.- Returns:
true
if a required indicator should be shown,false
otherwise
-
setRequiredIndicatorVisible
@StudioProperty(name="requiredIndicatorVisible", defaultValue="false") void setRequiredIndicatorVisible(boolean visible) Sets whether a required indicator should be shown.- Parameters:
visible
-true
if a required indicator should be shown,false
otherwise
-