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 Summary
Constructors -
Method Summary
Modifier 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
-
DataTableView
public DataTableView()
-
-
Method Details
-
getSite
Returns the data site. -
getTable
Returns the table. -
setTable
Returns the table. -
getTableEntity
Returns the entity for the table file. -
getName
Returns the table view name. -
setName
Sets the table view name. -
getQuery
Returns the query. -
setQuery
Sets the query. -
createQuery
Creates the default query. -
isRowsSet
public boolean isRowsSet()Returns whether rows for this table view have been set. -
getRows
Returns the list of rows for this table view. -
getRowsImpl
Returns the list of rows for this table view. -
addRow
Adds a row. -
removeRow
Removes a row. -
refresh
public void refresh()Clears existing objects from this table.
-