root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / project / documents / layout / fframes / FFrameGrid.java @ 9392
History | View | Annotate | Download (2.13 KB)
1 |
package com.iver.cit.gvsig.project.documents.layout.fframes; |
---|---|
2 |
|
3 |
import java.awt.Color; |
4 |
import java.awt.Graphics2D; |
5 |
import java.awt.geom.AffineTransform; |
6 |
import java.awt.geom.Rectangle2D; |
7 |
import java.awt.image.BufferedImage; |
8 |
|
9 |
import com.iver.cit.gvsig.fmap.DriverException; |
10 |
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.dialogs.FFrameGridDialog; |
11 |
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.dialogs.IFFrameDialog; |
12 |
import com.iver.cit.gvsig.project.documents.layout.gui.Layout; |
13 |
import com.iver.utiles.XMLEntity; |
14 |
|
15 |
|
16 |
|
17 |
/**
|
18 |
* FFrame para introducir una cuadr?cula sobre una vista en el Layout.
|
19 |
*
|
20 |
* @author Vicente Caballero Navarro
|
21 |
*/
|
22 |
public class FFrameGrid extends FFrame implements IFFrameViewDependence{ |
23 |
|
24 |
private FFrameView fframeview;
|
25 |
private double interval; |
26 |
private double lineWidth; |
27 |
private Color textColor; |
28 |
private Color lineColor; |
29 |
private boolean isLine; |
30 |
|
31 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D r, BufferedImage imgBase) throws DriverException { |
32 |
// TODO Auto-generated method stub
|
33 |
|
34 |
} |
35 |
|
36 |
public void print(Graphics2D g, AffineTransform at) throws DriverException { |
37 |
// TODO Auto-generated method stub
|
38 |
|
39 |
} |
40 |
|
41 |
public void setXMLEntity(XMLEntity xml) { |
42 |
// TODO Auto-generated method stub
|
43 |
|
44 |
} |
45 |
|
46 |
public void setXMLEntity03(XMLEntity xml, Layout l) { |
47 |
// TODO Auto-generated method stub
|
48 |
|
49 |
} |
50 |
|
51 |
public String getNameFFrame() { |
52 |
// TODO Auto-generated method stub
|
53 |
return null; |
54 |
} |
55 |
|
56 |
public void cloneActions(IFFrame frame) { |
57 |
// TODO Auto-generated method stub
|
58 |
|
59 |
} |
60 |
|
61 |
public void setFFrameDependence(IFFrame f) { |
62 |
fframeview=(FFrameView)f; |
63 |
|
64 |
} |
65 |
|
66 |
public IFFrame getFFrameDependence() {
|
67 |
return fframeview;
|
68 |
} |
69 |
|
70 |
public void initDependence(IFFrame[] fframes) { |
71 |
// TODO Auto-generated method stub
|
72 |
} |
73 |
|
74 |
public void setInterval(double d) { |
75 |
interval=d; |
76 |
} |
77 |
|
78 |
public void setLineWidth(double d) { |
79 |
lineWidth=d; |
80 |
} |
81 |
|
82 |
public void setTextColor(Color textcolor) { |
83 |
textColor=textcolor; |
84 |
} |
85 |
|
86 |
public void setLineColor(Color linecolor) { |
87 |
lineColor=linecolor; |
88 |
} |
89 |
|
90 |
public void setIsLine(boolean b) { |
91 |
isLine=b; |
92 |
} |
93 |
|
94 |
public IFFrameDialog getPropertyDialog() {
|
95 |
return new FFrameGridDialog(getLayout(),this); |
96 |
} |
97 |
|
98 |
|
99 |
|
100 |
} |