1 | /* |
---|
2 | * $Id: DataKey.java,v 1.2 2003/08/22 23:02:31 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 | |
---|
13 | package gov.noaa.pmel.sgt; |
---|
14 | |
---|
15 | import gov.noaa.pmel.util.Point2D; |
---|
16 | import gov.noaa.pmel.util.Rectangle2D; |
---|
17 | |
---|
18 | /** |
---|
19 | * Inticates the class is a key or legend. |
---|
20 | * |
---|
21 | * @author Donald Denbo |
---|
22 | * @version $Revision: 1.2 $, $Date: 2003/08/22 23:02:31 $ |
---|
23 | * @since 3.0 |
---|
24 | * @stereotype container |
---|
25 | **/ |
---|
26 | public interface DataKey extends LayerChild { |
---|
27 | public void setLocationP(Point2D.Double locP); |
---|
28 | public void addGraph(CartesianRenderer rend, SGLabel label) |
---|
29 | throws IllegalArgumentException; |
---|
30 | public void setAlign(int vert, int horz); |
---|
31 | public void setHAlign(int horz); |
---|
32 | public void setVAlign(int vert); |
---|
33 | public void setBorderStyle(int style); |
---|
34 | public void setBoundsP(Rectangle2D.Double r); |
---|
35 | public void setColumns(int col); |
---|
36 | public void setLineLengthP(double len); |
---|
37 | } |
---|