Revision 16846
trunk/extensions/extAnimationCommon/src/com/iver/cit/gvsig/animation/KeyFrameTransparency.java | ||
---|---|---|
21 | 21 |
private String name; |
22 | 22 |
private double time; |
23 | 23 |
private int levelTransparency; |
24 |
private boolean visibility; |
|
24 | 25 |
private String nameLayer; |
25 | 26 |
private FLyrDefault layerDefault; |
26 | 27 |
|
... | ... | |
32 | 33 |
/** |
33 | 34 |
* |
34 | 35 |
* @see com.iver.cit.gvsig.animation.keyframe.IKeyFrame#CapturesProperties() |
35 |
* Capturing the property transparency of the layer. |
|
36 |
* Capturing the property transparency of the layer and the property is selected?.
|
|
36 | 37 |
*/ |
37 | 38 |
|
38 | 39 |
public void CapturesProperties() { |
39 |
if (layerDefault != null) |
|
40 |
if (layerDefault != null){
|
|
40 | 41 |
levelTransparency = this.layerDefault.getTransparency(); |
42 |
visibility = this.layerDefault.isVisible();//Check box is selected?. |
|
43 |
} |
|
41 | 44 |
} |
42 | 45 |
|
43 | 46 |
/** |
trunk/extensions/extAnimationCommon/src/com/iver/cit/gvsig/animation/AnimationTransparency.java | ||
---|---|---|
61 | 61 |
// long antes = System.currentTimeMillis(); |
62 | 62 |
|
63 | 63 |
layer.setTransparency(trans); |
64 |
layer.setDirty(true); |
|
64 | 65 |
layer.getMapContext().invalidate(); |
65 |
|
|
66 | 66 |
|
67 | 67 |
// System.err.println("despues: " + System.currentTimeMillis()); |
68 | 68 |
// long despues = System.currentTimeMillis(); |
Also available in: Unified diff