Cytoscape 3.0.1 API

org.cytoscape.model.events
Class RowsSetEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<T>
      extended by org.cytoscape.event.AbstractCyPayloadEvent<CyTable,RowSetRecord>
          extended by org.cytoscape.model.events.RowsSetEvent
All Implemented Interfaces:
CyEvent<CyTable>, CyPayloadEvent<CyTable,RowSetRecord>

public final class RowsSetEvent
extends AbstractCyPayloadEvent<CyTable,RowSetRecord>

This event signals that rows have been set.


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.

Constructor Summary
RowsSetEvent(CyTable source, Collection<RowSetRecord> rows)
          Constructs Event.
 
Method Summary
 boolean containsColumn(String colName)
          Returns true if any of the changed records' column name is colName
 Collection<RowSetRecord> getColumnRecords(String colName)
          Returns all of the RowSetRecords whose specified column value is set.
 
Methods inherited from class org.cytoscape.event.AbstractCyPayloadEvent
getPayloadCollection
 
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cytoscape.event.CyEvent
getListenerClass, getSource
 

Constructor Detail

RowsSetEvent

public RowsSetEvent(CyTable source,
                    Collection<RowSetRecord> rows)
Constructs Event.

Parameters:
source - the table in which the rows have been set.
rows - the rows that have been set as a Collection of type RowSetRecord.
Method Detail

containsColumn

public boolean containsColumn(String colName)
Returns true if any of the changed records' column name is colName

Parameters:
colName - Name of the column.
Returns:

getColumnRecords

public Collection<RowSetRecord> getColumnRecords(String colName)
Returns all of the RowSetRecords whose specified column value is set.

Parameters:
colName - Name of the column.
Returns:

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.