From: amwaterhouse Date: Thu, 13 Jan 2005 18:11:59 +0000 (+0000) Subject: getValue method added X-Git-Tag: Release_2_0~769 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c19a33d7b0583a0f855be33d5640a3158ec77b60;p=jalview.git getValue method added --- diff --git a/src/jalview/gui/SliderPanel.java b/src/jalview/gui/SliderPanel.java index a18b084..dee77d5 100755 --- a/src/jalview/gui/SliderPanel.java +++ b/src/jalview/gui/SliderPanel.java @@ -86,4 +86,9 @@ public class SliderPanel extends GSliderPanel valueField.setText( slider.getValue()+"" ); } } + + public int getValue() + { + return Integer.parseInt(valueField.getText()); + } }