Package org.cytoscape.work.swing
Interface PanelTaskManager
- All Superinterfaces:
TaskManager<JPanel,
JPanel>
A specialization of a TaskManager that creates a JPanel configuration
object and expects its execution context to be another JPanel. This
TaskManager can be used for embedding JPanels within other GUIs.
Module: work-swing-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>work-swing-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateAndApplyTunables
(Object tunableContext) Validates any pending changes to the tunables in the given context object.Methods inherited from interface org.cytoscape.work.TaskManager
execute, execute, getConfiguration, getTunableMutator, setExecutionContext
-
Method Details
-
validateAndApplyTunables
Validates any pending changes to the tunables in the given context object. Any valid pending changes are written back to the context object. Returns true if all tunable values in the context object are valid.- Parameters:
tunableContext
- the object whose tunables should be validated.- Returns:
- true if all tunable values in the context object are valid.
-