updated jalview version of dasobert 1.53e client and added Das Sequence Source discov...
[jalview.git] / src / org / biojava / dasobert / feature / HistogramSegment.java
1 /*
2  *                  BioJava development code
3  *
4  * This code may be freely distributed and modified under the
5  * terms of the GNU Lesser General Public Licence.  This should
6  * be distributed with the code.  If you do not have a copy,
7  * see:
8  *
9  *      http://www.gnu.org/copyleft/lesser.html
10  *
11  * Copyright for this code is held jointly by the individual
12  * authors.  These should be listed in @author doc comments.
13  *
14  * For more information on the BioJava project and its aims,
15  * or to join the biojava-l mailing list, visit the home page
16  * at:
17  *
18  *      http://www.biojava.org/
19  * 
20  * Created on May 22, 2007
21  * 
22  */
23
24 package org.biojava.dasobert.feature;
25
26 /** a Histogram segment is an extension of the standard Segment with a score
27  * 
28  * @author Andreas Prlic
29  *
30  */ 
31 public class HistogramSegment extends AbstractSegment {
32
33         double score;
34         
35         public HistogramSegment() {
36                 super();
37                 
38         }
39
40         public double getScore() {
41                 return score;
42         }
43
44         public void setScore(double score) {
45                 this.score = score;
46         }
47         
48         
49         public Object clone(){
50         
51         Segment s = new HistogramSegment();
52         s.setStart(start);
53         s.setEnd(end);
54         s.setName(name);
55         s.setColor(color);
56         s.setTxtColor(txtColor);
57         s.setNote(note);
58         return s;
59         
60     }
61         
62         
63         
64         
65 }