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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

AbstractComponent()
Constructs a new Component.

Method

RegistrationaddListener(Class eventType, Object target, Method method)
Registers a new listener with the specified activation method to listen events generated by this component.
RegistrationaddShortcutListener(ShortcutListener shortcut)
voidaddStyleName(String style)
booleanequals(Object obj)
TfindAncestor(Class parentType)
Returns the closest ancestor with the given type.
ErrorMessagegetComponentError()
Gets the component's error message.
ObjectgetData()
Gets the application specific data.
StringgetDescription()
CollectiongetExtensions()
floatgetHeight()
StringgetId()
CollectiongetListeners(Class eventType)
Returns all listeners that are registered for the given event type or one of its subclasses.
UIgetUI()
Finds a UI ancestor of this connector.
floatgetWidth()
inthashCode()
voidmarkAsDirty()
voidremoveExtension(Extension extension)
voidremoveStyleName(String style)
voidsetCaption(String caption)
voidsetComponentError(ErrorMessage componentError)
Sets the component's error message.
voidsetData(Object data)
Sets the data object, that can be used for any application specific data.
voidsetDebugId(String id)
voidsetDescription(String description)
Sets the component's description.
voidsetEnabled(boolean enabled)
voidsetHeight(float height, Unit unit)
voidsetHeight(String height)
voidsetId(String id)
voidsetLocale(Locale locale)
Sets the locale of this component.
voidsetReadOnly(boolean readOnly)
Sets the read-only status in the state of this AbstractComponent .
voidsetSizeFull()
voidsetSizeUndefined()
voidsetStyleName(String style)
voidsetVisible(boolean visible)
voidsetWidth(String width)
voidsetWidth(float width, Unit unit)
voidsetWidthUndefined()