com.vaadin.data.


Interface Container.Viewer

All Superinterfaces:

Serializable

All Known Subinterfaces:

Container.Editor

All Known Implementing Classes:

AbstractSelect, ComboBox, ListSelect, NativeSelect, OptionGroup, Select, Table, Tree, TreeTable, TwinColSelect

Enclosing interface:

Container

public static interface Container.Viewer
extends Serializable

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

Method Summary
 Container getContainerDataSource()
          Gets the Container serving as the data source of the viewer.
 void setContainerDataSource(Container newDataSource)
          Sets the Container that serves as the data source of the viewer.
 

Method Detail

setContainerDataSource

void setContainerDataSource(Container newDataSource)

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

Parameters:
newDataSource - The new data source Item

getContainerDataSource

Container getContainerDataSource()

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

Returns:
data source Container