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.legend.ui;
18:
19: import java.awt.Color;
20:
21: public class LegendStyle {
22: public int verticalMargin; //distance between border and icons/text
23: public int horizontalMargin; //distance between border and icons/text
24: public int verticalSpacing; //distance between layers
25: public int horizontalSpacing; //space between image and text
26: public Color foregroundColour;
27: public Color backgroundColour;
28: public int indentSize;
29: public int imageWidth;
30: public int imageHeight; //size of image
31: public int maxHeight;
32: public int maxWidth;
33: }
|