org.openstreetmap.josm.gui.layer
Class TMSLayer.TmsTileClearController

java.lang.Object
  extended by org.openstreetmap.josm.gui.layer.TMSLayer.TmsTileClearController
All Implemented Interfaces:
OsmFileCacheTileLoader.TileClearController, ProgressMonitor.CancelListener
Enclosing class:
TMSLayer

private class TMSLayer.TmsTileClearController
extends java.lang.Object
implements OsmFileCacheTileLoader.TileClearController, ProgressMonitor.CancelListener


Field Summary
private  boolean cancel
           
private  ProgressMonitor monitor
           
 
Constructor Summary
TMSLayer.TmsTileClearController(ProgressMonitor monitor)
           
 
Method Summary
 boolean cancel()
           
 void clearFinished()
           
 void fileDeleted(java.io.File file)
           
 void initClearDir(java.io.File dir)
           
 void initClearFiles(java.io.File[] files)
           
 void operationCanceled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

monitor

private final ProgressMonitor monitor

cancel

private boolean cancel
Constructor Detail

TMSLayer.TmsTileClearController

public TMSLayer.TmsTileClearController(ProgressMonitor monitor)
Method Detail

initClearDir

public void initClearDir(java.io.File dir)
Specified by:
initClearDir in interface OsmFileCacheTileLoader.TileClearController

initClearFiles

public void initClearFiles(java.io.File[] files)
Specified by:
initClearFiles in interface OsmFileCacheTileLoader.TileClearController

cancel

public boolean cancel()
Specified by:
cancel in interface OsmFileCacheTileLoader.TileClearController

fileDeleted

public void fileDeleted(java.io.File file)
Specified by:
fileDeleted in interface OsmFileCacheTileLoader.TileClearController

clearFinished

public void clearFinished()
Specified by:
clearFinished in interface OsmFileCacheTileLoader.TileClearController

operationCanceled

public void operationCanceled()
Specified by:
operationCanceled in interface ProgressMonitor.CancelListener


JOSM