Package io.jmix.ui.component
Interface CompositeWithContextHelp
- All Superinterfaces:
 HasContextHelp
- All Known Subinterfaces:
 GroupFilter
- All Known Implementing Classes:
 FilterImpl,GroupFilterImpl
CompositeComponent having a context help.
 Default implementations delegate their execution to CompositeComponent.getComposition().- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent - 
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdefault booleandefault voidSets a context help icon click handler.default voidsetContextHelpText(String contextHelpText) Sets context help text.default voidsetContextHelpTextHtmlEnabled(boolean enabled) Defines if context help text can be presented as HTML. 
- 
Method Details
- 
getContextHelpText
- Specified by:
 getContextHelpTextin interfaceHasContextHelp- Returns:
 - context help text
 
 - 
setContextHelpText
Description copied from interface:HasContextHelpSets context help text. If set, then a special icon will be added for a field.- Specified by:
 setContextHelpTextin interfaceHasContextHelp- Parameters:
 contextHelpText- context help text to be set
 - 
isContextHelpTextHtmlEnabled
default boolean isContextHelpTextHtmlEnabled()- Specified by:
 isContextHelpTextHtmlEnabledin interfaceHasContextHelp- Returns:
 - true if field accepts context help text in HTML format, false otherwise
 
 - 
setContextHelpTextHtmlEnabled
default void setContextHelpTextHtmlEnabled(boolean enabled) Description copied from interface:HasContextHelpDefines if context help text can be presented as HTML.- Specified by:
 setContextHelpTextHtmlEnabledin interfaceHasContextHelp- Parameters:
 enabled- true if field accepts context help text in HTML format, false otherwise
 - 
getContextHelpIconClickHandler
@Nullable default Consumer<HasContextHelp.ContextHelpIconClickEvent> getContextHelpIconClickHandler()- Specified by:
 getContextHelpIconClickHandlerin interfaceHasContextHelp- Returns:
 - a context help icon click handler
 
 - 
setContextHelpIconClickHandler
default void setContextHelpIconClickHandler(@Nullable Consumer<HasContextHelp.ContextHelpIconClickEvent> handler) Description copied from interface:HasContextHelpSets a context help icon click handler. If set, then a special icon will be added for a field. Click handler has priority over context help text, i.e. no tooltip with context help text will be shown if click listener is set.- Specified by:
 setContextHelpIconClickHandlerin interfaceHasContextHelp- Parameters:
 handler- the handler to set
 
 -