1 /*-------------------------------------------------------------------------- 2 * Copyright 2007 utgenome.org 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 *--------------------------------------------------------------------------*/ 16 //-------------------------------------- 17 // UTGBMedaka Project 18 // 19 // TrackWindow.java 20 // Since: Aug 9, 2007 21 // 22 // $URL$ 23 // $Author$ 24 //-------------------------------------- 25 package org.utgenome.gwt.utgb.client.track.bean; 26 27 import com.google.gwt.user.client.rpc.IsSerializable; 28 29 public class TrackWindowBean implements IsSerializable 30 { 31 private int start; 32 private int end; 33 private int width; 34 35 public TrackWindowBean() 36 { 37 38 } 39 40 /** 41 * @param start 42 * @param end 43 * @param width 44 */ 45 public TrackWindowBean(int start, int end, int width) 46 { 47 this.start = start; 48 this.end = end; 49 this.width = width; 50 } 51 52 public int getStart() 53 { 54 return start; 55 } 56 57 public void setStart(int start) 58 { 59 this.start = start; 60 } 61 62 public int getEnd() 63 { 64 return end; 65 } 66 67 public void setEnd(int end) 68 { 69 this.end = end; 70 } 71 72 public int getWidth() 73 { 74 return width; 75 } 76 77 public void setWidth(int width) 78 { 79 this.width = width; 80 } 81 82 } 83 84 85 86