Package com.inductiveautomation.snap.web
Class DataTable
java.lang.Object
com.inductiveautomation.snap.web.DataTable
- Direct Known Subclasses:
SnapTable
A class to front for a table of data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLocalRow(Row aRow) Adds a local row.protected DataTableViewCreates a new table view.Returns the entity for this table.getLocalRow(Object aPrimaryValue) Returns a local row for a primary value.getName()Returns the table name.getSite()Returns the data site for this table.Returns the default view for this table.getTableView(String aName) Returns a named table view.getTableView(String aName, boolean doCreate) Returns a named table view.Returns the known table views.voidrefresh()Clears existing objects from this table.protected voidremoveLocalRow(Row aRow) Removes a local row.protected voidSets the entity.protected voidReturns the data site for this table.
-
Constructor Details
-
DataTable
public DataTable()
-
-
Method Details
-
getSite
Returns the data site for this table. -
setSite
Returns the data site for this table. -
getName
Returns the table name. -
getEntity
Returns the entity for this table. -
setEntity
Sets the entity. -
getTableView
Returns the default view for this table. -
getTableViews
Returns the known table views. -
getTableView
Returns a named table view. -
getTableView
Returns a named table view. -
createTableView
Creates a new table view. -
getLocalRow
Returns a local row for a primary value. -
addLocalRow
Adds a local row. -
removeLocalRow
Removes a local row. -
refresh
public void refresh()Clears existing objects from this table.
-