01: /*
02: * uDig - User Friendly Desktop Internet GIS client
03: * http://udig.refractions.net
04: * (C) 2004, Refractions Research Inc.
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: */
17: package net.refractions.udig.printing.model;
18:
19: import java.util.List;
20:
21: import net.refractions.udig.project.internal.ProjectElement;
22:
23: /**
24: * Represents a set of positioned Boxes to be drawn.
25: * This class is generally used to draw the boxes on the screen and position
26: * them according to a user's wish. They can be repositioned by accessing
27: * the location and size properties on each individual Box.
28: *
29: * @author Richard Gould
30: * @since 0.3
31: * @model
32: */
33: public interface Page extends Element, ProjectElement {
34:
35: /**
36: * Each Box represents an item to be drawn and printed, and can be
37: * resized and repositioned.
38: *
39: * @return the List of Boxes on this Page
40: * @model containment="true" resolveProxy="false" type="net.refractions.udig.printing.model.Box"
41: */
42: public List<Box> getBoxes();
43: }
|