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.

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.

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>
  • Constructor Details

    • 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 Details

    • 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
    • getValue

      public List<CyRow> getValue()
      Get the list of rows
      Returns:
      the list of rows