Package io.jmix.ui.component.mainwindow
Interface UserIndicator
- All Superinterfaces:
Component
,Component.BelongToFrame
,HasFormatter<org.springframework.security.core.userdetails.UserDetails>
- All Known Implementing Classes:
UserIndicatorImpl
@StudioComponent(caption="UserIndicator",
category="Main window",
xmlElement="userIndicator",
icon="io/jmix/ui/icon/mainwindow/userIndicator.svg",
canvasBehaviour=LABEL,
canvasTextProperty="id",
canvasText="User",
unsupportedProperties={"css","caption","captionAsHtml","description","descriptionAsHtml","responsive"})
public interface UserIndicator
extends Component.BelongToFrame, HasFormatter<org.springframework.security.core.userdetails.UserDetails>
-
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.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Informs this component that the current user may be changed and refresh is needed.Methods 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
Methods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrame
Methods inherited from interface io.jmix.ui.component.HasFormatter
getFormatter, setFormatter
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
refreshUser
void refreshUser()Informs this component that the current user may be changed and refresh is needed.
-