be166f06ea0fc79e265b400e07221e948499bf0d
[jalview.git] / src / jalview / datamodel / RnaViewerModel.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3  * Copyright (C) $$Year-Rel$$ The Jalview Authors
4  * 
5  * This file is part of Jalview.
6  * 
7  * Jalview is free software: you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License 
9  * as published by the Free Software Foundation, either version 3
10  * of the License, or (at your option) any later version.
11  *  
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
19  * The Jalview Authors are detailed in the 'AUTHORS' file.
20  */
21 package jalview.datamodel;
22
23 /**
24  * A data bean class to hold properties of an RNA viewer
25  */
26 public class RnaViewerModel
27 {
28   public final String viewId;
29
30   public final String title;
31
32   public final int x;
33
34   public final int y;
35
36   public final int width;
37
38   public final int height;
39
40   public final int dividerLocation;
41
42   /**
43    * Constructor
44    * 
45    * @param viewId
46    * @param title
47    * @param xpos
48    * @param ypos
49    * @param width
50    * @param height
51    * @param dividerLocation
52    */
53   public RnaViewerModel(String viewId, String title, int xpos, int ypos,
54           int width, int height, int dividerLocation)
55   {
56     this.viewId = viewId;
57     this.title = title;
58     this.x = xpos;
59     this.y = ypos;
60     this.width = width;
61     this.height = height;
62     this.dividerLocation = dividerLocation;
63   }
64 }