public class LspsTable extends UIComponent
element
Constructor and Description |
---|
LspsTable(VerticalLayoutElement element) |
Modifier and Type | Method and Description |
---|---|
LspsTableColumn |
findSortColumn()
If the table is sorted by a column, returns the column in question.
|
UIComponent |
getCell(int row,
int col)
Returns the cell component for given row and column.
|
LspsTableColumn |
getColumn(int column)
Returns the table column component.
|
String[] |
getColumnCaptions()
Returns the currently shown column captions.
|
int |
getColumnCount()
Returns the number of columns this table has.
|
Pager |
getPager()
Returns the pager for this table.
|
int |
getVisibleRowCount()
Returns the number of rows the table is currently showing.
|
String |
toString() |
as, findAll, getErrorMessage, getHint, getId, getModelingId, isValid, isVisible, toHTML, toInnerHTML
$, clickButton, contains, find, getDriver, waitForVaadin
public UIComponent getCell(int row, int col)
row
- the 0-based row index.col
- the 0-based column index.NoSuchElementException
- if either row or col is out of bounds (the table does not contain such cell).public LspsTableColumn getColumn(int column)
column
- the 0-based column index.NoSuchElementException
- if the column index is out of bounds (equal or higher than the getColumnCount()
)public int getColumnCount()
public int getVisibleRowCount()
public String toString()
toString
in class UIComponent
public LspsTableColumn findSortColumn()
public Pager getPager()
public String[] getColumnCaptions()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.