|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.event.AbstractCyEvent<Object>
org.cytoscape.application.swing.events.CytoPanelComponentSelectedEvent
public final class CytoPanelComponentSelectedEvent
The event fired to indicate that a CytoPanelComponent
has been selected.
Module: swing-application-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>swing-application-api</artifactId> </dependency>
Constructor Summary | |
---|---|
CytoPanelComponentSelectedEvent(Object source,
CytoPanel cp,
int index)
Constructor. |
Method Summary | |
---|---|
CytoPanel |
getCytoPanel()
Returns the CytoPanel on which a component was selected. |
int |
getSelectedIndex()
Returns the index of the CytoPanelComponent selected. |
Methods inherited from class org.cytoscape.event.AbstractCyEvent |
---|
getListenerClass, getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CytoPanelComponentSelectedEvent(Object source, CytoPanel cp, int index)
source
- The object firing the event.cp
- The CytoPanel on which a component was selected.index
- The index of the CytoPanelComponent selected.Method Detail |
---|
public CytoPanel getCytoPanel()
public int getSelectedIndex()
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |