Package io.jmix.ui.component.impl
Class CapsLockIndicatorImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixCapsLockIndicator>
io.jmix.ui.component.impl.CapsLockIndicatorImpl
- All Implemented Interfaces:
AttachNotifier,CapsLockIndicator,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer
public class CapsLockIndicatorImpl
extends AbstractComponent<JmixCapsLockIndicator>
implements CapsLockIndicator
-
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.ContextHelpIconClickEvent -
Field Summary
Fields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.CapsLockIndicator
NAMEFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JmixCapsLockIndicatorvoidsetCapsLockOffMessage(String capsLockOffMessage) Sets the message that will be shown when caps lock key is not active.voidsetCapsLockOnMessage(String capsLockOnMessage) Sets the message that will be shown when caps lock key is active.Methods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, withUnwrappedComposition
-
Constructor Details
-
CapsLockIndicatorImpl
public CapsLockIndicatorImpl()
-
-
Method Details
-
createComponent
-
setCapsLockOnMessage
Description copied from interface:CapsLockIndicatorSets the message that will be shown when caps lock key is active.- Specified by:
setCapsLockOnMessagein interfaceCapsLockIndicator- Parameters:
capsLockOnMessage- text message
-
getCapsLockOnMessage
- Specified by:
getCapsLockOnMessagein interfaceCapsLockIndicator- Returns:
- message that is shown when caps lock key is active
-
setCapsLockOffMessage
Description copied from interface:CapsLockIndicatorSets the message that will be shown when caps lock key is not active.- Specified by:
setCapsLockOffMessagein interfaceCapsLockIndicator- Parameters:
capsLockOffMessage- text message
-
getCapsLockOffMessage
- Specified by:
getCapsLockOffMessagein interfaceCapsLockIndicator- Returns:
- message that is shown when caps lock key is not active
-