Revision 12209
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ViewPort.java | ||
---|---|---|
81 | 81 |
*/ |
82 | 82 |
private static int dpi = java.awt.Toolkit.getDefaultToolkit() |
83 | 83 |
.getScreenResolution(); |
84 |
private Rectangle2D extent;
|
|
85 |
private Rectangle2D adjustedExtent;
|
|
86 |
private ExtentHistory extents = new ExtentHistory();
|
|
84 |
protected Rectangle2D extent;
|
|
85 |
protected Rectangle2D adjustedExtent;
|
|
86 |
protected ExtentHistory extents = new ExtentHistory();
|
|
87 | 87 |
private Dimension imageSize; |
88 | 88 |
private AffineTransform trans = new AffineTransform(); |
89 | 89 |
private int distanceUnits = METROS; |
90 | 90 |
private int mapUnits = METROS; |
91 | 91 |
private ArrayList listeners = new ArrayList(); |
92 | 92 |
private Point2D offset = new Point2D.Double(0, 0); |
93 |
private Rectangle2D clip;
|
|
93 |
protected Rectangle2D clip;
|
|
94 | 94 |
private Color backColor = null; //Color.WHITE; |
95 |
private IProjection proj;
|
|
95 |
protected IProjection proj;
|
|
96 | 96 |
private double dist1pixel; |
97 | 97 |
private double dist3pixel; |
98 | 98 |
private double scale; |
... | ... | |
393 | 393 |
* |
394 | 394 |
* @param newRect Extent. |
395 | 395 |
*/ |
396 |
private void callExtentChanged(Rectangle2D newRect) {
|
|
396 |
protected void callExtentChanged(Rectangle2D newRect) {
|
|
397 | 397 |
ExtentEvent ev = ExtentEvent.createExtentEvent(newRect); |
398 | 398 |
|
399 | 399 |
for (int i = 0; i < listeners.size(); i++) { |
Also available in: Unified diff