Interface ContinuousMappingEditor<K extends Number,​V>

  • Type Parameters:
    K - The numeric type of the attribute.
    V - The generic type of the visual property the attribute is being mapped to.

    public interface ContinuousMappingEditor<K extends Number,​V>
    A basic interface used to display continuous mapping editors.

    Module: vizmap-gui-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>vizmap-gui-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
    • Method Detail

      • drawIcon

        ImageIcon drawIcon​(int width,
                           int height,
                           boolean detail)
        Returns an icon representing this editor for use in a user interface.
        Parameters:
        width - The width of the icon.
        height - The height of the icon.
        detail - Whether to include high detail or not.
        Returns:
        an icon representing this editor for use in a user interface.