public class CubaResizableTextAreaWrapper
extends com.vaadin.v7.ui.CustomField
Modifier and Type | Class and Description |
---|---|
static interface |
CubaResizableTextAreaWrapper.ResizeListener |
com.vaadin.v7.ui.AbstractField.FocusShortcut, com.vaadin.v7.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.v7.ui.Field.ValueChangeEvent
com.vaadin.v7.data.Buffered.SourceException
com.vaadin.v7.data.Property.Editor, com.vaadin.v7.data.Property.ReadOnlyException, com.vaadin.v7.data.Property.ReadOnlyStatusChangeListener, com.vaadin.v7.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.v7.data.Property.Transactional<T>, com.vaadin.v7.data.Property.ValueChangeListener, com.vaadin.v7.data.Property.ValueChangeNotifier, com.vaadin.v7.data.Property.Viewer
Modifier and Type | Field and Description |
---|---|
protected java.util.List<CubaResizableTextAreaWrapper.ResizeListener> |
listeners |
protected CubaTextArea |
textArea |
Constructor and Description |
---|
CubaResizableTextAreaWrapper(CubaTextArea txtArea) |
Modifier and Type | Method and Description |
---|---|
void |
addResizeListener(CubaResizableTextAreaWrapper.ResizeListener resizeListener) |
void |
beforeClientResponse(boolean initial) |
com.vaadin.server.ErrorMessage |
getErrorMessage() |
com.haulmont.cuba.web.widgets.client.resizabletextarea.ResizeDirection |
getResizableDirection() |
protected com.haulmont.cuba.web.widgets.client.resizabletextarea.CubaResizableTextAreaWrapperState |
getState() |
protected com.haulmont.cuba.web.widgets.client.resizabletextarea.CubaResizableTextAreaWrapperState |
getState(boolean markAsDirty) |
java.lang.Class |
getType() |
protected com.vaadin.ui.Component |
initContent() |
boolean |
isEditable() |
protected boolean |
isPercentageSize() |
boolean |
isResizable()
Deprecated.
Use
getResizableDirection() instead |
void |
removeResizeListener(CubaResizableTextAreaWrapper.ResizeListener resizeListener) |
void |
setEditable(boolean editable) |
void |
setHeight(float height,
com.vaadin.server.Sizeable.Unit unit) |
void |
setRequired(boolean required) |
void |
setResizable(boolean resizable)
Deprecated.
Use
setResizableDirection(ResizeDirection) instead |
void |
setResizableDirection(com.haulmont.cuba.web.widgets.client.resizabletextarea.ResizeDirection direction) |
void |
setWidth(float width,
com.vaadin.server.Sizeable.Unit unit) |
attach, focus, getContent, getTabIndex, iterator, setFocusDelegate, setTabIndex
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, clear, commit, detach, discard, fieldValueEquals, fireReadOnlyStatusChange, fireValueChange, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getValidators, getValue, isBuffered, isEmpty, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isShowBufferedSourceException, isShowErrorForDisabledState, isValid, isValidationVisible, readDesign, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInternalValue, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setReadOnly, setRequiredError, setShowBufferedSourceException, setShowErrorForDisabledState, setValidationVisible, setValue, setValue, setValue, setValueIgnoreReadOnly, shouldHideErrors, validate, validate, valueChange, writeDesign
getExplicitImmediateValue, isImmediate, setImmediate
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.List<CubaResizableTextAreaWrapper.ResizeListener> listeners
protected final CubaTextArea textArea
public CubaResizableTextAreaWrapper(CubaTextArea txtArea)
public com.vaadin.server.ErrorMessage getErrorMessage()
getErrorMessage
in class com.vaadin.v7.ui.AbstractField
protected com.vaadin.ui.Component initContent()
initContent
in class com.vaadin.v7.ui.CustomField
public java.lang.Class getType()
getType
in interface com.vaadin.v7.data.Property
getType
in class com.vaadin.v7.ui.AbstractField
@Deprecated public boolean isResizable()
getResizableDirection()
instead@Deprecated public void setResizable(boolean resizable)
setResizableDirection(ResizeDirection)
insteadpublic boolean isEditable()
public void setEditable(boolean editable)
protected com.haulmont.cuba.web.widgets.client.resizabletextarea.CubaResizableTextAreaWrapperState getState()
getState
in class com.vaadin.v7.ui.AbstractField
protected com.haulmont.cuba.web.widgets.client.resizabletextarea.CubaResizableTextAreaWrapperState getState(boolean markAsDirty)
getState
in class com.vaadin.v7.ui.AbstractField
public void setRequired(boolean required)
setRequired
in interface com.vaadin.v7.ui.Field
setRequired
in class com.vaadin.v7.ui.AbstractField
public void setWidth(float width, com.vaadin.server.Sizeable.Unit unit)
setWidth
in interface com.vaadin.server.Sizeable
setWidth
in class com.vaadin.v7.ui.CustomField
public void setHeight(float height, com.vaadin.server.Sizeable.Unit unit)
setHeight
in interface com.vaadin.server.Sizeable
setHeight
in class com.vaadin.v7.ui.CustomField
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.v7.ui.AbstractField
protected boolean isPercentageSize()
public void addResizeListener(CubaResizableTextAreaWrapper.ResizeListener resizeListener)
public void removeResizeListener(CubaResizableTextAreaWrapper.ResizeListener resizeListener)
public void setResizableDirection(com.haulmont.cuba.web.widgets.client.resizabletextarea.ResizeDirection direction)
public com.haulmont.cuba.web.widgets.client.resizabletextarea.ResizeDirection getResizableDirection()