Class UserIndicator<V>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
io.jmix.flowui.kit.component.main.UserIndicator<V>
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasSize,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.component.shared.HasTooltip,- HasTitle,- SupportsFormatter<V>,- Serializable
- Direct Known Subclasses:
- JmixUserIndicator
public class UserIndicator<V>
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
implements SupportsFormatter<V>, HasTitle, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.shared.HasTooltip
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected com.vaadin.flow.component.html.Spanprotected StringgenerateUserTitle(V user) protected com.vaadin.flow.component.html.DivvoidvoidsetFormatter(Formatter<? super V> formatter) protected voidupdateUserIndicatorLabel(V user) Methods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltipgetTooltip, setTooltipText
- 
Field Details- 
USER_INDICATOR_CLASS_NAME- See Also:
 
- 
USER_INDICATOR_LABEL_CLASS_NAME- See Also:
 
- 
userComponentprotected com.vaadin.flow.component.Component userComponent
- 
userFormatter
 
- 
- 
Constructor Details- 
UserIndicatorpublic UserIndicator()
 
- 
- 
Method Details- 
initContentprotected com.vaadin.flow.component.html.Div initContent()- Overrides:
- initContentin class- com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
 
- 
refreshUserpublic void refreshUser()
- 
updateUserIndicatorLabel
- 
createUserIndicatorprotected com.vaadin.flow.component.html.Span createUserIndicator()
- 
generateUserTitle
- 
getFormatter- Specified by:
- getFormatterin interface- SupportsFormatter<V>
 
- 
setFormatter- Specified by:
- setFormatterin interface- SupportsFormatter<V>
 
 
-