1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.api; |
22 |
|
|
23 |
|
import java.awt.Color; |
24 |
|
import java.util.List; |
25 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
26 |
|
public interface ViewStyleI |
27 |
|
{ |
28 |
|
void setShowComplementFeatures(boolean b); |
29 |
|
|
30 |
|
boolean isShowComplementFeatures(); |
31 |
|
|
32 |
|
void setShowComplementFeaturesOnTop(boolean b); |
33 |
|
|
34 |
|
boolean isShowComplementFeaturesOnTop(); |
35 |
|
|
36 |
|
void setColourAppliesToAllGroups(boolean b); |
37 |
|
|
38 |
|
boolean getColourAppliesToAllGroups(); |
39 |
|
|
40 |
|
boolean getAbovePIDThreshold(); |
41 |
|
|
42 |
|
boolean getByConsensusSecondaryStructureSelected(); |
43 |
|
|
44 |
|
void setIncrement(int inc); |
45 |
|
|
46 |
|
int getIncrement(); |
47 |
|
|
48 |
|
boolean getConservationSelected(); |
49 |
|
|
50 |
|
void setConservationSelected(boolean b); |
51 |
|
|
52 |
|
void setShowHiddenMarkers(boolean show); |
53 |
|
|
54 |
|
boolean getShowHiddenMarkers(); |
55 |
|
|
56 |
|
void setScaleRightWrapped(boolean b); |
57 |
|
|
58 |
|
void setScaleLeftWrapped(boolean b); |
59 |
|
|
60 |
|
void setScaleAboveWrapped(boolean b); |
61 |
|
|
62 |
|
boolean getScaleLeftWrapped(); |
63 |
|
|
64 |
|
boolean getScaleAboveWrapped(); |
65 |
|
|
66 |
|
boolean getScaleRightWrapped(); |
67 |
|
|
68 |
|
void setAbovePIDThreshold(boolean b); |
69 |
|
|
70 |
|
void setByConsensusSecondaryStructureSelected(boolean b); |
71 |
|
|
72 |
|
void setShowStructureProvider(boolean b); |
73 |
|
|
74 |
|
boolean isShowStructureProvider(); |
75 |
|
|
76 |
|
void setThreshold(int thresh); |
77 |
|
|
78 |
|
int getThreshold(); |
79 |
|
|
80 |
|
boolean getShowJVSuffix(); |
81 |
|
|
82 |
|
void setShowJVSuffix(boolean b); |
83 |
|
|
84 |
|
void setWrapAlignment(boolean state); |
85 |
|
|
86 |
|
void setShowText(boolean state); |
87 |
|
|
88 |
|
void setRenderGaps(boolean state); |
89 |
|
|
90 |
|
boolean getColourText(); |
91 |
|
|
92 |
|
void setColourText(boolean state); |
93 |
|
|
94 |
|
void setShowBoxes(boolean state); |
95 |
|
|
96 |
|
boolean getWrapAlignment(); |
97 |
|
|
98 |
|
boolean getShowText(); |
99 |
|
|
100 |
|
int getWrappedWidth(); |
101 |
|
|
102 |
|
void setWrappedWidth(int w); |
103 |
|
|
104 |
|
int getCharHeight(); |
105 |
|
|
106 |
|
void setCharHeight(int h); |
107 |
|
|
108 |
|
int getCharWidth(); |
109 |
|
|
110 |
|
void setCharWidth(int w); |
111 |
|
|
112 |
|
boolean getShowBoxes(); |
113 |
|
|
114 |
|
boolean getShowUnconserved(); |
115 |
|
|
116 |
|
void setShowUnconserved(boolean showunconserved); |
117 |
|
|
118 |
|
|
119 |
|
@return |
120 |
|
|
121 |
|
boolean isDisplayReferenceSeq(); |
122 |
|
|
123 |
|
|
124 |
|
@return |
125 |
|
|
126 |
|
|
127 |
|
void setDisplayReferenceSeq(boolean displayReferenceSeq); |
128 |
|
|
129 |
|
|
130 |
|
@return |
131 |
|
|
132 |
|
|
133 |
|
boolean isColourByReferenceSeq(); |
134 |
|
|
135 |
|
void setSeqNameItalics(boolean default1); |
136 |
|
|
137 |
|
void setShowSequenceFeatures(boolean b); |
138 |
|
|
139 |
|
boolean isShowSequenceFeatures(); |
140 |
|
|
141 |
|
boolean isRightAlignIds(); |
142 |
|
|
143 |
|
void setRightAlignIds(boolean rightAlignIds); |
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
@return |
149 |
|
|
150 |
|
boolean isShowAnnotation(); |
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
@param |
156 |
|
|
157 |
|
void setShowAnnotation(boolean b); |
158 |
|
|
159 |
|
void setShowSequenceFeaturesHeight(boolean selected); |
160 |
|
|
161 |
|
|
162 |
|
@return |
163 |
|
|
164 |
|
|
165 |
|
void setColourByReferenceSeq(boolean colourByReferenceSeq); |
166 |
|
|
167 |
|
Color getTextColour(); |
168 |
|
|
169 |
|
Color getTextColour2(); |
170 |
|
|
171 |
|
int getThresholdTextColour(); |
172 |
|
|
173 |
|
boolean isConservationColourSelected(); |
174 |
|
|
175 |
|
boolean isRenderGaps(); |
176 |
|
|
177 |
|
boolean isShowColourText(); |
178 |
|
|
179 |
|
boolean isShowSequenceFeaturesHeight(); |
180 |
|
|
181 |
|
void setConservationColourSelected(boolean conservationColourSelected); |
182 |
|
|
183 |
|
void setShowColourText(boolean showColourText); |
184 |
|
|
185 |
|
void setTextColour(Color textColour); |
186 |
|
|
187 |
|
void setThresholdTextColour(int thresholdTextColour); |
188 |
|
|
189 |
|
void setTextColour2(Color textColour2); |
190 |
|
|
191 |
|
boolean isSeqNameItalics(); |
192 |
|
|
193 |
|
void setUpperCasebold(boolean upperCasebold); |
194 |
|
|
195 |
|
boolean isUpperCasebold(); |
196 |
|
|
197 |
|
boolean sameStyle(ViewStyleI them); |
198 |
|
|
199 |
|
void setFontName(String name); |
200 |
|
|
201 |
|
void setFontStyle(int style); |
202 |
|
|
203 |
|
void setFontSize(int size); |
204 |
|
|
205 |
|
int getFontStyle(); |
206 |
|
|
207 |
|
String getFontName(); |
208 |
|
|
209 |
|
int getFontSize(); |
210 |
|
|
211 |
|
|
212 |
|
@return |
213 |
|
|
214 |
|
|
215 |
|
int getIdWidth(); |
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
@param |
221 |
|
|
222 |
|
|
223 |
|
void setIdWidth(int i); |
224 |
|
|
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
boolean isCentreColumnLabels(); |
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
void setCentreColumnLabels(boolean centreColumnLabels); |
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
void setShowDBRefs(boolean showdbrefs); |
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
@return |
244 |
|
|
245 |
|
boolean isShowDBRefs(); |
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
@return |
250 |
|
|
251 |
|
boolean isShowNPFeats(); |
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
@param |
258 |
|
|
259 |
|
void setShowNPFeats(boolean shownpfeats); |
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
@return |
266 |
|
|
267 |
|
boolean isScaleProteinAsCdna(); |
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
@return |
274 |
|
|
275 |
|
void setScaleProteinAsCdna(boolean b); |
276 |
|
|
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
@return |
281 |
|
|
282 |
|
boolean isProteinFontAsCdna(); |
283 |
|
|
284 |
|
|
285 |
|
|
286 |
|
|
287 |
|
@return |
288 |
|
|
289 |
|
void setProteinFontAsCdna(boolean b); |
290 |
|
|
291 |
|
void setSecondaryStructureSources(List<String> secondaryStructureSources); |
292 |
|
|
293 |
|
List<String> getSecondaryStructureSources(); |
294 |
|
|
295 |
|
int getConsensusSecondaryStructureThreshold(); |
296 |
|
|
297 |
|
|
298 |
|
|
299 |
|
@param |
300 |
|
|
301 |
|
|
302 |
|
|
303 |
|
void setConsensusSecondaryStructureThreshold(int val); |
304 |
|
} |