Package org.cytoscape.model.events
Class ColumnNameChangedEvent
This event signals that a columns name has been changed.
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
ConstructorDescriptionColumnNameChangedEvent
(CyTable source, String oldColumnName, String newColumnName) Constructs event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the new name of the column.Returns the name name portion without the namespace.Returns the new namespace of the column, or null if the column does not have a namespace.Returns the old name of the column.Returns the old name portion without the namespace.Returns the old namespace of the column, or null if the column did not have a namespace.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
ColumnNameChangedEvent
Constructs event.- Parameters:
source
- the source table of the column.oldColumnName
- the columns old name before the change.newColumnName
- the name the column name was changed to.
-
-
Method Details
-
getOldColumnName
Returns the old name of the column.- Returns:
- the old name of the column
-
getOldNamespace
Returns the old namespace of the column, or null if the column did not have a namespace. Default columns created by Cytoscape do not have a namespace. -
getOldNameOnly
Returns the old name portion without the namespace. -
getNewColumnName
Returns the new name of the column.- Returns:
- the new name of the column
-
getNewNamespace
Returns the new namespace of the column, or null if the column does not have a namespace. Default columns created by Cytoscape do not have a namespace. -
getNewNameOnly
Returns the name name portion without the namespace.
-