public final class RowsSetEvent extends AbstractCyPayloadEvent<CyTable,RowSetRecord>
Module: model-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-api</artifactId>
</dependency>| Constructor and Description |
|---|
RowsSetEvent(CyTable source,
Collection<RowSetRecord> rows)
Constructs Event.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
getPayloadCollectiongetListenerClass, getSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetListenerClass, getSourcepublic RowsSetEvent(CyTable source, Collection<RowSetRecord> rows)
source - the table in which the rows have been set.rows - the rows that have been set as a Collection of type RowSetRecord.public boolean containsColumn(String colName)
colName - Name of the column.public Collection<RowSetRecord> getColumnRecords(String colName)
RowSetRecords whose specified column value is set.colName - Name of the column.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.