Example usage for Java com.vaadin.ui AbstractField fields, constructors, methods, implement or subclass
The text is from its open source code.
Registration | addListener(Component.Listener listener) |
Registration | addShortcutListener(ShortcutListener shortcut) |
void | addStyleName(String style) |
Registration | addValueChangeListener(ValueChangeListener |
boolean | equals(Object obj) |
void | focus() |
String | getCaption() |
ErrorMessage | getComponentError() Gets the component's error message. |
Object | getData() Gets the application specific data. |
ErrorMessage | getErrorMessage() Gets the error message for this component. |
String | getId() |
Collection> | getListeners(Class> eventType) Returns all listeners that are registered for the given event type or one of its subclasses. |
HasComponents | getParent() |
V | getValue() Returns the current value of this object. |
boolean | isEmpty() Returns whether this HasValue is considered to be empty. |
boolean | isReadOnly() |
void | setCaption(String caption) |
void | setComponentError(ErrorMessage componentError) Sets the component's error message. |
void | setDescription(String description) Sets the component's description. |
void | setEnabled(boolean enabled) |
void | setErrorHandler(ErrorHandler errorHandler) |
void | setId(String id) |
void | setLocale(Locale locale) Sets the locale of this component. |
void | setReadOnly(boolean readOnly) The server ignores (potentially forged) value change requests from the client to fields that are read-only. |
void | setSizeFull() |
void | setTabIndex(int tabIndex) |
void | setValue(T value) |
void | setVisible(boolean visible) |
void | setWidth(String width) |
void | setWidth(float width, Unit unit) |