Revision 10986 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/SimpleFill.java
SimpleFill.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.3 2007-03-28 16:44:08 jaume
|
|
46 |
* Revision 1.4 2007-03-30 09:39:45 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.3 2007/03/28 16:44:08 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.2 2007/03/09 11:25:00 jaume |
50 | 53 |
* Advanced symbology (start committing) |
51 | 54 |
* |
... | ... | |
189 | 192 |
} else { |
190 | 193 |
sym = (SimpleFillSymbol) layer; |
191 | 194 |
jccFillColor.setColor(sym.getFillColor()); |
192 |
sldFillTransparency.setValue((sym.getFillColor().getAlpha()/255)*100); |
|
195 |
int value = 100; |
|
196 |
Color c = sym.getFillColor(); |
|
197 |
if (c!=null) { |
|
198 |
value = (c.getAlpha()/255)*100; |
|
199 |
} |
|
200 |
sldFillTransparency.setValue(value); |
|
193 | 201 |
btnOutline.setSymbol(sym.getOutline()); |
194 | 202 |
ILineSymbol outline = sym.getOutline(); |
195 | 203 |
if (outline != null) { |
Also available in: Unified diff