V
- type of valuepublic interface ResizableTextArea<V> extends TextArea<V>, HasSettings
TextArea
Modifier and Type | Interface and Description |
---|---|
static class |
ResizableTextArea.ResizeDirection
Represents directions in which textArea can be resized.
|
static class |
ResizableTextArea.ResizeEvent |
TextInputField.CaseConversion, TextInputField.CaseConversionSupported, TextInputField.CursorPositionSupported, TextInputField.EnterPressEvent, TextInputField.EnterPressNotifier, TextInputField.HtmlNameSupported, TextInputField.MaxLengthLimited, TextInputField.TextChangeEvent, TextInputField.TextChangeEventMode, TextInputField.TextChangeNotifier, TextInputField.TextSelectionSupported, TextInputField.TrimSupported
Field.Validator<T>
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
TYPE_BIGDECIMAL, TYPE_DATE, TYPE_DATETIME, TYPE_DEFAULT, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LOCALDATE, TYPE_LOCALDATETIME, TYPE_LONG, TYPE_OFFSETTIME, TYPE_STRING, TYPE_TIME
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
Subscription |
addResizeListener(java.util.function.Consumer<ResizableTextArea.ResizeEvent> listener) |
ResizableTextArea.ResizeDirection |
getResizableDirection()
Get the direction in which the textArea size changes.
|
boolean |
isResizable()
Deprecated.
Use
getResizableDirection() instead. |
void |
removeResizeListener(java.util.function.Consumer<ResizableTextArea.ResizeEvent> listener)
Deprecated.
Use
Subscription instead |
void |
setResizable(boolean resizable)
Deprecated.
Use
setResizableDirection(ResizeDirection) instead. |
void |
setResizableDirection(ResizableTextArea.ResizeDirection direction)
Allows resizing textArea in a given direction.
|
getColumns, getRawValue, getRows, isWordWrap, setColumns, setRows, setWordWrap
addValidator, addValidators, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, removeValueChangeListener, setValue
addStyleName, 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, unwrapComposition
getValueSource, setValueSource
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
commit, discard, isBuffered, isModified, setBuffered
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
getDatatype, setDatatype
getMaxLength, setMaxLength
setCursorPosition
isTrimming, setTrimming
addTextChangeListener, getTextChangeEventMode, getTextChangeTimeout, removeTextChangeListener, setTextChangeEventMode, setTextChangeTimeout
selectAll, setSelectionRange
getCaseConversion, setCaseConversion
getInputPrompt, setInputPrompt
getConversionErrorMessage, setConversionErrorMessage
applySettings, isSettingsEnabled, saveSettings, setSettingsEnabled
static final java.lang.String NAME
@Deprecated void setResizable(boolean resizable)
setResizableDirection(ResizeDirection)
instead.@Deprecated boolean isResizable()
getResizableDirection()
instead.void setResizableDirection(ResizableTextArea.ResizeDirection direction)
direction
- the direction in which resizes textArea.ResizableTextArea.ResizeDirection getResizableDirection()
Subscription addResizeListener(java.util.function.Consumer<ResizableTextArea.ResizeEvent> listener)
@Deprecated void removeResizeListener(java.util.function.Consumer<ResizableTextArea.ResizeEvent> listener)
Subscription
insteadlistener
- a listener to remove