svn-gvsig-desktop / branches / v02_desarrollo / libraries / sld / temp / org.gvsig.sldsupport.lib.api / src / main / java / org / gvsig / sldsupport / sld / graphic / SLDGraphic.java @ 40789
History | View | Annotate | Download (1.57 KB)
1 |
package org.gvsig.sldsupport.sld.graphic; |
---|---|
2 |
|
3 |
import java.util.ArrayList; |
4 |
import java.util.List; |
5 |
|
6 |
import org.gvsig.sldsupport.sld.filter.expression.SLDExpression; |
7 |
|
8 |
public class SLDGraphic { |
9 |
|
10 |
protected List<SLDGraphicStackElement> graphicStack = |
11 |
new ArrayList<SLDGraphicStackElement>(); |
12 |
protected SLDExpression opacity = null; |
13 |
protected SLDExpression size = null; |
14 |
protected SLDExpression rotation = null; |
15 |
|
16 |
protected SLDAnchorPoint anchor = null; |
17 |
protected SLDDisplacement displacement = null; |
18 |
|
19 |
public SLDGraphic() {
|
20 |
|
21 |
} |
22 |
|
23 |
|
24 |
/**
|
25 |
* Order matters, we use utility interface SLDGraphicStackElement
|
26 |
* This list is made of SLDMark and SLDExternalGraphic
|
27 |
*
|
28 |
* @return
|
29 |
*/
|
30 |
public List<SLDGraphicStackElement> getElementStack() { |
31 |
return graphicStack;
|
32 |
} |
33 |
|
34 |
|
35 |
public SLDExpression getOpacity() {
|
36 |
return this.opacity; |
37 |
} |
38 |
|
39 |
public SLDExpression getSize() {
|
40 |
return this.size; |
41 |
} |
42 |
|
43 |
public SLDExpression getRotation() {
|
44 |
return this.rotation; |
45 |
} |
46 |
|
47 |
// ====================================
|
48 |
|
49 |
public void setOpacity(SLDExpression opa) { |
50 |
this.opacity = opa;
|
51 |
} |
52 |
|
53 |
public void setSize(SLDExpression sz) { |
54 |
this.size = sz;
|
55 |
} |
56 |
|
57 |
public void setRotation(SLDExpression rot) { |
58 |
this.rotation = rot;
|
59 |
} |
60 |
|
61 |
|
62 |
public SLDAnchorPoint getAnchor() {
|
63 |
return anchor;
|
64 |
} |
65 |
|
66 |
|
67 |
public void setAnchor(SLDAnchorPoint anchor) { |
68 |
this.anchor = anchor;
|
69 |
} |
70 |
|
71 |
|
72 |
public SLDDisplacement getDisplacement() {
|
73 |
return displacement;
|
74 |
} |
75 |
|
76 |
|
77 |
public void setDisplacement(SLDDisplacement displacement) { |
78 |
this.displacement = displacement;
|
79 |
} |
80 |
|
81 |
|
82 |
} |