JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / src / jalview / datamodel / RnaViewerModel.java
1 package jalview.datamodel;
2
3
4 /**
5  * A data bean class to hold properties of an RNA viewer
6  */
7 public class RnaViewerModel
8 {
9   public final String viewId;
10
11   public final String title;
12
13   public final int x;
14
15   public final int y;
16
17   public final int width;
18
19   public final int height;
20
21   public final int dividerLocation;
22
23   /**
24    * Constructor
25    * 
26    * @param viewId
27    * @param title
28    * @param xpos
29    * @param ypos
30    * @param width
31    * @param height
32    * @param dividerLocation
33    */
34   public RnaViewerModel(String viewId, String title, int xpos, int ypos,
35           int width,
36  int height, int dividerLocation)
37   {
38     this.viewId = viewId;
39     this.title = title;
40     this.x = xpos;
41     this.y = ypos;
42     this.width = width;
43     this.height = height;
44     this.dividerLocation = dividerLocation;
45   }
46 }