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