Class ColumnCreatedEvent

  • All Implemented Interfaces:
    CyEvent<CyTable>

    public final class ColumnCreatedEvent
    extends AbstractCyEvent<CyTable>
    This event signals that a column has been created.

    This should probably return the type parameter as well.


    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 Detail

      • ColumnCreatedEvent

        public ColumnCreatedEvent​(CyTable source,
                                  String columnName)
        Constructs event.
        Parameters:
        source - The table in which the column was created.
        columnName - The name of the column created.
    • Method Detail

      • getColumnName

        public String getColumnName()
        Returns the fully-qualified name of the column for this event.
        Returns:
        The name of the column for this event.
      • getNamespace

        public String getNamespace()
        Returns the namespace of the column, or null if the column does not have a namespace. Default columns created by Cytoscape do not have a namespace.
      • getNameOnly

        public String getNameOnly()
        Returns the name portion without the namespace.