public final class CytoPanelStateChangedEvent extends AbstractCyEvent<Object>
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 and Description |
---|
CytoPanelStateChangedEvent(Object source,
CytoPanel cp,
CytoPanelState newState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CytoPanel |
getCytoPanel()
Returns the CytoPanel whose state has changed.
|
CytoPanelState |
getNewState()
Returns the new state of the CytoPanel.
|
getListenerClass, getSource
public CytoPanelStateChangedEvent(Object source, CytoPanel cp, CytoPanelState newState)
source
- The object firing the event.cp
- The CytoPanel whose state has changed.newState
- The new state of the CytoPanel.public CytoPanel getCytoPanel()
public CytoPanelState getNewState()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.