/[schmitzm]/trunk/src/skrueger/geotools/MapView.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/MapView.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/1.0-gt2-2.6/src/skrueger/geotools/MapView.java revision 516 by alfonx, Wed Nov 11 21:17:33 2009 UTC trunk/src/skrueger/geotools/MapView.java revision 1065 by alfonx, Mon Sep 27 19:36:52 2010 UTC
# Line 25  Line 25 
25   *   *
26   * Contributors:   * Contributors:
27   *     Martin O. J. Schmitz - initial API and implementation   *     Martin O. J. Schmitz - initial API and implementation
28   *     Stefan A. Krüger - additional utility classes   *     Stefan A. Tzeggai - additional utility classes
29   ******************************************************************************/   ******************************************************************************/
30  package skrueger.geotools;  package skrueger.geotools;
31    
# Line 79  public class MapView extends JPanel { Line 79  public class MapView extends JPanel {
79                  // Needed because variables for the overwritten methods                  // Needed because variables for the overwritten methods
80                  // are not yet set.                  // are not yet set.
81                  jToolBar = toolBar;                  jToolBar = toolBar;
82                    
83                    // By default the MapPane will render with antialiasing on
84                    getGeoMapPane().getMapPane()
85                                    .setAntiAliasing(true);
86          }          }
87    
88          /**          /**
# Line 238  public class MapView extends JPanel { Line 242  public class MapView extends JPanel {
242                  return jToolBar.getSelectedTool();                  return jToolBar.getSelectedTool();
243          }          }
244    
245            /**
246             * Help the garbage collection
247             */
248            public void dispose() {
249                    if (geoMapPane != null)
250                            geoMapPane.dispose();
251            }
252    
253  }  }

Legend:
Removed from v.516  
changed lines
  Added in v.1065

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26