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 SnapTableView
createTableView()
Creates a table view from file bytes or scratch.static TableViewData
get(WebFile aFile)
Returns the TableViewData for given file.SnapTable
getTable()
Returns the table.protected SnapTable
getTableImpl()
Returns the table.SnapTableView
getTableView()
Returns the table view.void
propertyChange(java.beans.PropertyChangeEvent anEvent)
Catches changes to condition and properties.void
setTable(SnapTable aTable)
Sets the table.void
updateFile(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:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
updateFile
public void updateFile(WebFile aFile)
SnapFile.Updater method.- Specified by:
updateFile
in interfaceWebFile.Updater
-
get
public static TableViewData get(WebFile aFile)
Returns the TableViewData for given file.
-
-