public class TableViewData extends SnapData implements java.beans.PropertyChangeListener, WebFile.Updater
| Constructor and Description |
|---|
TableViewData() |
| Modifier and Type | Method and 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.
|
createBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setBytes, setSourcepublic SnapTable getTable()
protected SnapTable getTableImpl()
public void setTable(SnapTable aTable)
public SnapTableView getTableView()
protected SnapTableView createTableView()
public void propertyChange(java.beans.PropertyChangeEvent anEvent)
propertyChange in interface java.beans.PropertyChangeListenerpublic void updateFile(WebFile aFile)
updateFile in interface WebFile.Updaterpublic static TableViewData get(WebFile aFile)