org.cytoscape.model.events
Class RowsSetEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<T>
org.cytoscape.event.AbstractCyPayloadEvent<CyTable,RowSetRecord>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
.
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
RowSetRecord
s whose specified column value is set.
- Parameters:
colName
- Name of the column.
- Returns:
Copyright 2011 Cytoscape Consortium. All rights reserved.