svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / core / FNullGeometry.java @ 885
History | View | Annotate | Download (1.89 KB)
1 | 262 | fjp | /* Generated by Together */
|
---|---|---|---|
2 | |||
3 | package com.iver.cit.gvsig.fmap.core; |
||
4 | |||
5 | import java.awt.Graphics2D; |
||
6 | import java.awt.geom.Rectangle2D; |
||
7 | |||
8 | 885 | fjp | import org.cresques.cts.ICoordTrans; |
9 | |||
10 | 262 | fjp | import com.iver.cit.gvsig.fmap.ViewPort; |
11 | 757 | fjp | import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
12 | 458 | fjp | import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
13 | 324 | fernando | import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
14 | 703 | fjp | import com.vividsolutions.jts.geom.Geometry; |
15 | 262 | fjp | |
16 | 305 | fjp | public class FNullGeometry implements IGeometry { |
17 | 262 | fjp | |
18 | /**
|
||
19 | 324 | fernando | * @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D, ViewPort, FStyle2D)
|
20 | 262 | fjp | */
|
21 | 324 | fernando | public void draw(Graphics2D g, ViewPort vp, FStyle2D symbol) { |
22 | 262 | fjp | } |
23 | |||
24 | |||
25 | /**
|
||
26 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#toJTSGeometry()
|
27 | 262 | fjp | */
|
28 | public Geometry toJTSGeometry() {
|
||
29 | return null; |
||
30 | } |
||
31 | |||
32 | /**
|
||
33 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#createLabels(int, boolean)
|
34 | 262 | fjp | */
|
35 | 757 | fjp | public FLabel[] createLabels(int position, boolean duplicates) { |
36 | 262 | fjp | return null; |
37 | } |
||
38 | |||
39 | 267 | fjp | |
40 | /* (non-Javadoc)
|
||
41 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#intersects(java.awt.geom.Rectangle2D)
|
42 | 267 | fjp | */
|
43 | public boolean intersects(Rectangle2D r) { |
||
44 | return false; |
||
45 | } |
||
46 | |||
47 | |||
48 | /* (non-Javadoc)
|
||
49 | 305 | fjp | * @see com.iver.cit.gvsig.fmap.core.IGeometry#getBounds2D()
|
50 | 267 | fjp | */
|
51 | public Rectangle2D getBounds2D() { |
||
52 | return null; |
||
53 | } |
||
54 | |||
55 | 324 | fernando | |
56 | /**
|
||
57 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#getGeometryType()
|
||
58 | */
|
||
59 | public int getGeometryType() { |
||
60 | return FShape.NULL;
|
||
61 | } |
||
62 | |||
63 | 458 | fjp | |
64 | /* (non-Javadoc)
|
||
65 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)
|
||
66 | */
|
||
67 | public void draw(Graphics2D g, ViewPort vp, FSymbol symbol) { |
||
68 | |||
69 | } |
||
70 | |||
71 | 703 | fjp | |
72 | /* (non-Javadoc)
|
||
73 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#cloneGeometry()
|
||
74 | */
|
||
75 | public IGeometry cloneGeometry() {
|
||
76 | return null; |
||
77 | } |
||
78 | |||
79 | 885 | fjp | |
80 | /* (non-Javadoc)
|
||
81 | * @see com.iver.cit.gvsig.fmap.core.IGeometry#reProject(org.cresques.cts.ICoordTrans)
|
||
82 | */
|
||
83 | public void reProject(ICoordTrans ct) { |
||
84 | |||
85 | } |
||
86 | |||
87 | 262 | fjp | } |