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 void
Adds a row.protected Query
Creates 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.boolean
Returns whether rows for this table view have been set.void
refresh()
Clears existing objects from this table.protected void
Removes a row.void
Sets the table view name.void
Sets the query.protected void
Returns 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.
-