Statistics
| Revision:

gvsig-webmap / org.gvsig.bingmaps / trunk / org.gvsig.bingmaps / org.gvsig.bingmaps.swing / org.gvsig.bingmaps.swing.api / src / main / java / org / gvsig / bingmaps / swing / api / BingMapsConfigDataParameters.java @ 135

History | View | Annotate | Download (962 Bytes)

1
package org.gvsig.bingmaps.swing.api;
2

    
3
import java.net.URL;
4

    
5
import org.gvsig.tools.dynobject.DynObject;
6

    
7

    
8
/**
9
 * Parameter to initialize a BingMapsParametersPanel
10
 * @author dmartinezizquierdo
11
 *
12
 */
13
public interface BingMapsConfigDataParameters {
14

    
15
    /**
16
     * Sets the plugin configuration to be readed and updated
17
     * @param config
18
     */
19
    public void setConfig(DynObject config);
20

    
21
    /**
22
     * Returns last used api key, if exists.
23
     * @return String
24
     */
25
    public String getLastUsedApiKey();
26

    
27
    /**
28
     * Updates last used api key to be user in posterior uses
29
     * @param lastUsedApiKey
30
     */
31
    public void setLastUsedApiKey(String lastUsedApiKey);
32

    
33
    /**
34
     * Sets a URL pattern to form a URL to request Bing Static Maps API
35
     * @return String
36
     */
37
    public String getBingMapsURLMapPattern();
38

    
39
    /**
40
     * Gets the URL to request url disclaimer
41
     * @return String
42
     */
43
    public URL getDisclaimerURL();
44
}