JAL-1705 align CDS and peptide products to transcripts
[jalview.git] / src / jalview / schemes / FeatureSettingsAdapter.java
1 package jalview.schemes;
2
3 import jalview.api.FeatureColourI;
4 import jalview.api.FeatureSettingsI;
5
6 /**
7  * An adapter class that may be extended to instantiate feature colour schemes
8  */
9 public class FeatureSettingsAdapter implements FeatureSettingsI
10 {
11
12   @Override
13   public boolean isFeatureDisplayed(String type)
14   {
15     return false;
16   }
17
18   @Override
19   public boolean isGroupDisplayed(String group)
20   {
21     return true;
22   }
23
24   @Override
25   public FeatureColourI getFeatureColour(String type)
26   {
27     return null;
28   }
29
30   @Override
31   public float getTransparency()
32   {
33     return 1f;
34   }
35
36   @Override
37   public int compare(String feature1, String feature2)
38   {
39     return 0;
40   }
41
42   @Override
43   public boolean optimiseOrder()
44   {
45     return false;
46   }
47
48 }