/[schmitzm]/branches/2.0-RC2/src/skrueger/geotools/XMapPane.java
ViewVC logotype

Diff of /branches/2.0-RC2/src/skrueger/geotools/XMapPane.java

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

revision 560 by alfonx, Tue Nov 24 14:57:05 2009 UTC revision 561 by mojays, Tue Nov 24 15:02:27 2009 UTC
# Line 28  import java.util.Vector; Line 28  import java.util.Vector;
28    
29  import javax.jws.soap.SOAPBinding.Style;  import javax.jws.soap.SOAPBinding.Style;
30  import javax.swing.Timer;  import javax.swing.Timer;
31    import javax.swing.border.Border;
32    
33  import org.apache.log4j.Logger;  import org.apache.log4j.Logger;
34  import org.geotools.feature.FeatureCollection;  import org.geotools.feature.FeatureCollection;
# Line 1720  public class XMapPane extends JPanel { Line 1721  public class XMapPane extends JPanel {
1721                  requestStartRendering();                  requestStartRendering();
1722    
1723          }          }
1724            
1725            public void setBorder(Border b) {
1726              super.setBorder(b);
1727            }
1728    
1729          /**          /**
1730           * Triggers to repaint (fast) and re-render (slow) the JMapPane.           * Triggers to repaint (fast) and re-render (slow) the JMapPane.
# Line 1741  public class XMapPane extends JPanel { Line 1746  public class XMapPane extends JPanel {
1746          // repaint();          // repaint();
1747          // }          // }
1748    
1749        /**
1750         * Set the new map area.
1751         * @param newMapArea
1752         * @return <code>true</code> if the mapArea has been changed and a repaint
1753         *         has been triggered.
1754         */
1755          public boolean setMapArea(final Envelope newMapArea) {          public boolean setMapArea(final Envelope newMapArea) {
1756                  if (newMapArea == null)                  if (newMapArea == null)
1757                          return false;                          return false;
# Line 1751  public class XMapPane extends JPanel { Line 1762  public class XMapPane extends JPanel {
1762          }          }
1763    
1764          /**          /**
1765         * Set the new map area.
1766           * @param newMapArea           * @param newMapArea
1767           * @return <code>true</code> if the mapArea has been changed and a repaint           * @return <code>true</code> if the mapArea has been changed and a repaint
1768           *         has been triggered.           *         has been triggered.

Legend:
Removed from v.560  
changed lines
  Added in v.561

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26