JAL-1780 more support for export setting for flatfile output
[jalview.git] / src / jalview / api / AlignViewportI.java
index 1a1cba2..fa73194 100644 (file)
@@ -43,12 +43,8 @@ import jalview.schemes.ColourSchemeI;
 public interface AlignViewportI extends ViewStyleI
 {
 
-  int getCharWidth();
-
   int getEndRes();
 
-  int getCharHeight();
-
   /**
    * calculate the height for visible annotation, revalidating bounds where
    * necessary ABSTRACT GUI METHOD
@@ -183,29 +179,6 @@ public interface AlignViewportI extends ViewStyleI
   void updateGroupAnnotationSettings(boolean applyGlobalSettings,
           boolean preserveNewGroupSettings);
   
-  /**
-   * @return true if a reference sequence is set and should be displayed
-   */
-  public boolean isDisplayReferenceSeq();
-
-  /**
-   * @return set the flag for displaying reference sequences when they are
-   *         available
-   */
-  public void setDisplayReferenceSeq(boolean displayReferenceSeq);
-
-  /**
-   * @return true if colourschemes should render according to reference sequence
-   *         rather than consensus if available
-   */
-  public boolean isColourByReferenceSeq();
-
-  /**
-   * @return true set flag for deciding if colourschemes should render according
-   *         to reference sequence rather than consensus if available
-   */
-  public void setColourByReferenceSeq(boolean colourByReferenceSeq);
-
   void setSequenceColour(SequenceI seq, Color col);
 
   Color getSequenceColour(SequenceI seq);
@@ -288,35 +261,8 @@ public interface AlignViewportI extends ViewStyleI
 
   String getSequenceSetId();
 
-  boolean isShowSequenceFeatures();
-
-  void setShowSequenceFeatures(boolean b);
-
-  /**
-   * 
-   * @param flag
-   *          indicating if annotation panel shown below alignment
-   * 
-   */
-  void setShowAnnotation(boolean b);
-
-  /**
-   * flag indicating if annotation panel shown below alignment
-   * 
-   * @return
-   */
-  boolean isShowAnnotation();
-
-  boolean isRightAlignIds();
-
-  void setRightAlignIds(boolean rightAlignIds);
-
   boolean areFeaturesDisplayed();
 
-  void setShowSequenceFeaturesHeight(boolean selected);
-
-  boolean isShowSequenceFeaturesHeight();
-
   void setFeaturesDisplayed(FeaturesDisplayedI featuresDisplayedI);
 
   void alignmentChanged(AlignmentViewPanel ap);
@@ -426,4 +372,26 @@ public interface AlignViewportI extends ViewStyleI
    * Set whether view should scroll to show the highlighted region of a sequence
    */
   void setFollowHighlight(boolean b);
+
+  /**
+   * Returns a FeatureRenderer instance
+   * 
+   * @return
+   */
+  public FeatureRenderer getFeatureRenderer();
+
+  /**
+   * Sets a FeatureRenderer for a viewport
+   * 
+   * @param featureRenderer
+   */
+  public void setFeatureRenderer(FeatureRenderer featureRenderer);
+
+  /**
+   * Returns Settings for exporting an Alignment
+   * 
+   * @return
+   */
+  public AlignExportSettingI getExportSettings();
+
 }