Revision 14426 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/VectorialIntervalLegend.java

View differences:

VectorialIntervalLegend.java
67 67
    private Color endColor = Color.blue;
68 68
    private ZSort zSort;
69 69
    /**
70
     * Crea un nuevo VectorialIntervalLegend.
70
     * Constructor method
71 71
     */
72 72
    public VectorialIntervalLegend() {
73 73
        //defaultSymbol = LegendFactory.DEFAULT_POLYGON_SYMBOL;
74 74
    }
75 75

  
76 76
    /**
77
     * Crea un nuevo VectorialIntervalLegend.
77
     * Constructor method
78 78
     *
79
     * @param type tipo de shape.
79
     * @param type type of the shape.
80 80
     */
81 81
    public VectorialIntervalLegend(int type) {
82 82
        setShapeType(type);
83 83
    }
84 84

  
85
    /**
86
	 * creates the SLD String that defines this legend type.
87
	 */
85

  
88 86
    public String getSLDString(String layerName) {
89 87

  
90 88
    	try{
......
143 141
	    }
144 142
    }
145 143

  
146
    /**
147
     * DOCUMENT ME!
148
     *
149
     * @return DOCUMENT ME!
150
     *
151
     * @see com.iver.cit.gvsig.fmap.rendering.ILegend#getXMLEntity()
152
     */
144
    
153 145
    public XMLEntity getXMLEntity() {
154 146
        XMLEntity xml = new XMLEntity();
155 147
        xml.putProperty("className", this.getClass().getName());
......
192 184
        return xml;
193 185
    }
194 186

  
195
    /**
196
     * Inserta los atributos del XMLEntity.
197
     *
198
     * @param xml XMLEntity.
199
     */
187
    
200 188
    public void setXMLEntity03(XMLEntity xml) {
201 189
        fieldNames = new String[] {xml.getStringProperty("fieldName")};
202 190
        index = xml.getIntProperty("index");
......
237 225
                    "endColor"));
238 226
    }
239 227

  
240
    /**
241
     * Inserta los atributos del XMLEntity.
242
     *
243
     * @param xml XMLEntity.
244
     */
228
   
245 229
    public void setXMLEntity(XMLEntity xml) {
246 230
        fieldNames = new String[] {xml.getStringProperty("fieldName")};
247 231
        index = xml.getIntProperty("index");
......
281 265
                    "endColor"));
282 266
    }
283 267

  
284
    /*
285
     * @see com.iver.cit.gvsig.fmap.rendering.ILegend#cloneLegend()
286
     */
268
    
287 269
    public ILegend cloneLegend() throws XMLException {
288 270
        return LegendFactory.createFromXML(getXMLEntity());
289 271
    }
290 272

  
291 273
    /**
292
	 * Devuelve el color final.
293
	 * @return  color final.
274
	 * Returns the final color
275
	 * @return Color  final color.
294 276
	 * @uml.property  name="endColor"
295 277
	 */
296 278
    public Color getEndColor() {
......
298 280
    }
299 281

  
300 282
    /**
301
	 * Inserta el color final.
302
	 * @param endColor  Color final.
283
	 * Inserts the final color.
284
	 * @param endColor final color.
303 285
	 * @uml.property  name="endColor"
304 286
	 */
305 287
    public void setEndColor(Color endColor) {
......
307 289
    }
308 290

  
309 291
    /**
310
	 * Devuelve el color inicial.
311
	 * @return  Color inicial.
292
	 * Returns the initial color.
293
	 * @return  Color initial color.
312 294
	 * @uml.property  name="startColor"
313 295
	 */
314 296
    public Color getStartColor() {
......
316 298
    }
317 299

  
318 300
    /**
319
	 * Inserta el color inicial.
320
	 * @param startColor  Color inicial.
301
	 * Inserts the initial color
302
	 * @param startColor initial color.
321 303
	 * @uml.property  name="startColor"
322 304
	 */
323 305
    public void setStartColor(Color startColor) {

Also available in: Unified diff