Class TableViewData
- java.lang.Object
- 
- com.inductiveautomation.snap.filedata.SnapData
- 
- com.inductiveautomation.snap.filedata.TableViewData
 
 
- 
- All Implemented Interfaces:
- WebFile.Updater,- java.beans.PropertyChangeListener,- java.util.EventListener
 
 public class TableViewData extends SnapData implements java.beans.PropertyChangeListener, WebFile.Updater A file for managing table views.
- 
- 
Constructor SummaryConstructors Constructor Description TableViewData()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SnapTableViewcreateTableView()Creates a table view from file bytes or scratch.static TableViewDataget(WebFile aFile)Returns the TableViewData for given file.SnapTablegetTable()Returns the table.protected SnapTablegetTableImpl()Returns the table.SnapTableViewgetTableView()Returns the table view.voidpropertyChange(java.beans.PropertyChangeEvent anEvent)Catches changes to condition and properties.voidsetTable(SnapTable aTable)Sets the table.voidupdateFile(WebFile aFile)SnapFile.Updater method.- 
Methods inherited from class com.inductiveautomation.snap.filedata.SnapDatacreateBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setBytes, setSource
 
- 
 
- 
- 
- 
Method Detail- 
getTablepublic SnapTable getTable() Returns the table.
 - 
getTableImplprotected SnapTable getTableImpl() Returns the table.
 - 
setTablepublic void setTable(SnapTable aTable) Sets the table.
 - 
getTableViewpublic SnapTableView getTableView() Returns the table view.
 - 
createTableViewprotected SnapTableView createTableView() Creates a table view from file bytes or scratch.
 - 
propertyChangepublic void propertyChange(java.beans.PropertyChangeEvent anEvent) Catches changes to condition and properties.- Specified by:
- propertyChangein interface- java.beans.PropertyChangeListener
 
 - 
updateFilepublic void updateFile(WebFile aFile) SnapFile.Updater method.- Specified by:
- updateFilein interface- WebFile.Updater
 
 - 
getpublic static TableViewData get(WebFile aFile) Returns the TableViewData for given file.
 
- 
 
-