Package org.cytoscape.model.events
Class ColumnNameChangedEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<CyTable>
-
- org.cytoscape.model.events.ColumnNameChangedEvent
-
public final class ColumnNameChangedEvent extends AbstractCyEvent<CyTable>
This event signals that a columns name has been changed.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>
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.
-
-
Constructor Summary
Constructors Constructor Description ColumnNameChangedEvent(CyTable source, String oldColumnName, String newColumnName)
Constructs event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewColumnName()
Returns the new name of the column.String
getNewNameOnly()
Returns the name name portion without the namespace.String
getNewNamespace()
Returns the new namespace of the column, or null if the column does not have a namespace.String
getOldColumnName()
Returns the old name of the column.String
getOldNameOnly()
Returns the old name portion without the namespace.String
getOldNamespace()
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
-
-
-
-
Method Detail
-
getOldColumnName
public String getOldColumnName()
Returns the old name of the column.- Returns:
- the old name of the column
-
getOldNamespace
public String 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
public String getOldNameOnly()
Returns the old name portion without the namespace.
-
getNewColumnName
public String getNewColumnName()
Returns the new name of the column.- Returns:
- the new name of the column
-
getNewNamespace
public String 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
public String getNewNameOnly()
Returns the name name portion without the namespace.
-
-