1
2
3
4
5
6 package nl.javel.gisbeans.map;
7
8 import java.awt.Color;
9 import java.awt.Dimension;
10 import java.awt.Font;
11 import java.io.Serializable;
12
13 /***
14 * This interface defines the image as defined in the mapInterface
15 *
16 * @author <a href="mailto:paul.jacobs@javel.nl">Paul Jacobs </a>
17 * @since JDK 1.0
18 * @version 1.0
19 */
20 public interface LegendInterface extends Serializable
21 {
22 /***
23 * Getter for property backgroundColor.
24 *
25 * @return Color the value of property backgroundColor.
26 */
27 public Color getBackgroundColor();
28
29 /***
30 * Setter for property backgroundColor.
31 *
32 * @param backgroundColor New value of property backgroundColor.
33 */
34 public void setBackgroundColor(Color backgroundColor);
35
36 /***
37 * Getter for property outlineColor.
38 *
39 * @return Color the value of property outlineColor.
40 */
41 public Color getOutlineColor();
42
43 /***
44 * Setter for property outlineColor.
45 *
46 * @param outlineColor New value of property outlineColor.
47 */
48 public void setOutlineColor(Color outlineColor);
49
50 /***
51 * Getter for property outlineColor.
52 *
53 * @return Color the value of property outlineColor.
54 */
55 public Color getFontColor();
56
57 /***
58 * Setter for property outlineColor.
59 *
60 * @param fontColor New value of property fontColor.
61 */
62 public void setFontColor(Color fontColor);
63
64 /***
65 * Getter for property embed.
66 *
67 * @return boolean the value of property embed.
68 */
69 public boolean isEmbed();
70
71 /***
72 * Setter for property embed.
73 *
74 * @param embed New value of property embed.
75 */
76 public void setEmbed(boolean embed);
77
78 /***
79 * Getter for property position.
80 *
81 * @return int the value of property position.
82 */
83 public int getPosition();
84
85 /***
86 * Setter for property position.
87 *
88 * @param position New value of property position.
89 */
90 public void setPosition(int position);
91
92 /***
93 * Setter for property font
94 *
95 * @param font the font for the legendInterface
96 */
97 public void setFont(Font font);
98
99 /***
100 * Getter for the property font
101 *
102 * @return Font the font for the legend
103 */
104 public Font getFont();
105
106 /***
107 * Getter for property size.
108 *
109 * @return Dimension the value of property size.
110 */
111 public Dimension getSize();
112
113 /***
114 * Setter for property size.
115 *
116 * @param size New value of property size.
117 */
118 public void setSize(Dimension size);
119
120 /***
121 * Getter for property statuss.
122 *
123 * @return boolean the value of property status.
124 */
125 public boolean isStatus();
126
127 /***
128 * Setter for property status.
129 *
130 * @param status New value of property status.
131 */
132 public void setStatus(boolean status);
133 }