getValue method added
authoramwaterhouse <Andrew Waterhouse>
Thu, 13 Jan 2005 18:11:59 +0000 (18:11 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 13 Jan 2005 18:11:59 +0000 (18:11 +0000)
src/jalview/gui/SliderPanel.java

index a18b084..dee77d5 100755 (executable)
@@ -86,4 +86,9 @@ public class SliderPanel extends GSliderPanel
       valueField.setText( slider.getValue()+"" );\r
     }\r
   }\r
+\r
+  public int getValue()\r
+  {\r
+    return Integer.parseInt(valueField.getText());\r
+  }\r
 }\r