Example usage for Java com.vaadin.v7.ui Table fields, constructors, methods, implement or subclass
The text is from its open source code.
Table() Creates a new empty table. | |
Table(String caption) Creates a new empty table with caption. | |
Table(String caption, Container dataSource) Creates a new table with caption and connect it to a Container. |
void | addGeneratedColumn(Object id, ColumnGenerator generatedColumn) Adds a generated column to the Table. |
void | addItemClickListener(ItemClickListener listener) |
Container | getContainerDataSource() Gets the viewing data-source container. |
Item | getItem(Object itemId) Gets the item from the container with given id. |
Object[] | getVisibleColumns() Gets the array of visible column id:s, including generated columns. |
void | setColumnExpandRatio(Object propertyId, float expandRatio) Sets the column expand ratio for given column. |
void | setColumnHeader(Object propertyId, String header) Sets the column header for the specified column. |
void | setColumnWidth(Object propertyId, int width) Sets columns width (in pixels). |
void | setContainerDataSource(Container newDataSource) Sets the Container that serves as the data source of the viewer. |
void | setContainerDataSource(Container newDataSource, Collection> visibleIds) Sets the container data source and the columns that will be visible. |
void | setEditable(boolean editable) Sets the editable property. |
void | setSelectable(boolean selectable) Setter for property selectable. |
void | setSizeFull() Sets the size to 100% x 100%. |