Class CytoPanelStateChangedEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<Object>
org.cytoscape.application.swing.events.CytoPanelStateChangedEvent
An event to indicate that a CytoPanel has changed state.
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
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
ConstructorDescriptionCytoPanelStateChangedEvent
(Object source, CytoPanel cp, CytoPanelState newState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the CytoPanel whose state has changed.Returns the new state of the CytoPanel.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
CytoPanelStateChangedEvent
Constructor.- Parameters:
source
- The object firing the event.cp
- The CytoPanel whose state has changed.newState
- The new state of the CytoPanel.
-
-
Method Details
-
getCytoPanel
Returns the CytoPanel whose state has changed.- Returns:
- the CytoPanel whose state has changed.
-
getNewState
Returns the new state of the CytoPanel.- Returns:
- The new state of the CytoPanel.
-