Package org.cytoscape.command.util
Class RowList
- java.lang.Object
-
- org.cytoscape.command.util.RowList
-
public class RowList extends Object
This class implements a wrapper for a List of table rows that can be used by the Tunables mechanism. Currently, it is only implemented by command tunables so it will be ignored in GUI (Swing) contexts.Module:
command-executor-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>command-executor-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CyTable
getTable()
Get the table for this rowlistList<CyRow>
getValue()
Get the list of rowsvoid
setTable(CyTable table)
Set the table for this rowlistvoid
setValue(List<CyRow> rowList)
Set the list of rows
-
-
-
Constructor Detail
-
RowList
public RowList()
Create a new RowList object with no initial table
-
RowList
public RowList(CyTable targetTable)
Create a new RowList object with an initial table- Parameters:
targetTable
- the table this rowlist will be in
-
-
Method Detail
-
setTable
public void setTable(CyTable table)
Set the table for this rowlist- Parameters:
table
- the table for this rowlist
-
getTable
public CyTable getTable()
Get the table for this rowlist- Returns:
- the table we're looking through
-
setValue
public void setValue(List<CyRow> rowList)
Set the list of rows- Parameters:
rowList
- the list of rows
-
-