View Javadoc

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