Revision 12657 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/SimpleLineSymbol.java
SimpleLineSymbol.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.10 2007-06-29 13:07:01 jaume |
|
46 |
* Revision 1.11 2007-07-18 06:54:35 jaume |
|
47 |
* continuing with cartographic support |
|
48 |
* |
|
49 |
* Revision 1.10 2007/06/29 13:07:01 jaume |
|
47 | 50 |
* +PictureLineSymbol |
48 | 51 |
* |
49 | 52 |
* Revision 1.9 2007/06/07 06:50:40 jaume |
... | ... | |
173 | 176 |
public void setXMLEntity(XMLEntity xml) { |
174 | 177 |
setIsShapeVisible(xml.getBooleanProperty("isShapeVisible")); |
175 | 178 |
setDescription(xml.getStringProperty("desc")); |
176 |
setUnit(xml.getIntProperty("unit")); |
|
177 | 179 |
if (xml.contains("color")) |
178 | 180 |
setLineColor(StringUtilities. |
179 | 181 |
string2Color(xml.getStringProperty("color"))); |
180 | 182 |
setLineStyle((ILineStyle) SymbologyFactory.createStyleFromXML(xml.getChild(0), null)); |
183 |
setReferenceSystem(xml.getIntProperty("referenceSystem")); |
|
184 |
setUnit(xml.getIntProperty("unit")); |
|
181 | 185 |
} |
182 | 186 |
|
183 | 187 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) |
Also available in: Unified diff