001 /*
002 * This file is part of the Echo Point Project. This project is a
003 * collection of Components that have extended the Echo Web Application
004 * Framework Version 3.
005 *
006 * Version: MPL 1.1
007 *
008 * The contents of this file are subject to the Mozilla Public License Version
009 * 1.1 (the "License"); you may not use this file except in compliance with
010 * the License. You may obtain a copy of the License at
011 * http://www.mozilla.org/MPL/
012 *
013 * Software distributed under the License is distributed on an "AS IS" basis,
014 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
015 * for the specific language governing rights and limitations under the
016 * License.
017 */
018
019 package echopoint.google.chart.model;
020
021 import java.io.Serializable;
022
023 /**
024 * A model object used to represent the range of a chart axis (and data).
025 *
026 * @author Rakesh 2008-08-10
027 * @version $Id: Range.java 63 2008-08-29 07:46:39Z sptrakesh $
028 */
029 public class Range implements Serializable
030 {
031 private static final long serialVersionUID = 1l;
032
033 /** The minimum (staring) number for this range. */
034 public final int minimum;
035
036 /** The maximum (ending) number for this range. */
037 public final int maximum;
038
039 /**
040 * Create a new instance using the specified values.
041 *
042 * @param minimum The {@link #minimum} value to use.
043 * @param maximum The {@link #maximum} value to use.
044 */
045 public Range( final int minimum, final int maximum )
046 {
047 this.minimum = minimum;
048 this.maximum = maximum;
049 }
050 }