Package 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>
This event signals that rows have been set.
Note: SelectedNodesAndEdgesEvent
may be used instead if you just
want to be signaled about node and edge selection changes.
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: 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 Summary
ConstructorDescriptionRowsSetEvent(CyTable source, Collection<RowSetRecord> rows)
Constructs Event. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsColumn(String colName)
Returns true if any of the changed records' column name is colNamegetColumnRecords(String colName)
Returns all of theRowSetRecord
s whose specified column value is set.Returns a unmodifiable Set of the names of the columns that are contained in this event.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 Details
-
RowsSetEvent
Constructs Event.- Parameters:
source
- the table in which the rows have been set.rows
- the rows that have been set as a Collection of typeRowSetRecord
.
-
-
Method Details
-
containsColumn
Returns true if any of the changed records' column name is colName- Parameters:
colName
- Name of the column.- Returns:
-
getColumnRecords
Returns all of theRowSetRecord
s whose specified column value is set.- Parameters:
colName
- Name of the column.- Returns:
-
getColumns
Returns a unmodifiable Set of the names of the columns that are contained in this event.
-