V
- type of value@StudioComponent(caption="Label", category="Components", xmlElement="label", icon="io/jmix/ui/icon/component/label.svg", canvasBehaviour=LABEL, canvasText="New Label", canvasTextProperty="value", unsupportedProperties={"enable","responsive"}, documentationURL="https://docs.jmix.io/jmix/%VERSION%/backoffice-ui/vcl/components/label.html") public interface Label<V> extends Component, HasValue<V>, HasValueSource<V>, HasFormatter<V>, Component.HasDescription, Component.HasIcon, HasContextHelp, HasHtmlDescription, HasHtmlSanitizer
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
static org.springframework.core.ParameterizedTypeReference<Label<java.math.BigDecimal>> |
TYPE_BIGDECIMAL |
static org.springframework.core.ParameterizedTypeReference<Label<java.sql.Date>> |
TYPE_DATE |
static org.springframework.core.ParameterizedTypeReference<Label<java.util.Date>> |
TYPE_DATETIME |
static org.springframework.core.ParameterizedTypeReference<Label<java.lang.String>> |
TYPE_DEFAULT |
static org.springframework.core.ParameterizedTypeReference<Label<java.lang.Double>> |
TYPE_DOUBLE |
static org.springframework.core.ParameterizedTypeReference<Label<java.lang.Integer>> |
TYPE_INTEGER |
static org.springframework.core.ParameterizedTypeReference<Label<java.time.LocalDate>> |
TYPE_LOCALDATE |
static org.springframework.core.ParameterizedTypeReference<Label<java.time.LocalDateTime>> |
TYPE_LOCALDATETIME |
static org.springframework.core.ParameterizedTypeReference<Label<java.lang.Long>> |
TYPE_LONG |
static org.springframework.core.ParameterizedTypeReference<Label<java.time.OffsetTime>> |
TYPE_OFFSETTIME |
static org.springframework.core.ParameterizedTypeReference<Label<java.lang.String>> |
TYPE_STRING |
static org.springframework.core.ParameterizedTypeReference<Label<java.sql.Time>> |
TYPE_TIME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRawValue()
Returns a string representation of the value.
|
boolean |
isHtmlEnabled() |
static <T,V> org.springframework.core.ParameterizedTypeReference<Label<T>> |
of(java.lang.Class<V> valueClass) |
void |
setHtmlEnabled(boolean htmlEnabled) |
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValue
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
getValueSource, setValueSource
getFormatter, setFormatter
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isDescriptionAsHtml, setDescriptionAsHtml
getDescription, setDescription
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
static final java.lang.String NAME
static final org.springframework.core.ParameterizedTypeReference<Label<java.lang.String>> TYPE_DEFAULT
static final org.springframework.core.ParameterizedTypeReference<Label<java.lang.String>> TYPE_STRING
static final org.springframework.core.ParameterizedTypeReference<Label<java.lang.Integer>> TYPE_INTEGER
static final org.springframework.core.ParameterizedTypeReference<Label<java.lang.Long>> TYPE_LONG
static final org.springframework.core.ParameterizedTypeReference<Label<java.lang.Double>> TYPE_DOUBLE
static final org.springframework.core.ParameterizedTypeReference<Label<java.math.BigDecimal>> TYPE_BIGDECIMAL
static final org.springframework.core.ParameterizedTypeReference<Label<java.sql.Date>> TYPE_DATE
static final org.springframework.core.ParameterizedTypeReference<Label<java.util.Date>> TYPE_DATETIME
static final org.springframework.core.ParameterizedTypeReference<Label<java.time.LocalDate>> TYPE_LOCALDATE
static final org.springframework.core.ParameterizedTypeReference<Label<java.time.LocalDateTime>> TYPE_LOCALDATETIME
static final org.springframework.core.ParameterizedTypeReference<Label<java.sql.Time>> TYPE_TIME
static final org.springframework.core.ParameterizedTypeReference<Label<java.time.OffsetTime>> TYPE_OFFSETTIME
static <T,V> org.springframework.core.ParameterizedTypeReference<Label<T>> of(java.lang.Class<V> valueClass)
boolean isHtmlEnabled()
@StudioProperty(defaultValue="false") void setHtmlEnabled(boolean htmlEnabled)
java.lang.String getRawValue()