Revision 10809

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/SimpleLineSymbol.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.5  2007-03-09 11:20:56  jaume
46
* Revision 1.6  2007-03-20 16:02:24  jaume
47
* rename method
48
*
49
* Revision 1.5  2007/03/09 11:20:56  jaume
47 50
* Advanced symbology (start committing)
48 51
*
49 52
* Revision 1.3.2.5  2007/02/21 07:34:09  jaume
......
157 160
		setIsShapeVisible(xml.getBooleanProperty("isShapeVisible"));
158 161
		setDescription(xml.getStringProperty("desc"));
159 162
		if (xml.contains("color"))
160
			setColor(StringUtilities.
163
			setLineColor(StringUtilities.
161 164
				string2Color(xml.getStringProperty("color")));
162 165
		setLineStyle((ILineStyle) SymbologyFactory.createStyleFromXML(xml.getChild(0), null));
163 166
	}
......
169 172

  
170 173
	}
171 174

  
172
	public void setWidth(double width) {
175
	public void setLineWidth(double width) {
173 176
		getLineStyle().setLineWidth((float) width);
174 177
	}
175 178

  
176
	public double getWidth() {
179
	public double getLineWidth() {
177 180
		return getLineStyle().getLineWidth();
178 181
	}
179 182

  
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/AbstractLineSymbol.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2007-03-09 11:20:56  jaume
46
* Revision 1.4  2007-03-20 16:00:00  jaume
47
* rename method
48
*
49
* Revision 1.3  2007/03/09 11:20:56  jaume
47 50
* Advanced symbology (start committing)
48 51
*
49 52
* Revision 1.2.2.3  2007/02/21 16:09:02  jaume
......
101 104
	 * @param color
102 105
	 * @uml.property  name="color"
103 106
	 */
104
	public final void setColor(Color color) {
107
	public final void setLineColor(Color color) {
105 108
		this.color = color;
106 109
	}
107 110

  

Also available in: Unified diff