| Package | Description |
|---|---|
| com.vaadin.data |
Contains interfaces for the data layer, mainly for binding typed
data and data collections to components, and for validating data.
|
| com.vaadin.data.fieldgroup | |
| com.vaadin.data.util |
Provides implementations of Property, Item and Container
interfaces, and utilities for the data layer.
|
| com.vaadin.data.util.sqlcontainer | |
| com.vaadin.ui |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Property.Transactional<T>
A Property that is capable of handle a transaction that can end in commit
or rollback.
|
| Modifier and Type | Method and Description |
|---|---|
Property |
Container.getContainerProperty(Object itemId,
Object propertyId)
Gets the Property identified by the given itemId and propertyId from the
Container.
|
Property |
Item.getItemProperty(Object id)
Gets the Property corresponding to the given Property ID stored in the
Item.
|
Property |
Property.ValueChangeEvent.getProperty()
Retrieves the Property that has been modified.
|
Property |
Property.ReadOnlyStatusChangeEvent.getProperty()
Property whose read-only state has changed.
|
Property |
Property.Viewer.getPropertyDataSource()
Gets the Property serving as the data source of the viewer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Item.addItemProperty(Object id,
Property property)
Tries to add a new Property into the Item.
|
void |
Property.Viewer.setPropertyDataSource(Property newDataSource)
Sets the Property that serves as the data source of the viewer.
|
| Modifier and Type | Method and Description |
|---|---|
protected Property |
FieldGroup.getItemProperty(Object propertyId)
Gets the property with the given property id from the item.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> Property.Transactional<T> |
FieldGroup.wrapInTransactionalProperty(Property<T> itemProperty)
Wrap property to transactional property.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProperty<T>
Abstract base class for
Property implementations. |
protected static class |
GeneratedPropertyContainer.GeneratedProperty<T>
Property implementation for generated properties
|
class |
MethodProperty<T>
Proxy class for creating Properties from pairs of getter and setter methods
of a Bean property.
|
class |
NestedMethodProperty<T>
Nested accessor based property for a bean.
|
class |
ObjectProperty<T>
A simple data object containing one typed value.
|
class |
PropertyFormatter<T>
Deprecated.
As of 7.0, replaced by
Converter |
class |
TextFileProperty
Property implementation for wrapping a text file.
|
class |
TransactionalPropertyWrapper<T>
Wrapper class that helps implement two-phase commit for a non-transactional
property.
|
| Modifier and Type | Method and Description |
|---|---|
Property<?> |
NestedPropertyDescriptor.createProperty(BT bean) |
Property<?> |
VaadinPropertyDescriptor.createProperty(BT bean)
Creates a new
Property instance for this property for a bean. |
Property<?> |
MethodPropertyDescriptor.createProperty(Object bean) |
Property |
FilesystemContainer.getContainerProperty(Object itemId,
Object propertyId)
Gets the specified property of the specified file Item.
|
Property |
IndexedContainer.getContainerProperty(Object itemId,
Object propertyId) |
Property |
AbstractBeanContainer.getContainerProperty(Object itemId,
Object propertyId) |
Property |
ContainerOrderedWrapper.getContainerProperty(Object itemId,
Object propertyId) |
Property<?> |
GeneratedPropertyContainer.getContainerProperty(Object itemId,
Object propertyId) |
Property |
ContainerHierarchicalWrapper.getContainerProperty(Object itemId,
Object propertyId) |
Property |
FilesystemContainer.FileItem.getItemProperty(Object id) |
Property |
PropertysetItem.getItemProperty(Object id)
Gets the Property corresponding to the given Property ID stored in the
Item.
|
Property |
GeneratedPropertyContainer.GeneratedPropertyItem.getItemProperty(Object id) |
Property |
MethodProperty.MethodException.getProperty()
Gets the method property this exception originates from.
|
Property |
AbstractProperty.ReadOnlyStatusChangeEvent.getProperty()
Gets the Property whose read-only state has changed.
|
Property<T> |
PropertyFormatter.getPropertyDataSource()
Deprecated.
Gets the current data source of the formatter, if any.
|
Property<T> |
TransactionalPropertyWrapper.getWrappedProperty() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FilesystemContainer.FileItem.addItemProperty(Object id,
Property property)
Filesystem container does not support adding new properties.
|
boolean |
PropertysetItem.addItemProperty(Object id,
Property property)
Tries to add a new Property into the Item.
|
boolean |
GeneratedPropertyContainer.GeneratedPropertyItem.addItemProperty(Object id,
Property property) |
static String |
LegacyPropertyHelper.legacyPropertyToString(Property p)
Deprecated.
Returns the property value converted to a String.
|
static void |
LegacyPropertyHelper.maybeLogLegacyPropertyToStringWarning(Property p)
Deprecated.
|
void |
PropertyFormatter.setPropertyDataSource(Property newDataSource)
Deprecated.
Sets the specified Property as the data source for the formatter.
|
| Constructor and Description |
|---|
MethodException(Property property,
String msg)
Constructs a new
MethodException with the specified
detail message. |
MethodException(Property property,
Throwable cause)
Constructs a new
MethodException from another exception. |
PropertyFormatter(Property<T> propertyDataSource)
Deprecated.
Construct a new formatter that is connected to given data source.
|
ReadOnlyStatusChangeEvent(Property source)
Constructs a new read-only status change event for this object.
|
TransactionalPropertyWrapper(Property<T> wrappedProperty) |
| Modifier and Type | Class and Description |
|---|---|
class |
ColumnProperty
ColumnProperty represents the value of one column in a RowItem.
|
| Modifier and Type | Method and Description |
|---|---|
Property |
SQLContainer.getContainerProperty(Object itemId,
Object propertyId) |
Property |
RowItem.getItemProperty(Object id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RowItem.addItemProperty(Object id,
Property property)
Adding properties is not supported.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Field<T>
Field interface is implemented by all classes (field components) that have a
value that the user can change through the user interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractField<T>
Abstract field component for implementing buffered property editors.
|
class |
AbstractSelect
A class representing a selection of items the user has selected in a UI.
|
class |
AbstractTextField |
class |
CheckBox |
class |
ComboBox
A filtering dropdown single-select.
|
class |
CustomField<T>
A
Field whose UI content can be constructed by the user, enabling the
creation of e.g. |
class |
DateField
A date editor component that can be bound to any
Property that is
compatible with java.util.Date. |
class |
Form
Deprecated.
As of 7.0, use
FieldGroup instead of Form for
more flexibility. |
class |
InlineDateField
A date entry component, which displays the actual date selector inline.
|
class |
Label
Label component for showing non-editable short texts.
|
class |
ListSelect
This is a simple list select without, for instance, support for new items,
lazyloading, and other advanced features.
|
class |
NativeSelect
This is a simple drop-down select without, for instance, support for
multiselect, new items, lazyloading, and other advanced features.
|
class |
OptionGroup
Configures select to be used as an option group.
|
class |
PasswordField
A field that is used to enter secret text information like passwords.
|
class |
PopupDateField
A date entry component, which displays the actual date selector as a popup.
|
class |
ProgressBar
Shows the current progress of a long running task.
|
class |
ProgressIndicator
Deprecated.
as of 7.1, use
ProgressBar combined with
UI#setPushMode(PushMode) or
UI.setPollInterval(int) instead. |
class |
RichTextArea
A simple RichTextArea to edit HTML format text.
|
class |
Select
Deprecated.
As of 7.0. Use
ComboBox instead. |
class |
Slider
A component for selecting a numerical value within a range.
|
class |
Table
Table is used for representing data or components in a pageable
and selectable table. |
class |
TextArea
A text field that supports multi line editing.
|
class |
TextField
A text editor component that can be bound to any bindable Property.
|
class |
Tree
Tree component.
|
class |
TreeTable
|
class |
TwinColSelect
Multiselect component with two lists: left side for available items and right
side for selected items.
|
| Modifier and Type | Method and Description |
|---|---|
Property |
AbstractSelect.getContainerProperty(Object itemId,
Object propertyId)
Gets the Property identified by the given itemId and propertyId from the
Container
|
Property |
Form.getItemProperty(Object id)
Deprecated.
The property identified by the property id.
|
Property<?> |
Grid.CellReference.getProperty() |
Property |
Field.ValueChangeEvent.getProperty()
Gets the Property which triggered the event.
|
Property |
Label.ValueChangeEvent.getProperty()
Gets the Property that has been modified.
|
Property |
AbstractField.ReadOnlyStatusChangeEvent.getProperty()
Property where the event occurred.
|
Property |
Label.getPropertyDataSource()
Gets the viewing data-source property.
|
Property |
AbstractField.getPropertyDataSource()
Gets the current data source of the field, if any.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Form.addItemProperty(Object id,
Property property)
Deprecated.
Adds a new property to form and create corresponding field.
|
protected void |
Table.bindPropertyToField(Object rowId,
Object colId,
Property property,
Field field)
Binds an item property to a field generated by TableFieldFactory.
|
protected void |
Form.bindPropertyToField(Object propertyId,
Property property,
Field field)
Deprecated.
Binds an item property to a field.
|
protected String |
Table.formatPropertyValue(Object rowId,
Object colId,
Property<?> property)
Formats table cell property values.
|
protected Object |
Table.getPropertyValue(Object rowId,
Object colId,
Property property)
Gets the value of property.
|
void |
Label.setPropertyDataSource(Property newDataSource)
Sets the property as data-source for viewing.
|
void |
AbstractField.setPropertyDataSource(Property newDataSource)
Sets the specified Property as the data source for the field.
|
| Constructor and Description |
|---|
CheckBox(String caption,
Property<?> dataSource)
Creates a new checkbox that is connected to a boolean property.
|
DateField(Property dataSource)
Constructs a new
DateField that's bound to the specified
Property and has no caption. |
DateField(String caption,
Property dataSource)
Constructs a new
DateField that's bound to the specified
Property and has the given caption String. |
InlineDateField(Property dataSource) |
InlineDateField(String caption,
Property dataSource) |
Label(Property contentSource)
Creates a new instance of Label with text-contents read from given
datasource.
|
Label(Property contentSource,
ContentMode contentMode)
Creates a new instance of Label with text-contents read from given
datasource.
|
PasswordField(Property dataSource)
Constructs a PasswordField with given property data source.
|
PasswordField(String caption,
Property dataSource)
Constructs a PasswordField with given caption and property data source.
|
PopupDateField(Property dataSource) |
PopupDateField(String caption,
Property dataSource) |
ProgressBar(Property<?> dataSource)
Creates a new progress bar bound to the given data source.
|
ProgressIndicator(Property contentSource)
Deprecated.
Creates a new instance of ProgressIndicator with state read from the
given datasource.
|
RichTextArea(Property dataSource)
Constructs a new
RichTextArea that's bound to the specified
Property and has no caption. |
RichTextArea(String caption,
Property dataSource)
Constructs a new
RichTextArea that's bound to the specified
Property and has the given caption. |
TextArea(Property dataSource)
Constructs a TextArea with given property data source.
|
TextArea(String caption,
Property dataSource)
Constructs a TextArea with given caption and property data source.
|
TextField(Property dataSource)
Constructs a new
TextField that's bound to the specified
Property and has no caption. |
TextField(String caption,
Property dataSource)
Constructs a new
TextField that's bound to the specified
Property and has the given caption String. |
Copyright © 2016 Vaadin Ltd. All rights reserved.