Package | Description |
---|---|
com.vaadin.data.fieldgroup | |
com.vaadin.ui |
Modifier and Type | Method and Description |
---|---|
protected <T extends Field> |
FieldGroup.build(String caption,
Class<?> dataType,
Class<T> fieldType)
Creates a field based on the given data type.
|
<T extends Field> |
BeanFieldGroup.buildAndBind(String caption,
Object propertyId,
Class<T> fieldType) |
<T extends Field> |
FieldGroup.buildAndBind(String caption,
Object propertyId,
Class<T> fieldType)
Builds a field using the given caption and binds it to the given property
id using the field binder.
|
protected <T extends Field> |
DefaultFieldGroupFieldFactory.createBooleanField(Class<T> fieldType) |
protected <T extends Field> |
DefaultFieldGroupFieldFactory.createDefaultField(Class<?> type,
Class<T> fieldType)
Fallback when no specific field has been created.
|
<T extends Field> |
FieldGroupFieldFactory.createField(Class<?> dataType,
Class<T> fieldType)
Creates a field based on the data type that we want to edit
|
<T extends Field> |
DefaultFieldGroupFieldFactory.createField(Class<?> type,
Class<T> fieldType) |
Modifier and Type | Method and Description |
---|---|
Field<?> |
FieldGroup.buildAndBind(Object propertyId)
Builds a field and binds it to the given property id using the field
binder.
|
Field<?> |
FieldGroup.buildAndBind(String caption,
Object propertyId)
Builds a field using the given caption and binds it to the given property
id using the field binder.
|
Field<?> |
FieldGroup.getField(Object propertyId)
Returns the field that is bound to the given property id
|
Modifier and Type | Method and Description |
---|---|
Collection<Field<?>> |
FieldGroup.getFields()
Returns a collection of all fields that have been bound.
|
Map<Field<?>,Validator.InvalidValueException> |
FieldGroup.FieldGroupInvalidValueException.getInvalidFields()
Returns a map containing fields which failed validation and the
exceptions the corresponding validators threw.
|
Map<Field<?>,Validator.InvalidValueException> |
FieldGroup.CommitException.getInvalidFields()
Returns a map containing the fields which failed validation and the
exceptions the corresponding validators threw.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldGroup.bind(Field<?> field,
Object propertyId)
Binds the field with the given propertyId from the current item.
|
void |
BeanFieldGroup.bind(Field field,
Object propertyId) |
protected void |
BeanFieldGroup.configureField(Field<?> field) |
protected void |
FieldGroup.configureField(Field<?> field)
Configures a field with the settings set for this FieldBinder.
|
Object |
FieldGroup.getPropertyId(Field<?> field)
Returns the property id that is bound to the given field
|
void |
BeanFieldGroup.unbind(Field<?> field) |
void |
FieldGroup.unbind(Field<?> field)
Detaches the field from its property id and removes it from this
FieldBinder.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultFieldGroupFieldFactory.anySelect(Class<? extends Field> fieldType) |
Constructor and Description |
---|
FieldGroupInvalidValueException(Map<Field<?>,Validator.InvalidValueException> invalidValueExceptions)
Constructs a new exception with the specified validation exceptions.
|
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 |
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 |
---|---|
<T extends Field> |
Grid.EditorFieldFactory.createField(Class<?> type,
Class<T> fieldType) |
Modifier and Type | Method and Description |
---|---|
Field |
DefaultFieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext) |
Field<?> |
TableFieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
Creates a field based on the Container, item id, property id and the
component responsible for displaying the field (most commonly
Table ). |
Field<?> |
DefaultFieldFactory.createField(Item item,
Object propertyId,
Component uiContext) |
Field<?> |
FormFieldFactory.createField(Item item,
Object propertyId,
Component uiContext)
Deprecated.
Creates a field based on the item, property id and the component (most
commonly
Form ) where the Field will be presented. |
static Field<?> |
DefaultFieldFactory.createFieldByPropertyType(Class<?> type)
Creates fields based on the property type.
|
Field<?> |
Grid.Column.getEditorField()
Returns the editor field used to edit the properties in this column
when the item editor is active.
|
Field |
Form.getField(Object propertyId)
Deprecated.
Gets the field identified by the propertyid.
|
Modifier and Type | Method and Description |
---|---|
void |
Form.addField(Object propertyId,
Field<?> field)
Deprecated.
Registers the field with the form and adds the field to the form layout.
|
protected void |
Form.attachField(Object propertyId,
Field field)
Deprecated.
Adds the field to the form layout.
|
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 void |
Form.detachField(Field field)
Deprecated.
Called when a form field is detached from a Form.
|
Grid.Column |
Grid.Column.setEditorField(Field<?> editor)
Sets the field component used to edit the properties in this column
when the item editor is active.
|
Constructor and Description |
---|
ValueChangeEvent(Field source)
Constructs a new event object with the specified source field object.
|
Copyright © 2016 Vaadin Ltd. All rights reserved.