public class CubaTextField
extends com.vaadin.ui.TextField
implements com.vaadin.event.Action.Container, com.vaadin.ui.LegacyComponent
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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
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, setValueChangeTimeout
addValueChangeListener, createValueChange, focus, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValue
addContextClickListener, 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, setWidthUndefined
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, 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, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected com.vaadin.event.ActionManager shortcutsManager
public void paintContent(com.vaadin.server.PaintTarget target) throws com.vaadin.server.PaintException
paintContent
in interface com.vaadin.ui.LegacyComponent
com.vaadin.server.PaintException
protected com.vaadin.event.ActionManager getActionManager()
getActionManager
in class com.vaadin.ui.AbstractComponent
public void changeVariables(java.lang.Object source, java.util.Map<java.lang.String,java.lang.Object> variables)
changeVariables
in interface com.vaadin.server.VariableOwner
public com.vaadin.shared.Registration addShortcutListener(com.vaadin.event.ShortcutListener listener)
addShortcutListener
in class com.vaadin.ui.AbstractComponent
public void removeShortcutListener(com.vaadin.event.ShortcutListener listener)
removeShortcutListener
in class com.vaadin.ui.AbstractComponent
public void addActionHandler(com.vaadin.event.Action.Handler actionHandler)
addActionHandler
in interface com.vaadin.event.Action.Container
public void removeActionHandler(com.vaadin.event.Action.Handler actionHandler)
removeActionHandler
in interface com.vaadin.event.Action.Container
protected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState getState()
getState
in class com.vaadin.ui.TextField
protected com.haulmont.cuba.web.widgets.client.textfield.CubaTextFieldState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.TextField
public 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()