From 48d771634c20c172ba99d675a2f8277ccc252333 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 15 Oct 2015 13:59:34 +0100 Subject: [PATCH] JAL-1923 formatting --- src/jalview/gui/TreeCanvas.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index aa79451..90c74be 100755 --- a/src/jalview/gui/TreeCanvas.java +++ b/src/jalview/gui/TreeCanvas.java @@ -546,6 +546,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, } // put printing in a thread to avoid painting problems + @Override public void run() { PrinterJob printJob = PrinterJob.getPrinterJob(); @@ -580,6 +581,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @throws PrinterException * DOCUMENT ME! */ + @Override public int print(Graphics pg, PageFormat pf, int pi) throws PrinterException { @@ -634,6 +636,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param g * DOCUMENT ME! */ + @Override public void paintComponent(Graphics g) { super.paintComponent(g); @@ -677,6 +680,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param fontSize * DOCUMENT ME! */ + @Override public void setFont(Font font) { this.font = font; @@ -749,6 +753,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param e * DOCUMENT ME! */ + @Override public void mouseReleased(MouseEvent e) { } @@ -759,6 +764,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param e * DOCUMENT ME! */ + @Override public void mouseEntered(MouseEvent e) { } @@ -769,6 +775,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param e * DOCUMENT ME! */ + @Override public void mouseExited(MouseEvent e) { } @@ -779,6 +786,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param e * DOCUMENT ME! */ + @Override public void mouseClicked(MouseEvent evt) { if (highlightNode != null) @@ -818,6 +826,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, } } + @Override public void mouseMoved(MouseEvent evt) { av.setCurrentTree(tree); @@ -843,6 +852,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, } } + @Override public void mouseDragged(MouseEvent ect) { } @@ -853,6 +863,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, * @param e * DOCUMENT ME! */ + @Override public void mousePressed(MouseEvent e) { av.setCurrentTree(tree); -- 1.7.10.2