org.cytoscape.model.events
Class ColumnNameChangedEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<CyTable>
org.cytoscape.model.events.ColumnNameChangedEvent
- All Implemented Interfaces:
- CyEvent<CyTable>
public final class ColumnNameChangedEvent
- extends AbstractCyEvent<CyTable>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnNameChangedEvent
public ColumnNameChangedEvent(CyTable source,
String oldColumnName,
String newColumnName)
- 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.
getOldColumnName
public String getOldColumnName()
- Returns the old name of the column.
- Returns:
- the old name of the column
getNewColumnName
public String getNewColumnName()
- Returns the new name of the column.
- Returns:
- the new name of the column
Copyright 2011 Cytoscape Consortium. All rights reserved.