Package com.inductiveautomation.snap.web
Class DataTableView
java.lang.Object
com.inductiveautomation.snap.web.DataTableView
- Direct Known Subclasses:
- SnapTableView
This class represents a fetch of a set of data table rows for a given query.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidAdds a row.protected QueryCreates the default query.getName()Returns the table view name.getQuery()Returns the query.getRows()Returns the list of rows for this table view.Returns the list of rows for this table view.getSite()Returns the data site.getTable()Returns the table.Returns the entity for the table file.booleanReturns whether rows for this table view have been set.voidrefresh()Clears existing objects from this table.protected voidRemoves a row.voidSets the table view name.voidSets the query.protected voidReturns the table.
- 
Constructor Details- 
DataTableViewpublic DataTableView()
 
- 
- 
Method Details- 
getSiteReturns the data site.
- 
getTableReturns the table.
- 
setTableReturns the table.
- 
getTableEntityReturns the entity for the table file.
- 
getNameReturns the table view name.
- 
setNameSets the table view name.
- 
getQueryReturns the query.
- 
setQuerySets the query.
- 
createQueryCreates the default query.
- 
isRowsSetpublic boolean isRowsSet()Returns whether rows for this table view have been set.
- 
getRowsReturns the list of rows for this table view.
- 
getRowsImplReturns the list of rows for this table view.
- 
addRowAdds a row.
- 
removeRowRemoves a row.
- 
refreshpublic void refresh()Clears existing objects from this table.
 
-