Cytoscape 3.0.1 API

Class AbstractCyEvent<T>

  extended by org.cytoscape.event.AbstractCyEvent<T>
Type Parameters:
T - the generic type of the AbstractCyEvent.
All Implemented Interfaces:
Direct Known Subclasses:
AboutToRemoveEdgesEvent, AboutToRemoveNodesEvent, AbstractCyPayloadEvent, ColumnCreatedEvent, ColumnDeletedEvent, ColumnNameChangedEvent, CyShutdownEvent, CyStartEvent, CytoPanelComponentSelectedEvent, CytoPanelStateChangedEvent, DataImportFinishedEvent, FitContentEvent, FitSelectedEvent, GroupAboutToBeDestroyedEvent, GroupAboutToBeRemovedEvent, GroupAboutToCollapseEvent, GroupAddedEvent, GroupAddedToNetworkEvent, GroupCollapsedEvent, GroupEdgesAddedEvent, GroupEdgesRemovedEvent, GroupNodesAddedEvent, GroupNodesRemovedEvent, LexiconStateChangedEvent, NetworkAboutToBeDestroyedEvent, NetworkAddedEvent, NetworkDestroyedEvent, NetworkViewAboutToBeDestroyedEvent, NetworkViewAddedEvent, NetworkViewDestroyedEvent, PreferencesUpdatedEvent, PropertyUpdatedEvent, RemovedEdgesEvent, RemovedNodesEvent, RenderingEngineAboutToBeRemovedEvent, RenderingEngineAddedEvent, SearchFinishedEvent, SessionAboutToBeSavedEvent, SessionLoadedEvent, SessionSavedEvent, SetCurrentNetworkEvent, SetCurrentNetworkViewEvent, SetCurrentRenderingEngineEvent, SetCurrentVisualStyleEvent, SetNetworkPointerEvent, SetSelectedNetworksEvent, SetSelectedNetworkViewsEvent, TableAboutToBeDeletedEvent, TableAddedEvent, TableDeletedEvent, TablePrivacyChangedEvent, TableTitleChangedEvent, UnsetNetworkPointerEvent, UpdateNetworkPresentationEvent, VisualStyleAboutToBeRemovedEvent, VisualStyleAddedEvent, VisualStyleSetEvent

public abstract class AbstractCyEvent<T>
extends Object
implements CyEvent<T>

A base implementation of CyEvent that can be used by events.

Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to 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
AbstractCyEvent(T source, Class<?> listenerClass)
Method Summary
 Class<?> getListenerClass()
          The Class of the listener that is expected to handle this event.
 T getSource()
          The object that fired the event.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AbstractCyEvent(T source,
                       Class<?> listenerClass)

source - The source object that fires the event. May NOT be null.
listenerClass - The Class that defines the listener interface. May NOT be null.
Method Detail


public T getSource()
The object that fired the event.

Specified by:
getSource in interface CyEvent<T>
The object that fired the event.


public Class<?> getListenerClass()
The Class of the listener that is expected to handle this event.

Specified by:
getListenerClass in interface CyEvent<T>
The Class of the listener that is expected to handle this event.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.