1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.gui; |
22 |
|
|
23 |
|
import jalview.datamodel.ColumnSelection; |
24 |
|
import jalview.datamodel.HiddenColumns; |
25 |
|
import jalview.datamodel.SequenceGroup; |
26 |
|
import jalview.renderer.ScaleRenderer; |
27 |
|
import jalview.renderer.ScaleRenderer.ScaleMark; |
28 |
|
import jalview.util.MessageManager; |
29 |
|
import jalview.util.Platform; |
30 |
|
import jalview.viewmodel.ViewportListenerI; |
31 |
|
import jalview.viewmodel.ViewportRanges; |
32 |
|
|
33 |
|
import java.awt.Color; |
34 |
|
import java.awt.FontMetrics; |
35 |
|
import java.awt.Graphics; |
36 |
|
import java.awt.Graphics2D; |
37 |
|
import java.awt.Point; |
38 |
|
import java.awt.RenderingHints; |
39 |
|
import java.awt.event.ActionEvent; |
40 |
|
import java.awt.event.ActionListener; |
41 |
|
import java.awt.event.MouseEvent; |
42 |
|
import java.awt.event.MouseListener; |
43 |
|
import java.awt.event.MouseMotionListener; |
44 |
|
import java.beans.PropertyChangeEvent; |
45 |
|
import java.util.Iterator; |
46 |
|
import java.util.List; |
47 |
|
|
48 |
|
import javax.swing.JMenuItem; |
49 |
|
import javax.swing.JPanel; |
50 |
|
import javax.swing.JPopupMenu; |
51 |
|
import javax.swing.ToolTipManager; |
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
|
|
| 71.7% |
Uncovered Elements: 75 (265) |
Complexity: 57 |
Complexity Density: 0.32 |
|
57 |
|
public class ScalePanel extends JPanel |
58 |
|
implements MouseMotionListener, MouseListener, ViewportListenerI |
59 |
|
{ |
60 |
|
protected int offy = 4; |
61 |
|
|
62 |
|
public int width; |
63 |
|
|
64 |
|
protected AlignViewport av; |
65 |
|
|
66 |
|
AlignmentPanel ap; |
67 |
|
|
68 |
|
boolean stretchingGroup = false; |
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
int min; |
74 |
|
|
75 |
|
int max; |
76 |
|
|
77 |
|
boolean mouseDragging = false; |
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
int[] reveal; |
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
@param |
88 |
|
@param |
89 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
|
90 |
267 |
public ScalePanel(AlignViewport av, AlignmentPanel ap)... |
91 |
|
{ |
92 |
267 |
this.av = av; |
93 |
267 |
this.ap = ap; |
94 |
|
|
95 |
267 |
addMouseListener(this); |
96 |
267 |
addMouseMotionListener(this); |
97 |
|
|
98 |
267 |
av.getRanges().addPropertyChangeListener(this); |
99 |
|
} |
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
@param |
105 |
|
|
106 |
|
|
|
|
| 73.7% |
Uncovered Elements: 5 (19) |
Complexity: 4 |
Complexity Density: 0.31 |
|
107 |
3 |
@Override... |
108 |
|
public void mousePressed(MouseEvent evt) |
109 |
|
{ |
110 |
3 |
int x = (evt.getX() / av.getCharWidth()) + av.getRanges().getStartRes(); |
111 |
3 |
final int res; |
112 |
|
|
113 |
3 |
if (av.hasHiddenColumns()) |
114 |
|
{ |
115 |
2 |
x = av.getAlignment().getHiddenColumns().visibleToAbsoluteColumn(x); |
116 |
|
} |
117 |
3 |
res = Math.min(x, av.getAlignment().getWidth() - 1); |
118 |
|
|
119 |
3 |
min = res; |
120 |
3 |
max = res; |
121 |
|
|
122 |
3 |
if (evt.isPopupTrigger()) |
123 |
|
{ |
124 |
0 |
rightMouseButtonPressed(evt, res); |
125 |
0 |
return; |
126 |
|
} |
127 |
3 |
if (Platform.isWinRightButton(evt)) |
128 |
|
{ |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
0 |
return; |
135 |
|
} |
136 |
3 |
leftMouseButtonPressed(evt, res); |
137 |
|
} |
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
@param |
145 |
|
@param |
146 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
147 |
0 |
protected void rightMouseButtonPressed(MouseEvent evt, final int res)... |
148 |
|
{ |
149 |
0 |
JPopupMenu pop = buildPopupMenu(res); |
150 |
0 |
if (pop.getSubElements().length > 0) |
151 |
|
{ |
152 |
0 |
pop.show(this, evt.getX(), evt.getY()); |
153 |
|
} |
154 |
|
} |
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
@param |
160 |
|
|
161 |
|
@return |
162 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (21) |
Complexity: 4 |
Complexity Density: 0.27 |
|
163 |
9 |
protected JPopupMenu buildPopupMenu(final int res)... |
164 |
|
{ |
165 |
9 |
JPopupMenu pop = new JPopupMenu(); |
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
9 |
final int[] hiddenRange = reveal; |
172 |
9 |
if (hiddenRange != null) |
173 |
|
{ |
174 |
6 |
JMenuItem item = new JMenuItem( |
175 |
|
MessageManager.getString("label.reveal")); |
176 |
6 |
item.addActionListener(new ActionListener() |
177 |
|
{ |
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
|
178 |
0 |
@Override... |
179 |
|
public void actionPerformed(ActionEvent e) |
180 |
|
{ |
181 |
0 |
av.showColumn(hiddenRange[0]); |
182 |
0 |
reveal = null; |
183 |
0 |
ap.updateLayout(); |
184 |
0 |
ap.paintAlignment(true, true); |
185 |
0 |
av.sendSelection(); |
186 |
|
} |
187 |
|
}); |
188 |
6 |
pop.add(item); |
189 |
|
|
190 |
6 |
if (av.getAlignment().getHiddenColumns().hasMultiHiddenColumnRegions()) |
191 |
|
{ |
192 |
2 |
item = new JMenuItem(MessageManager.getString("action.reveal_all")); |
193 |
2 |
item.addActionListener(new ActionListener() |
194 |
|
{ |
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
|
195 |
0 |
@Override... |
196 |
|
public void actionPerformed(ActionEvent e) |
197 |
|
{ |
198 |
0 |
av.showAllHiddenColumns(); |
199 |
0 |
reveal = null; |
200 |
0 |
ap.updateLayout(); |
201 |
0 |
ap.paintAlignment(true, true); |
202 |
0 |
av.sendSelection(); |
203 |
|
} |
204 |
|
}); |
205 |
2 |
pop.add(item); |
206 |
|
} |
207 |
|
} |
208 |
|
|
209 |
9 |
if (av.getColumnSelection().contains(res)) |
210 |
|
{ |
211 |
4 |
JMenuItem item = new JMenuItem( |
212 |
|
MessageManager.getString("label.hide_columns")); |
213 |
4 |
item.addActionListener(new ActionListener() |
214 |
|
{ |
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 3 |
Complexity Density: 0.5 |
|
215 |
0 |
@Override... |
216 |
|
public void actionPerformed(ActionEvent e) |
217 |
|
{ |
218 |
0 |
av.hideColumns(res, res); |
219 |
0 |
if (av.getSelectionGroup() != null && av.getSelectionGroup() |
220 |
|
.getSize() == av.getAlignment().getHeight()) |
221 |
|
{ |
222 |
0 |
av.setSelectionGroup(null); |
223 |
|
} |
224 |
|
|
225 |
0 |
ap.updateLayout(); |
226 |
0 |
ap.paintAlignment(true, true); |
227 |
0 |
av.sendSelection(); |
228 |
|
} |
229 |
|
}); |
230 |
4 |
pop.add(item); |
231 |
|
} |
232 |
9 |
return pop; |
233 |
|
} |
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
@param |
239 |
|
@param |
240 |
|
|
|
|
| 54.5% |
Uncovered Elements: 10 (22) |
Complexity: 5 |
Complexity Density: 0.31 |
|
241 |
3 |
protected void leftMouseButtonPressed(MouseEvent evt, final int res)... |
242 |
|
{ |
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
3 |
if (!Platform.isControlDown(evt) && !evt.isShiftDown()) |
249 |
|
{ |
250 |
3 |
av.getColumnSelection().clear(); |
251 |
|
} |
252 |
|
|
253 |
3 |
av.getColumnSelection().addElement(res); |
254 |
3 |
SequenceGroup sg = new SequenceGroup(av.getAlignment().getSequences()); |
255 |
3 |
sg.setStartRes(res); |
256 |
3 |
sg.setEndRes(res); |
257 |
|
|
258 |
3 |
if (evt.isShiftDown()) |
259 |
|
{ |
260 |
0 |
int min = Math.min(av.getColumnSelection().getMin(), res); |
261 |
0 |
int max = Math.max(av.getColumnSelection().getMax(), res); |
262 |
0 |
for (int i = min; i < max; i++) |
263 |
|
{ |
264 |
0 |
av.getColumnSelection().addElement(i); |
265 |
|
} |
266 |
0 |
sg.setStartRes(min); |
267 |
0 |
sg.setEndRes(max); |
268 |
|
} |
269 |
3 |
av.setSelectionGroup(sg); |
270 |
3 |
ap.paintAlignment(false, false); |
271 |
3 |
av.sendSelection(); |
272 |
|
} |
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
@param |
279 |
|
|
|
|
| 75% |
Uncovered Elements: 11 (44) |
Complexity: 8 |
Complexity Density: 0.27 |
|
280 |
3 |
@Override... |
281 |
|
public void mouseReleased(MouseEvent evt) |
282 |
|
{ |
283 |
3 |
boolean wasDragging = mouseDragging; |
284 |
3 |
mouseDragging = false; |
285 |
3 |
ap.getSeqPanel().stopScrolling(); |
286 |
|
|
287 |
|
|
288 |
3 |
int xCords = Math.max(0, evt.getX()); |
289 |
3 |
ViewportRanges ranges = av.getRanges(); |
290 |
3 |
int res = (xCords / av.getCharWidth()) |
291 |
|
+ ranges.getStartRes(); |
292 |
3 |
res = Math.min(res, ranges.getEndRes()); |
293 |
3 |
if (av.hasHiddenColumns()) |
294 |
|
{ |
295 |
2 |
res = av.getAlignment().getHiddenColumns() |
296 |
|
.visibleToAbsoluteColumn(res); |
297 |
|
} |
298 |
3 |
res = Math.max(0, res); |
299 |
|
|
300 |
3 |
if (!stretchingGroup) |
301 |
|
{ |
302 |
0 |
if (evt.isPopupTrigger()) |
303 |
|
{ |
304 |
0 |
rightMouseButtonPressed(evt, res); |
305 |
|
} |
306 |
|
else |
307 |
|
{ |
308 |
0 |
ap.paintAlignment(false, false); |
309 |
|
} |
310 |
0 |
return; |
311 |
|
} |
312 |
|
|
313 |
3 |
SequenceGroup sg = av.getSelectionGroup(); |
314 |
|
|
315 |
3 |
if (sg != null) |
316 |
|
{ |
317 |
3 |
if (res > sg.getStartRes()) |
318 |
|
{ |
319 |
2 |
sg.setEndRes(res); |
320 |
|
} |
321 |
1 |
else if (res < sg.getStartRes()) |
322 |
|
{ |
323 |
0 |
sg.setStartRes(res); |
324 |
|
} |
325 |
3 |
if (wasDragging) |
326 |
|
{ |
327 |
3 |
min = Math.min(res, min); |
328 |
3 |
max = Math.max(res, max); |
329 |
3 |
av.getColumnSelection().stretchGroup(res, sg, min, max); |
330 |
|
} |
331 |
|
} |
332 |
3 |
stretchingGroup = false; |
333 |
3 |
ap.paintAlignment(false, false); |
334 |
3 |
av.isSelectionGroupChanged(true); |
335 |
3 |
av.isColSelChanged(true); |
336 |
3 |
av.sendSelection(); |
337 |
|
} |
338 |
|
|
339 |
|
|
340 |
|
|
341 |
|
|
342 |
|
|
343 |
|
|
344 |
|
|
345 |
|
|
346 |
|
@param |
347 |
|
|
|
|
| 93.8% |
Uncovered Elements: 1 (16) |
Complexity: 2 |
Complexity Density: 0.14 |
|
348 |
3 |
@Override... |
349 |
|
public void mouseDragged(MouseEvent evt) |
350 |
|
{ |
351 |
3 |
mouseDragging = true; |
352 |
3 |
ColumnSelection cs = av.getColumnSelection(); |
353 |
3 |
HiddenColumns hidden = av.getAlignment().getHiddenColumns(); |
354 |
|
|
355 |
3 |
int res = (evt.getX() / av.getCharWidth()) |
356 |
|
+ av.getRanges().getStartRes(); |
357 |
3 |
res = Math.max(0, res); |
358 |
3 |
res = hidden.visibleToAbsoluteColumn(res); |
359 |
3 |
res = Math.min(res, av.getAlignment().getWidth() - 1); |
360 |
3 |
min = Math.min(res, min); |
361 |
3 |
max = Math.max(res, max); |
362 |
|
|
363 |
3 |
SequenceGroup sg = av.getSelectionGroup(); |
364 |
3 |
if (sg != null) |
365 |
|
{ |
366 |
3 |
stretchingGroup = true; |
367 |
3 |
cs.stretchGroup(res, sg, min, max); |
368 |
3 |
ap.paintAlignment(false, false); |
369 |
|
} |
370 |
|
} |
371 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
372 |
0 |
@Override... |
373 |
|
public void mouseEntered(MouseEvent evt) |
374 |
|
{ |
375 |
0 |
if (mouseDragging) |
376 |
|
{ |
377 |
0 |
mouseDragging = false; |
378 |
0 |
ap.getSeqPanel().stopScrolling(); |
379 |
|
} |
380 |
|
} |
381 |
|
|
382 |
|
|
383 |
|
|
384 |
|
|
385 |
|
|
386 |
|
|
387 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
388 |
0 |
@Override... |
389 |
|
public void mouseExited(MouseEvent evt) |
390 |
|
{ |
391 |
0 |
if (mouseDragging) |
392 |
|
{ |
393 |
0 |
ap.getSeqPanel().startScrolling(new Point(evt.getX(), 0)); |
394 |
|
} |
395 |
|
} |
396 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
397 |
0 |
@Override... |
398 |
|
public void mouseClicked(MouseEvent evt) |
399 |
|
{ |
400 |
|
} |
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
|
|
| 83.3% |
Uncovered Elements: 2 (12) |
Complexity: 2 |
Complexity Density: 0.2 |
|
405 |
8 |
@Override... |
406 |
|
public void mouseMoved(MouseEvent evt) |
407 |
|
{ |
408 |
8 |
this.setToolTipText(null); |
409 |
8 |
reveal = null; |
410 |
8 |
if (!av.hasHiddenColumns()) |
411 |
|
{ |
412 |
0 |
return; |
413 |
|
} |
414 |
|
|
415 |
8 |
int res = (evt.getX() / av.getCharWidth()) |
416 |
|
+ av.getRanges().getStartRes(); |
417 |
|
|
418 |
8 |
reveal = av.getAlignment().getHiddenColumns() |
419 |
|
.getRegionWithEdgeAtRes(res); |
420 |
|
|
421 |
8 |
res = av.getAlignment().getHiddenColumns().visibleToAbsoluteColumn(res); |
422 |
|
|
423 |
8 |
ToolTipManager.sharedInstance().registerComponent(this); |
424 |
8 |
this.setToolTipText( |
425 |
|
MessageManager.getString("label.reveal_hidden_columns")); |
426 |
8 |
repaint(); |
427 |
|
} |
428 |
|
|
429 |
|
|
430 |
|
|
431 |
|
|
432 |
|
@param |
433 |
|
|
434 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
435 |
705 |
@Override... |
436 |
|
public void paintComponent(Graphics g) |
437 |
|
{ |
438 |
|
|
439 |
|
|
440 |
|
|
441 |
|
|
442 |
|
|
443 |
|
|
444 |
705 |
if (!av.getWrapAlignment()) |
445 |
|
{ |
446 |
705 |
drawScale(g, av.getRanges().getStartRes(), av.getRanges().getEndRes(), |
447 |
|
getWidth(), getHeight()); |
448 |
|
} |
449 |
|
} |
450 |
|
|
451 |
|
|
|
|
| 91.3% |
Uncovered Elements: 6 (69) |
Complexity: 13 |
Complexity Density: 0.28 |
|
452 |
713 |
public void drawScale(Graphics g, int startx, int endx, int width,... |
453 |
|
int height) |
454 |
|
{ |
455 |
713 |
Graphics2D gg = (Graphics2D) g; |
456 |
713 |
gg.setFont(av.getFont()); |
457 |
|
|
458 |
713 |
if (av.antiAlias) |
459 |
|
{ |
460 |
8 |
gg.setRenderingHint(RenderingHints.KEY_ANTIALIASING, |
461 |
|
RenderingHints.VALUE_ANTIALIAS_ON); |
462 |
|
} |
463 |
|
|
464 |
|
|
465 |
713 |
gg.setColor(Color.white); |
466 |
713 |
gg.fillRect(0, 0, width, height); |
467 |
713 |
gg.setColor(Color.black); |
468 |
|
|
469 |
|
|
470 |
713 |
ColumnSelection cs = av.getColumnSelection(); |
471 |
713 |
HiddenColumns hidden = av.getAlignment().getHiddenColumns(); |
472 |
713 |
int avCharWidth = av.getCharWidth(); |
473 |
713 |
int avCharHeight = av.getCharHeight(); |
474 |
|
|
475 |
713 |
if (cs != null) |
476 |
|
{ |
477 |
713 |
gg.setColor(new Color(220, 0, 0)); |
478 |
|
|
479 |
713 |
for (int sel : cs.getSelected()) |
480 |
|
{ |
481 |
|
|
482 |
|
|
483 |
|
|
484 |
2 |
if (av.hasHiddenColumns()) |
485 |
|
{ |
486 |
2 |
if (hidden.isVisible(sel)) |
487 |
|
{ |
488 |
2 |
sel = hidden.absoluteToVisibleColumn(sel); |
489 |
|
} |
490 |
|
else |
491 |
|
{ |
492 |
0 |
continue; |
493 |
|
} |
494 |
|
} |
495 |
|
|
496 |
2 |
if ((sel >= startx) && (sel <= endx)) |
497 |
|
{ |
498 |
2 |
gg.fillRect((sel - startx) * avCharWidth, 0, avCharWidth, |
499 |
|
getHeight()); |
500 |
|
} |
501 |
|
} |
502 |
|
} |
503 |
|
|
504 |
713 |
int widthx = 1 + endx - startx; |
505 |
|
|
506 |
713 |
FontMetrics fm = gg.getFontMetrics(av.getFont()); |
507 |
713 |
int y = avCharHeight; |
508 |
713 |
int yOf = fm.getDescent(); |
509 |
713 |
y -= yOf; |
510 |
713 |
if (av.hasHiddenColumns()) |
511 |
|
{ |
512 |
|
|
513 |
147 |
gg.setColor(Color.blue); |
514 |
147 |
int res; |
515 |
|
|
516 |
147 |
if (av.getShowHiddenMarkers()) |
517 |
|
{ |
518 |
147 |
Iterator<Integer> it = hidden.getStartRegionIterator(startx, |
519 |
|
startx + widthx + 1); |
520 |
287 |
while (it.hasNext()) |
521 |
|
{ |
522 |
140 |
res = it.next() - startx; |
523 |
|
|
524 |
140 |
gg.fillPolygon( |
525 |
|
new int[] |
526 |
|
{ -1 + res * avCharWidth - avCharHeight / 4, |
527 |
|
-1 + res * avCharWidth + avCharHeight / 4, |
528 |
|
-1 + res * avCharWidth }, new int[] |
529 |
|
{ y, y, y + 2 * yOf }, 3); |
530 |
|
} |
531 |
|
} |
532 |
|
} |
533 |
|
|
534 |
713 |
gg.setColor(Color.black); |
535 |
|
|
536 |
713 |
int maxX = 0; |
537 |
713 |
List<ScaleMark> marks = new ScaleRenderer().calculateMarks(av, startx, |
538 |
|
endx); |
539 |
|
|
540 |
713 |
for (ScaleMark mark : marks) |
541 |
|
{ |
542 |
8462 |
boolean major = mark.major; |
543 |
8462 |
int mpos = mark.column; |
544 |
8462 |
String mstring = mark.text; |
545 |
8462 |
if (mstring != null) |
546 |
|
{ |
547 |
4057 |
if (mpos * avCharWidth > maxX) |
548 |
|
{ |
549 |
3942 |
gg.drawString(mstring, mpos * avCharWidth, y); |
550 |
3942 |
maxX = (mpos + 2) * avCharWidth + fm.stringWidth(mstring); |
551 |
|
} |
552 |
|
} |
553 |
8462 |
if (major) |
554 |
|
{ |
555 |
4057 |
gg.drawLine((mpos * avCharWidth) + (avCharWidth / 2), y + 2, |
556 |
|
(mpos * avCharWidth) + (avCharWidth / 2), y + (yOf * 2)); |
557 |
|
} |
558 |
|
else |
559 |
|
{ |
560 |
4405 |
gg.drawLine((mpos * avCharWidth) + (avCharWidth / 2), y + yOf, |
561 |
|
(mpos * avCharWidth) + (avCharWidth / 2), y + (yOf * 2)); |
562 |
|
} |
563 |
|
} |
564 |
|
} |
565 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (4) |
Complexity: 4 |
Complexity Density: 2 |
|
566 |
406 |
@Override... |
567 |
|
public void propertyChange(PropertyChangeEvent evt) |
568 |
|
{ |
569 |
|
|
570 |
|
|
571 |
|
|
572 |
|
|
573 |
|
|
574 |
|
|
575 |
406 |
if (evt.getPropertyName().equals(ViewportRanges.STARTRES) |
576 |
|
|| evt.getPropertyName().equals(ViewportRanges.STARTRESANDSEQ) |
577 |
|
|| evt.getPropertyName().equals(ViewportRanges.MOVE_VIEWPORT)) |
578 |
|
{ |
579 |
|
|
580 |
|
|
581 |
|
|
582 |
|
|
583 |
|
|
584 |
30 |
av.getAlignPanel().repaint(); |
585 |
|
} |
586 |
|
} |
587 |
|
|
588 |
|
} |