svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.geometry / org.gvsig.fmap.geometry.api / src / main / java / org / gvsig / fmap / geom / GeometryInformationBuilder.java @ 43170
History | View | Annotate | Download (2.5 KB)
1 |
package org.gvsig.fmap.geom; |
---|---|
2 |
|
3 |
import org.cresques.cts.IProjection; |
4 |
|
5 |
import org.gvsig.fmap.geom.Geometry; |
6 |
import org.gvsig.fmap.geom.primitive.Envelope; |
7 |
import org.gvsig.tools.util.InformationBuilder; |
8 |
|
9 |
public interface GeometryInformationBuilder extends InformationBuilder { |
10 |
|
11 |
public interface GeometryRawElement extends RawElement { |
12 |
|
13 |
public GeometryRawElement value(IProjection proj);
|
14 |
|
15 |
public GeometryRawElement value(Envelope env);
|
16 |
|
17 |
public GeometryRawElement value(Geometry geom);
|
18 |
|
19 |
public GeometryRawElement asWKT(IProjection proj);
|
20 |
|
21 |
public GeometryRawElement asWKT(Envelope env);
|
22 |
|
23 |
public GeometryRawElement asWKT(Geometry geom);
|
24 |
} |
25 |
|
26 |
public interface GeometryTextElement extends TextElement, GeometryRawElement { |
27 |
|
28 |
@Override
|
29 |
public GeometryTextElement value(IProjection proj);
|
30 |
|
31 |
@Override
|
32 |
public GeometryTextElement value(Envelope env);
|
33 |
|
34 |
@Override
|
35 |
public GeometryTextElement value(Geometry geom);
|
36 |
|
37 |
@Override
|
38 |
public GeometryTextElement asWKT(IProjection proj);
|
39 |
|
40 |
@Override
|
41 |
public GeometryTextElement asWKT(Envelope env);
|
42 |
|
43 |
@Override
|
44 |
public GeometryTextElement asWKT(Geometry geom);
|
45 |
} |
46 |
|
47 |
public interface GeometryPropertyElement extends PropertyElement, GeometryTextElement { |
48 |
|
49 |
@Override
|
50 |
public GeometryPropertyElement value(IProjection proj);
|
51 |
|
52 |
@Override
|
53 |
public GeometryPropertyElement value(Envelope env);
|
54 |
|
55 |
@Override
|
56 |
public GeometryPropertyElement value(Geometry geom);
|
57 |
|
58 |
@Override
|
59 |
public GeometryPropertyElement asWKT(IProjection proj);
|
60 |
|
61 |
@Override
|
62 |
public GeometryPropertyElement asWKT(Envelope env);
|
63 |
|
64 |
@Override
|
65 |
public GeometryPropertyElement asWKT(Geometry geom);
|
66 |
} |
67 |
|
68 |
public interface EnvelopeElement extends Element { |
69 |
|
70 |
public EnvelopeElement value(Envelope value);
|
71 |
} |
72 |
|
73 |
public GeometryInformationBuilder backgroundColor(String color); |
74 |
|
75 |
public GeometryInformationBuilder backgroundColorTitle(String color); |
76 |
|
77 |
public GeometryInformationBuilder backgroundColorPropertyLabel(String color); |
78 |
|
79 |
public GeometryInformationBuilder backgroundColorPropertyValue1(String color); |
80 |
|
81 |
public GeometryInformationBuilder backgroundColorPropertyValue2(String color); |
82 |
|
83 |
public TitleElement title();
|
84 |
|
85 |
public GeometryPropertyElement property();
|
86 |
|
87 |
public GeometryTextElement text();
|
88 |
|
89 |
public GeometryRawElement raw();
|
90 |
|
91 |
public EnvelopeElement envelope();
|
92 |
|
93 |
public String build(); |
94 |
|
95 |
} |