V - type of valuepublic interface Label<V> extends HasValueSource<V>, DatasourceComponent<V>, HasFormatter<V>, Component.HasDescription, Component.HasIcon, HasContextHelp, HasHtmlDescription
HasValue.ValueChangeEvent<V>Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.WrapperHasContextHelp.ContextHelpIconClickEvent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static com.google.common.reflect.TypeToken<Label<java.math.BigDecimal>> |
TYPE_BIGDECIMAL |
static com.google.common.reflect.TypeToken<Label<java.sql.Date>> |
TYPE_DATE |
static com.google.common.reflect.TypeToken<Label<java.util.Date>> |
TYPE_DATETIME |
static com.google.common.reflect.TypeToken<Label<java.lang.String>> |
TYPE_DEFAULT |
static com.google.common.reflect.TypeToken<Label<java.lang.Double>> |
TYPE_DOUBLE |
static com.google.common.reflect.TypeToken<Label<java.lang.Integer>> |
TYPE_INTEGER |
static com.google.common.reflect.TypeToken<Label<java.time.LocalDate>> |
TYPE_LOCALDATE |
static com.google.common.reflect.TypeToken<Label<java.time.LocalDateTime>> |
TYPE_LOCALDATETIME |
static com.google.common.reflect.TypeToken<Label<java.lang.Long>> |
TYPE_LONG |
static com.google.common.reflect.TypeToken<Label<java.time.OffsetTime>> |
TYPE_OFFSETTIME |
static com.google.common.reflect.TypeToken<Label<java.lang.String>> |
TYPE_STRING |
static com.google.common.reflect.TypeToken<Label<java.sql.Time>> |
TYPE_TIME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRawValue()
Returns a string representation of the value.
|
boolean |
isHtmlEnabled() |
static <T,V> com.google.common.reflect.TypeToken<Label<T>> |
of(java.lang.Class<V> valueClass) |
void |
setHtmlEnabled(boolean htmlEnabled) |
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasourceaddValueChangeListener, clear, getEmptyValue, getValue, isEmpty, removeValueChangeListener, setValueaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapCompositiongetValueSource, setValueSourcegetFormatter, setFormattergetIcon, setIcon, setIconFromSetgetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisDescriptionAsHtml, setDescriptionAsHtmlgetDescription, setDescriptionstatic final java.lang.String NAME
static final com.google.common.reflect.TypeToken<Label<java.lang.String>> TYPE_DEFAULT
static final com.google.common.reflect.TypeToken<Label<java.lang.String>> TYPE_STRING
static final com.google.common.reflect.TypeToken<Label<java.lang.Integer>> TYPE_INTEGER
static final com.google.common.reflect.TypeToken<Label<java.lang.Long>> TYPE_LONG
static final com.google.common.reflect.TypeToken<Label<java.lang.Double>> TYPE_DOUBLE
static final com.google.common.reflect.TypeToken<Label<java.math.BigDecimal>> TYPE_BIGDECIMAL
static final com.google.common.reflect.TypeToken<Label<java.sql.Date>> TYPE_DATE
static final com.google.common.reflect.TypeToken<Label<java.util.Date>> TYPE_DATETIME
static final com.google.common.reflect.TypeToken<Label<java.time.LocalDate>> TYPE_LOCALDATE
static final com.google.common.reflect.TypeToken<Label<java.time.LocalDateTime>> TYPE_LOCALDATETIME
static final com.google.common.reflect.TypeToken<Label<java.sql.Time>> TYPE_TIME
static final com.google.common.reflect.TypeToken<Label<java.time.OffsetTime>> TYPE_OFFSETTIME
static <T,V> com.google.common.reflect.TypeToken<Label<T>> of(java.lang.Class<V> valueClass)
boolean isHtmlEnabled()
void setHtmlEnabled(boolean htmlEnabled)
java.lang.String getRawValue()