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