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 SummaryConstructors
- 
Method SummaryModifier 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- 
DataTablepublic DataTable()
 
- 
- 
Method Details- 
getSiteReturns the data site for this table.
- 
setSiteReturns the data site for this table.
- 
getNameReturns the table name.
- 
getEntityReturns the entity for this table.
- 
setEntitySets the entity.
- 
getTableViewReturns the default view for this table.
- 
getTableViewsReturns the known table views.
- 
getTableViewReturns a named table view.
- 
getTableViewReturns a named table view.
- 
createTableViewCreates a new table view.
- 
getLocalRowReturns a local row for a primary value.
- 
addLocalRowAdds a local row.
- 
removeLocalRowRemoves a local row.
- 
refreshpublic void refresh()Clears existing objects from this table.
 
-