Cytoscape 3.0.0-beta1 API

org.cytoscape.model.events
Class ColumnNameChangedEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<CyTable>
      extended by 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.

Constructor Summary
ColumnNameChangedEvent(CyTable source, String oldColumnName, String newColumnName)
          Constructs event.
 
Method Summary
 String getNewColumnName()
          Returns the new name of the column.
 String getOldColumnName()
          Returns the old name of the column.
 
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
 

Constructor Detail

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.
Method Detail

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

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.