Class SnapTableViewRep
- java.lang.Object
-
- com.inductiveautomation.snap.filedata.SnapTableViewRep
-
public class SnapTableViewRep extends java.lang.ObjectA class to evaluate SnapTableView keys.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSnapTableViewRep.QueryRepA class to get/set "Query." keys.
-
Constructor Summary
Constructors Constructor Description SnapTableViewRep(SnapTableView aTableView)Creates a SnapTableViewRep.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRow()Adds a row to table view.protected EntitycreateEntity()Returns the entity that describes the table view.EntitygetEntity()Returns the entity that describes the table view.SnapTableViewRep.QueryRepgetQuery()Returns the Query.java.util.List<SnapRow>getRows()Returns the TableView rows.SnapRowgetSelectedRow()Returns the Selected row.voidremoveRow()Removes selected row from table view.voidsetSelectedRow(SnapRow aRow)Sets the Selected row.
-
-
-
Constructor Detail
-
SnapTableViewRep
public SnapTableViewRep(SnapTableView aTableView)
Creates a SnapTableViewRep.
-
-
Method Detail
-
getRows
public java.util.List<SnapRow> getRows()
Returns the TableView rows.
-
getSelectedRow
public SnapRow getSelectedRow()
Returns the Selected row.
-
setSelectedRow
public void setSelectedRow(SnapRow aRow)
Sets the Selected row.
-
getQuery
public SnapTableViewRep.QueryRep getQuery()
Returns the Query.
-
addRow
public void addRow()
Adds a row to table view.
-
removeRow
public void removeRow()
Removes selected row from table view.
-
getEntity
public Entity getEntity()
Returns the entity that describes the table view.
-
createEntity
protected Entity createEntity()
Returns the entity that describes the table view.
-
-