Revision 9511 org.gvsig.legend.dotdensity.app.mainplugin/trunk/org.gvsig.legend.dotdensity.app.mainplugin/src/main/java/org/gvsig/symbology/fmap/rendering/DotDensityLegend.java
DotDensityLegend.java | ||
---|---|---|
16 | 16 |
* along with this program; if not, write to the Free Software |
17 | 17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
18 | 18 |
* |
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Generalitat Valenciana |
|
22 |
* Conselleria d'Infraestructures i Transport |
|
23 |
* Av. Blasco Ib??ez, 50 |
|
24 |
* 46010 VALENCIA |
|
25 |
* SPAIN |
|
26 |
* |
|
27 |
* +34 963862235 |
|
28 |
* gvsig@gva.es |
|
29 |
* www.gvsig.gva.es |
|
30 |
* |
|
31 |
* or |
|
32 |
* |
|
33 |
* IVER T.I. S.A |
|
34 |
* Salamanca 50 |
|
35 |
* 46005 Valencia |
|
36 |
* Spain |
|
37 |
* |
|
38 |
* +34 963163400 |
|
39 |
* dac@iver.es |
|
40 | 19 |
*/ |
41 | 20 |
|
42 |
/* CVS MESSAGES: |
|
43 |
* |
|
44 |
* $Id: DotDensityLegend.java 14420 2007-10-04 11:23:36Z jvidal $ |
|
45 |
* $Log$ |
|
46 |
* Revision 1.6 2007-09-19 16:25:39 jaume |
|
47 |
* ReadExpansionFileException removed from this context and removed unnecessary imports |
|
48 |
* |
|
49 |
* Revision 1.5 2007/07/25 07:13:34 jaume |
|
50 |
* code style |
|
51 |
* |
|
52 |
* Revision 1.4 2007/05/17 09:32:06 jaume |
|
53 |
* *** empty log message *** |
|
54 |
* |
|
55 |
* Revision 1.3 2007/03/09 11:20:56 jaume |
|
56 |
* Advanced symbology (start committing) |
|
57 |
* |
|
58 |
* Revision 1.2.2.5 2007/02/21 07:34:09 jaume |
|
59 |
* labeling starts working |
|
60 |
* |
|
61 |
* Revision 1.2.2.4 2007/02/15 16:23:44 jaume |
|
62 |
* *** empty log message *** |
|
63 |
* |
|
64 |
* Revision 1.2.2.3 2007/02/12 15:15:20 jaume |
|
65 |
* refactored interval legend and added graduated symbol legend |
|
66 |
* |
|
67 |
* Revision 1.2.2.2 2007/02/09 07:47:04 jaume |
|
68 |
* Isymbol moved |
|
69 |
* |
|
70 |
* Revision 1.2.2.1 2007/01/26 13:48:17 jaume |
|
71 |
* *** empty log message *** |
|
72 |
* |
|
73 |
* Revision 1.2 2007/01/16 11:50:50 jaume |
|
74 |
* *** empty log message *** |
|
75 |
* |
|
76 |
* Revision 1.1 2007/01/10 16:39:41 jaume |
|
77 |
* ISymbol now belongs to com.iver.cit.gvsig.fmap.core.symbols package |
|
78 |
* |
|
79 |
* Revision 1.2 2006/11/17 12:49:58 jaume |
|
80 |
* *** empty log message *** |
|
81 |
* |
|
82 |
* Revision 1.1 2006/11/14 12:30:26 jaume |
|
83 |
* *** empty log message *** |
|
84 |
* |
|
85 |
* |
|
86 |
*/ |
|
87 | 21 |
package org.gvsig.symbology.fmap.rendering; |
88 | 22 |
|
89 | 23 |
import java.awt.Color; |
... | ... | |
118 | 52 |
* in the surface. |
119 | 53 |
* |
120 | 54 |
* |
121 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
|
122 | 55 |
*/ |
123 | 56 |
public class DotDensityLegend extends VectorialUniqueValueLegend { |
124 | 57 |
|
... | ... | |
375 | 308 |
return resp; |
376 | 309 |
} |
377 | 310 |
|
311 |
public String[] getDescriptions() { |
|
312 |
try { |
|
313 |
return new String[]{String.format("%s, %.3f",getClassifyingFieldNames()[0], getDotValue())}; |
|
314 |
}catch (Exception ex){ |
|
315 |
return new String[]{"Dot density"}; |
|
316 |
} |
|
317 |
} |
|
378 | 318 |
|
379 | 319 |
} |
Also available in: Unified diff