com.vaadin.data.


Interface Property.Viewer

All Superinterfaces:

Serializable

All Known Subinterfaces:

Field, Property.Editor

All Known Implementing Classes:

AbstractField, AbstractSelect, AbstractTextField, Button, CheckBox, ComboBox, DateField, Form, InlineDateField, Label, ListSelect, NativeButton, NativeSelect, OptionGroup, PasswordField, PopupDateField, ProgressIndicator, PropertyFormatter, RichTextArea, Select, Slider, Table, TextArea, TextField, Tree, TreeTable, TwinColSelect

Enclosing interface:

Property

public static interface Property.Viewer
extends Serializable

Interface implemented by the viewer classes capable of using a Property as a data source.

Since:

3.0

Version:

6.8.18

Author:

Vaadin Ltd.

Method Summary
 Property getPropertyDataSource()
          Gets the Property serving as the data source of the viewer.
 void setPropertyDataSource(Property newDataSource)
          Sets the Property that serves as the data source of the viewer.
 

Method Detail

setPropertyDataSource

void setPropertyDataSource(Property newDataSource)

Sets the Property that serves as the data source of the viewer.

Parameters:
newDataSource - the new data source Property

getPropertyDataSource

Property getPropertyDataSource()

Gets the Property serving as the data source of the viewer.

Returns:
the Property serving as the viewers data source