source: ether_megapoli/trunk/service/implementation/gov2/noaa/pmel/sgt/contour/ContourLabel.java @ 192

Last change on this file since 192 was 192, checked in by vmipsl, 13 years ago

Servlet _ Contour en cours _ package gov2

File size: 1.3 KB
Line 
1/*
2 * $Id: ContourLabel.java,v 1.3 2001/02/02 20:27:37 dwd Exp $
3 *
4 * This software is provided by NOAA for full, free and open release.  It is
5 * understood by the recipient/user that NOAA assumes no liability for any
6 * errors contained in the code.  Although this software is released without
7 * conditions or restrictions in its use, it is expected that appropriate
8 * credit be given to its author and to the National Oceanic and Atmospheric
9 * Administration should the software be included by the recipient as an
10 * element in other product development.
11 */
12
13package gov.noaa.pmel.sgt.contour;
14
15import gov.noaa.pmel.sgt.SGLabel;
16
17/**
18 * Container for information about where labels should
19 * be inserted on a ContourLine.
20 *
21 * @author D. W. Denbo
22 * @version $Revision: 1.3 $, $Date: 2001/02/02 20:27:37 $
23 * @since 2.0
24 */
25class ContourLabel {
26  int index;
27
28  /**
29   * @label label
30   * @link aggregationByValue
31   * @supplierCardinality 1
32   */
33  SGLabel label;
34  double width;
35  double height;
36
37  public ContourLabel(int indx, SGLabel lab, double hgt, double wid) {
38    index = indx;
39    label = lab;
40    width = wid;
41    height = hgt;
42  }
43  public SGLabel getLabel() {
44    return label;
45  }
46  public int getIndex() {
47    return index;
48  }
49  public double getWidth() {
50    return width;
51  }
52  public double getHeight() {
53    return height;
54  }
55}
Note: See TracBrowser for help on using the repository browser.