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
RowSetRecord s whose specified column value is set. |
Set<String> |
getColumns()
Returns a unmodifiable Set of the names of the columns that are contained in this event.
|
getPayloadCollection
getListenerClass, getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getListenerClass, getSource
public 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)
RowSetRecord
s whose specified column value is set.colName
- Name of the column.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.