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 Summary
Constructors Constructor Description TableViewData()
-
Method Summary
All 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.SnapData
createBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setBytes, setSource
-
-
-
-
Method Detail
-
getTable
public SnapTable getTable()
Returns the table.
-
getTableImpl
protected SnapTable getTableImpl()
Returns the table.
-
setTable
public void setTable(SnapTable aTable)
Sets the table.
-
getTableView
public SnapTableView getTableView()
Returns the table view.
-
createTableView
protected SnapTableView createTableView()
Creates a table view from file bytes or scratch.
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent anEvent)
Catches changes to condition and properties.- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
updateFile
public void updateFile(WebFile aFile)
SnapFile.Updater method.- Specified by:
updateFilein interfaceWebFile.Updater
-
get
public static TableViewData get(WebFile aFile)
Returns the TableViewData for given file.
-
-