Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/MultiLayerFillSymbolReader.java @ 181:0bde090506f9
Added comments.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Jul 2011 14:28:38 +0200 |
parents | fb93f20478cc |
children | df4e0946ef02 |
comparison
equal
deleted
inserted
replaced
180:f4eb506499f5 | 181:0bde090506f9 |
---|---|
25 /** | 25 /** |
26 * Private member. | 26 * Private member. |
27 */ | 27 */ |
28 private MultiLayerFillSymbol symbol; | 28 private MultiLayerFillSymbol symbol; |
29 | 29 |
30 /** | |
31 * Constructor with symbol. | |
32 * | |
33 * @param symbol The symbol used to display polygons. | |
34 */ | |
30 public MultiLayerFillSymbolReader(ISymbol symbol) | 35 public MultiLayerFillSymbolReader(ISymbol symbol) |
31 throws Exception { | 36 throws Exception { |
32 logger.debug("contructor()"); | 37 logger.debug("contructor()"); |
33 if(symbol instanceof MultiLayerFillSymbol) { | 38 if(symbol instanceof MultiLayerFillSymbol) { |
34 this.symbol = (MultiLayerFillSymbol)symbol; | 39 this.symbol = (MultiLayerFillSymbol)symbol; |
36 else { | 41 else { |
37 throw new Exception("Not a MultiLayerFillSymbol!"); | 42 throw new Exception("Not a MultiLayerFillSymbol!"); |
38 } | 43 } |
39 } | 44 } |
40 | 45 |
41 | 46 /** |
47 * Constructor with symbol. | |
48 * | |
49 * @param symbol The symbol used to display polygons. | |
50 */ | |
42 public MultiLayerFillSymbolReader(IFillSymbol symbol) | 51 public MultiLayerFillSymbolReader(IFillSymbol symbol) |
43 throws Exception { | 52 throws Exception { |
44 logger.debug("contructor()"); | 53 logger.debug("contructor()"); |
45 if(symbol instanceof MultiLayerFillSymbol) { | 54 if(symbol instanceof MultiLayerFillSymbol) { |
46 this.symbol = (MultiLayerFillSymbol)symbol; | 55 this.symbol = (MultiLayerFillSymbol)symbol; |