Package org.cytoscape.event
Class AbstractCyEvent<T>
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<T>
-
- Type Parameters:
T
- the generic type of the AbstractCyEvent.
- All Implemented Interfaces:
CyEvent<T>
- Direct Known Subclasses:
AboutToRemoveEdgesEvent
,AboutToRemoveNodesEvent
,AbstractCyPayloadEvent
,AppsFinishedStartingEvent
,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
,RowsDeletedEvent
,SearchFinishedEvent
,SelectedNodesAndEdgesEvent
,SessionAboutToBeLoadedEvent
,SessionAboutToBeSavedEvent
,SessionLoadCancelledEvent
,SessionLoadedEvent
,SessionSaveCancelledEvent
,SessionSavedEvent
,SetCurrentNetworkEvent
,SetCurrentNetworkViewEvent
,SetCurrentRenderingEngineEvent
,SetCurrentVisualStyleEvent
,SetNetworkPointerEvent
,SetSelectedNetworksEvent
,SetSelectedNetworkViewsEvent
,TableAboutToBeDeletedEvent
,TableAddedEvent
,TableDeletedEvent
,TablePrivacyChangedEvent
,TableTitleChangedEvent
,UnsetNetworkPointerEvent
,UpdateNetworkPresentationEvent
,VisualPropertyDependencyChangedEvent
,VisualStyleAboutToBeRemovedEvent
,VisualStyleAddedEvent
,VisualStyleSetEvent
public abstract class AbstractCyEvent<T> extends Object implements CyEvent<T>
A base implementation ofCyEvent
that can be used by events.Module:
event-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>event-api</artifactId> </dependency>
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
Constructors Constructor Description AbstractCyEvent(T source, Class<?> listenerClass)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getListenerClass()
The Class of the listener that is expected to handle this event.T
getSource()
The object that fired the event.
-
-
-
Method Detail
-
getSource
public T getSource()
The object that fired the event.
-
getListenerClass
public Class<?> getListenerClass()
The Class of the listener that is expected to handle this event.- Specified by:
getListenerClass
in interfaceCyEvent<T>
- Returns:
- The Class of the listener that is expected to handle this event.
-
-