Class SnapTableViewRep
- java.lang.Object
-
- com.inductiveautomation.snap.filedata.SnapTableViewRep
-
public class SnapTableViewRep extends java.lang.Object
A class to evaluate SnapTableView keys.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SnapTableViewRep.QueryRep
A 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 void
addRow()
Adds a row to table view.protected Entity
createEntity()
Returns the entity that describes the table view.Entity
getEntity()
Returns the entity that describes the table view.SnapTableViewRep.QueryRep
getQuery()
Returns the Query.java.util.List<SnapRow>
getRows()
Returns the TableView rows.SnapRow
getSelectedRow()
Returns the Selected row.void
removeRow()
Removes selected row from table view.void
setSelectedRow(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.
-
-