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