Java com.vaadin.ui AbstractField fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui AbstractField fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui AbstractField.

The text is from its open source code.

Subclass

com.vaadin.ui.AbstractField has subclasses.
Click this link to see all its subclasses.

Method

RegistrationaddListener(Component.Listener listener)
RegistrationaddShortcutListener(ShortcutListener shortcut)
voidaddStyleName(String style)
RegistrationaddValueChangeListener(ValueChangeListener listener)
booleanequals(Object obj)
voidfocus()
StringgetCaption()
ErrorMessagegetComponentError()
Gets the component's error message.
ObjectgetData()
Gets the application specific data.
ErrorMessagegetErrorMessage()
Gets the error message for this component.
StringgetId()
CollectiongetListeners(Class eventType)
Returns all listeners that are registered for the given event type or one of its subclasses.
HasComponentsgetParent()
VgetValue()
Returns the current value of this object.
booleanisEmpty()
Returns whether this HasValue is considered to be empty.
booleanisReadOnly()
voidsetCaption(String caption)
voidsetComponentError(ErrorMessage componentError)
Sets the component's error message.
voidsetDescription(String description)
Sets the component's description.
voidsetEnabled(boolean enabled)
voidsetErrorHandler(ErrorHandler errorHandler)
voidsetId(String id)
voidsetLocale(Locale locale)
Sets the locale of this component.
voidsetReadOnly(boolean readOnly)

The server ignores (potentially forged) value change requests from the client to fields that are read-only.

voidsetSizeFull()
voidsetTabIndex(int tabIndex)
voidsetValue(T value)
voidsetVisible(boolean visible)
voidsetWidth(String width)
voidsetWidth(float width, Unit unit)