T - the generic type of the AbstractCyEvent.public abstract class AbstractCyEvent<T> extends Object implements CyEvent<T>
CyEvent 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>| Constructor and Description |
|---|
AbstractCyEvent(T source,
Class<?> listenerClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getListenerClass()
The Class of the listener that is expected to handle this event.
|
T |
getSource()
The object that fired the event.
|
public T getSource()
public Class<?> getListenerClass()
getListenerClass in interface CyEvent<T>Copyright 2011-2015 Cytoscape Consortium. All rights reserved.