Cytoscape 3.0.1 API

org.cytoscape.work
Annotation Type ContainsTunables


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface ContainsTunables

An annotation designed to signal that the annotated field contains fields and methods that are annotated with the Tunable annotation. The goal is to allow rich tunable collections to be created by combining the tunables found in fields annotated with ContainsTunables.
For example, given classes A and B:



 public class A {
    @Tunable
    public int value = 5;
 }

 public class B {
    @ContainsTunable
    public A a = new A(); 
    @Tunable
    public String name = "homer";
 }

 

When class B is evaluated for Tunables, it should display a tunable for both the "name" and "value" fields.


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.


Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.