10 |
import org.geotools.renderer.RenderListener; |
import org.geotools.renderer.RenderListener; |
11 |
import org.opengis.feature.simple.SimpleFeature; |
import org.opengis.feature.simple.SimpleFeature; |
12 |
|
|
13 |
|
import schmitzm.geotools.gui.XMapPane; |
14 |
|
|
15 |
/** |
/** |
16 |
* This class is used by {@link XMapPane} to start and stop the rendering a |
* This class is used by {@link XMapPane} to start and stop the rendering a |
17 |
* {@link Thread} for rendering. |
* {@link Thread} for rendering. |
18 |
*/ |
*/ |
19 |
class RenderingExecutor { |
public class RenderingExecutor { |
20 |
private final static Logger LOGGER = Logger.getLogger(RenderingExecutor.class); |
private final static Logger LOGGER = Logger.getLogger(RenderingExecutor.class); |
21 |
/** |
/** |
22 |
* Instance to a {@link RenderThread} doing any work. It's volatile so the |
* Instance to a {@link RenderThread} doing any work. It's volatile so the |