public synchronized void clear() { wrapped.clear(); }
public synchronized void disableLayer(String layerId) { wrapped.disableLayer(layerId); }
public synchronized void enableLayer(String layerId) { wrapped.enableLayer(layerId); }
labelCache.start(); if (labelCache instanceof LabelCacheImpl) { ((LabelCacheImpl) labelCache) labelCache.startLayer(layerId); if (layer instanceof DirectLayer) { RenderingRequest request = labelCache.endLayer(layerId, graphics, screenSize); labelCache.end(graphics, paintArea); } else { labelCache.clear();
public synchronized void put( String layerId, TextSymbolizer symbolizer, Feature feature, LiteShape2 shape, NumberRange<Double> scaleRange) { wrapped.put(layerId, symbolizer, feature, shape, scaleRange); }
public synchronized void stop() { wrapped.stop(); }
public synchronized List orderedLabels() { return wrapped.orderedLabels(); } }
public synchronized void startLayer(String layerId) { wrapped.startLayer(layerId); }
public synchronized void endLayer(String layerId, Graphics2D graphics, Rectangle displayArea) { wrapped.endLayer(layerId, graphics, displayArea); }
public synchronized void end(Graphics2D graphics, Rectangle displayArea) { wrapped.end(graphics, displayArea); }
public synchronized void start() { wrapped.start(); }
labelCache.start(); if(labelCache instanceof LabelCacheDefault) { boolean outlineEnabled = TEXT_RENDERING_OUTLINE.equals(getTextRenderingMethod()); return; labelCache.startLayer(i+""); try { labelCache.endLayer(i+"", graphics, screenSize); labelCache.end(graphics, paintArea);
public synchronized void put(Rectangle2D area) { wrapped.put(area); }
/** * If you call this method from another thread than the one that called <code>paint</code> or * <code>render</code> the rendering will be forcefully stopped before termination */ public void stopRendering() { renderingStopRequested = true; // un-block the queue in case it was filled with requests and the main // thread got blocked on it requests.clear(); // wake up the painter and put a death pill in the queue painterThread.interrupt(); try { requests.put(new EndRequest()); } catch (InterruptedException e) { throw new RuntimeException( "Interrupted while trying to put the end " + "request in the requests queue, this should never happen", e); } labelCache.stop(); }
public List orderedLabels() { return wrapped.orderedLabels(); }
public synchronized void startLayer( String layerId ) { wrapped.startLayer(layerId); }
public synchronized void endLayer( String layerId, Graphics2D graphics, Rectangle displayArea ) { wrapped.endLayer(layerId, graphics, displayArea); }
public synchronized void end( Graphics2D graphics, Rectangle displayArea ) { wrapped.end(graphics, displayArea); }
public synchronized void start() { wrapped.start(); }
labelCache.start(); if(labelCache instanceof LabelCacheImpl) { ((LabelCacheImpl) labelCache).setLabelRenderingMode(LabelRenderingMode.valueOf(getTextRenderingMethod())); return; labelCache.startLayer(i+""); labelCache.endLayer(i+"", graphics, screenSize); labelCache.end(graphics, paintArea); } else { labelCache.clear();