Interface PanelTaskManager

  • All Superinterfaces:
    TaskManager<JPanel,​JPanel>

    public interface PanelTaskManager
    extends 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 Detail

      • validateAndApplyTunables

        boolean validateAndApplyTunables​(Object tunableContext)
        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.