Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/LineFillSymbolReader.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 |
---|---|
31 /** | 31 /** |
32 * Private member. | 32 * Private member. |
33 */ | 33 */ |
34 private LineFillSymbol symbol; | 34 private LineFillSymbol symbol; |
35 | 35 |
36 /** | |
37 * Constructor with symbol. | |
38 * | |
39 * @param symbol The symbol used to display polygons. | |
40 */ | |
36 public LineFillSymbolReader(ISymbol symbol) | 41 public LineFillSymbolReader(ISymbol symbol) |
37 throws Exception { | 42 throws Exception { |
38 logger.debug("contructor()"); | 43 logger.debug("contructor()"); |
39 if(symbol instanceof LineFillSymbol) { | 44 if(symbol instanceof LineFillSymbol) { |
40 this.symbol = (LineFillSymbol)symbol; | 45 this.symbol = (LineFillSymbol)symbol; |
42 else { | 47 else { |
43 throw new Exception("Not a LineFillSymbol!"); | 48 throw new Exception("Not a LineFillSymbol!"); |
44 } | 49 } |
45 } | 50 } |
46 | 51 |
47 | 52 /** |
53 * Constructor with symbol. | |
54 * | |
55 * @param symbol The symbol used to display polygons. | |
56 */ | |
48 public LineFillSymbolReader(IFillSymbol symbol) | 57 public LineFillSymbolReader(IFillSymbol symbol) |
49 throws Exception { | 58 throws Exception { |
50 logger.debug("contructor()"); | 59 logger.debug("contructor()"); |
51 if(symbol instanceof LineFillSymbol) { | 60 if(symbol instanceof LineFillSymbol) { |
52 this.symbol = (LineFillSymbol)symbol; | 61 this.symbol = (LineFillSymbol)symbol; |