git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apply jalview code style
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationPanel.java
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
fdd727f
..
c3f17f9
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-104,7
+104,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
public void actionPerformed(ActionEvent evt)
{
AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();
public void actionPerformed(ActionEvent evt)
{
AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();
- if (aa==null)
+ if (aa == null)
{
return;
}
{
return;
}
@@
-329,7
+329,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
if (needValidating)
{
ap.validate();
if (needValidating)
{
ap.validate();
- needValidating=false;
+ needValidating = false;
}
ap.scalePanel.mouseReleased(evt);
}
}
ap.scalePanel.mouseReleased(evt);
}
@@
-337,7
+337,9
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
public void mouseClicked(MouseEvent evt)
{
}
public void mouseClicked(MouseEvent evt)
{
}
- boolean needValidating=false;
+
+ boolean needValidating = false;
+
public void mouseDragged(MouseEvent evt)
{
if (graphStretch > -1)
public void mouseDragged(MouseEvent evt)
{
if (graphStretch > -1)
@@
-350,7
+352,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
}
graphStretchY = evt.getY();
adjustPanelHeight();
}
graphStretchY = evt.getY();
adjustPanelHeight();
- needValidating=true;
+ needValidating = true;
ap.paintAlignment(true);
}
else
ap.paintAlignment(true);
}
else
@@
-453,7
+455,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
height += aa[i].height;
}
}
height += aa[i].height;
}
}
- if (height==0)
+ if (height == 0)
{
height = 20;
}
{
height = 20;
}
@@
-697,9
+699,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
if (v == column)
{
if (v == column)
{
- g
- .fillRect(x * av.charWidth, y, av.charWidth,
- av.charHeight);
+ g.fillRect(x * av.charWidth, y, av.charWidth, av.charHeight);
}
}
}
}
}
}
@@
-877,9
+877,7
@@
public class AnnotationPanel extends Panel implements AdjustmentListener,
if (sCol == 0 || row.annotations[sCol - 1] == null
|| row.annotations[sCol - 1].secondaryStructure != 'H')
{
if (sCol == 0 || row.annotations[sCol - 1] == null
|| row.annotations[sCol - 1].secondaryStructure != 'H')
{
- g
- .fillArc(lastSSX, y + 4 + iconOffset, av.charWidth, 8,
- 90, 180);
+ g.fillArc(lastSSX, y + 4 + iconOffset, av.charWidth, 8, 90, 180);
x1 += av.charWidth / 2;
}
x1 += av.charWidth / 2;
}