Changeset 31143 in osm for applications/viewer/jmapviewer


Ignore:
Timestamp:
2015-05-23T09:09:39+02:00 (9 years ago)
Author:
wiktorn
Message:

Java docs for @31142, addresses #josm11456

Location:
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java

    r31142 r31143  
    330330    }
    331331
     332    /**
     333     * returns the metadata of the Tile
     334     *
     335     * @param key metadata key that should be returned
     336     * @return null if no such metadata exists, or the value of the metadata
     337     */
    332338    public String getValue(String key) {
    333339        if (metadata == null) return null;
     
    335341    }
    336342
     343    /**
     344     *
     345     * @return metadata of the tile
     346     */
    337347    public Map<String,String> getMetadata() {
    338348        if (metadata == null) {
     
    342352    }
    343353
     354    /**
     355     * indicate that loading process for this tile has started
     356     */
    344357    public void initLoading() {
    345358        loaded = false;
     
    348361    }
    349362
     363    /**
     364     * indicate that loading process for this tile has ended
     365     */
    350366    public void finishLoading() {
    351367        loading = false;
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TileSourceInfo.java

    r31142 r31143  
    88/**
    99 * Data class that keeps basic information about a tile source.
     10 *
     11 * @since 31122
    1012 */
    1113public class TileSourceInfo {
     
    131133    }
    132134
     135    /**
     136     *
     137     * @return mapping <HTTP header name, Metadata key name> for copying HTTP headers to Tile metadata
     138     * @since 31125
     139     */
    133140    public Map<String, String> getMetadataHeaders() {
    134141        return metadataHeaders;
Note: See TracChangeset for help on using the changeset viewer.