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