5 public interface ViewStyleI
8 void setColourAppliesToAllGroups(boolean b);
10 boolean getColourAppliesToAllGroups();
12 boolean getAbovePIDThreshold();
14 void setIncrement(int inc);
18 boolean getConservationSelected();
20 void setConservationSelected(boolean b);
22 void setShowHiddenMarkers(boolean show);
24 boolean getShowHiddenMarkers();
26 void setScaleRightWrapped(boolean b);
28 void setScaleLeftWrapped(boolean b);
30 void setScaleAboveWrapped(boolean b);
32 boolean getScaleLeftWrapped();
34 boolean getScaleAboveWrapped();
36 boolean getScaleRightWrapped();
38 void setAbovePIDThreshold(boolean b);
40 void setThreshold(int thresh);
44 boolean getShowJVSuffix();
46 void setShowJVSuffix(boolean b);
48 void setWrapAlignment(boolean state);
50 void setShowText(boolean state);
52 void setRenderGaps(boolean state);
54 boolean getColourText();
56 void setColourText(boolean state);
58 void setShowBoxes(boolean state);
60 boolean getWrapAlignment();
62 boolean getShowText();
64 int getWrappedWidth();
66 void setWrappedWidth(int w);
70 void setCharHeight(int h);
74 void setCharWidth(int w);
76 boolean getShowBoxes();
78 boolean getShowUnconserved();
80 void setShowUnconserved(boolean showunconserved);
83 * @return true if a reference sequence is set and should be displayed
85 boolean isDisplayReferenceSeq();
88 * @return set the flag for displaying reference sequences when they are
91 void setDisplayReferenceSeq(boolean displayReferenceSeq);
94 * @return true if colourschemes should render according to reference sequence
95 * rather than consensus if available
97 boolean isColourByReferenceSeq();
99 void setSeqNameItalics(boolean default1);
101 void setShowSequenceFeatures(boolean b);
103 boolean isShowSequenceFeatures();
105 boolean isRightAlignIds();
107 void setRightAlignIds(boolean rightAlignIds);
110 * Returns true if annotation panel should be shown below alignment
114 boolean isShowAnnotation();
117 * Set flag for whether annotation panel should be shown below alignment
121 void setShowAnnotation(boolean b);
123 void setShowSequenceFeaturesHeight(boolean selected);
126 * @return true set flag for deciding if colourschemes should render according
127 * to reference sequence rather than consensus if available
129 void setColourByReferenceSeq(boolean colourByReferenceSeq);
131 Color getTextColour();
133 Color getTextColour2();
135 int getThresholdTextColour();
137 boolean isConservationColourSelected();
139 boolean isRenderGaps();
141 boolean isShowColourText();
143 boolean isShowSequenceFeaturesHeight();
145 void setConservationColourSelected(boolean conservationColourSelected);
147 void setShowColourText(boolean showColourText);
149 void setTextColour(Color textColour);
151 void setThresholdTextColour(int thresholdTextColour);
153 void setTextColour2(Color textColour2);
155 boolean isSeqNameItalics();
157 void setUpperCasebold(boolean upperCasebold);
159 boolean isUpperCasebold();
161 boolean sameStyle(ViewStyleI them);
163 void setFontName(String name);
165 void setFontStyle(int style);
167 void setFontSize(int size);
171 String getFontName();
176 * @return width of Sequence and Annotation ID margin. If less than zero, then
177 * width will be autocalculated
187 void setIdWidth(int i);
190 * centre columnar annotation labels in displayed alignment annotation
192 boolean isCentreColumnLabels();
195 * centre columnar annotation labels in displayed alignment annotation
197 void setCentreColumnLabels(boolean centreColumnLabels);
200 * enable or disable the display of Database Cross References in the sequence
203 void setShowDBRefs(boolean showdbrefs);
207 * @return true if Database References are to be displayed on tooltips.
209 boolean isShowDBRefs();
213 * @return true if Non-positional features are to be displayed on tooltips.
215 boolean isShowNPFeats();
218 * enable or disable the display of Non-Positional sequence features in the
219 * sequence ID tooltip
223 void setShowNPFeats(boolean shownpfeats);
226 * Get flag to scale protein residues 3 times the width of cDNA bases (only
227 * applicable in SplitFrame views)
231 boolean isScaleProteinAsCdna();
234 * Set flag to scale protein residues 3 times the width of cDNA bases (only
235 * applicable in SplitFrame views)
239 void setScaleProteinAsCdna(boolean b);