|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.event.AbstractCyEvent<T>
T - the generic type of the AbstractCyEvent.public abstract class AbstractCyEvent<T>
A base implementation of CyEvent that can be used by events.
| Constructor Summary | |
|---|---|
AbstractCyEvent(T source,
Class<?> listenerClass)
Constructor. |
|
| 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()
getSource in interface CyEvent<T>public Class<?> getListenerClass()
getListenerClass in interface CyEvent<T>
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||