public class CubaTextField
extends com.vaadin.ui.TextField
implements com.vaadin.event.Action.Container, com.vaadin.ui.LegacyComponent
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenercom.vaadin.server.Sizeable.Unit| Modifier and Type | Field and Description |
|---|---|
protected com.vaadin.event.ActionManager |
shortcutsManager
Keeps track of the Actions added to this component, and manages the
painting and handling as well.
|
| Constructor and Description |
|---|
CubaTextField() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionHandler(com.vaadin.event.Action.Handler actionHandler) |
com.vaadin.shared.Registration |
addShortcutListener(com.vaadin.event.ShortcutListener listener) |
void |
changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables) |
protected com.vaadin.event.ActionManager |
getActionManager() |
CaseConversion |
getCaseConversion() |
java.lang.String |
getHtmlName() |
protected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState |
getState() |
protected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState |
getState(boolean markAsDirty) |
boolean |
isReadOnlyFocusable() |
void |
paintContent(com.vaadin.server.PaintTarget target) |
void |
removeActionHandler(com.vaadin.event.Action.Handler actionHandler) |
void |
removeShortcutListener(com.vaadin.event.ShortcutListener listener) |
void |
setCaseConversion(CaseConversion caseConversion) |
void |
setHtmlName(java.lang.String htmlName) |
void |
setReadOnlyFocusable(boolean readOnlyFocusable)
Sets whether a text field will be focusable in readOnly mode
|
addBlurListener, addFocusListener, doSetValue, getCursorPosition, getCustomAttributes, getEmptyValue, getMaxLength, getPlaceholder, getValue, getValueChangeMode, getValueChangeTimeout, selectAll, setCursorPosition, setMaxLength, setPlaceholder, setSelection, setValue, setValueChangeMode, setValueChangeTimeoutaddValueChangeListener, createValueChange, focus, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValueaddContextClickListener, addContextHelpIconClickListener, addListener, addStyleName, attach, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, addStyleNames, attach, 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, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected com.vaadin.event.ActionManager shortcutsManager
public void paintContent(com.vaadin.server.PaintTarget target)
throws com.vaadin.server.PaintException
paintContent in interface com.vaadin.ui.LegacyComponentcom.vaadin.server.PaintExceptionprotected com.vaadin.event.ActionManager getActionManager()
getActionManager in class com.vaadin.ui.AbstractComponentpublic void changeVariables(java.lang.Object source,
java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables in interface com.vaadin.server.VariableOwnerpublic com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener listener)
addShortcutListener in class com.vaadin.ui.AbstractComponentpublic void removeShortcutListener(com.vaadin.event.ShortcutListener listener)
removeShortcutListener in class com.vaadin.ui.AbstractComponentpublic void addActionHandler(com.vaadin.event.Action.Handler actionHandler)
addActionHandler in interface com.vaadin.event.Action.Containerpublic void removeActionHandler(com.vaadin.event.Action.Handler actionHandler)
removeActionHandler in interface com.vaadin.event.Action.Containerprotected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState getState()
getState in class com.vaadin.ui.TextFieldprotected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState getState(boolean markAsDirty)
getState in class com.vaadin.ui.TextFieldpublic void setReadOnlyFocusable(boolean readOnlyFocusable)
public boolean isReadOnlyFocusable()
public CaseConversion getCaseConversion()
public void setCaseConversion(CaseConversion caseConversion)
public void setHtmlName(java.lang.String htmlName)
public java.lang.String getHtmlName()