public class AbstractScreenshotKeyController extends AbstractController implements IScreenshotKeyController
IScreenshotKeyController.IScreenshotEventListener
Modifier and Type | Field and Description |
---|---|
protected Chart |
chart |
protected List<IScreenshotKeyController.IScreenshotEventListener> |
listeners |
protected String |
outputFile |
controllerListeners, targets
Constructor and Description |
---|
AbstractScreenshotKeyController(Chart chart,
String outputFile) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IScreenshotKeyController.IScreenshotEventListener listener) |
void |
dispose() |
protected void |
fireDone(String file) |
protected void |
fireError(String file,
Exception e) |
void |
register(Chart chart) |
void |
screenshot(Chart chart,
String filename) |
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
protected Chart chart
protected String outputFile
protected List<IScreenshotKeyController.IScreenshotEventListener> listeners
public void register(Chart chart)
register
in class AbstractController
public void dispose()
dispose
in class AbstractController
public void screenshot(Chart chart, String filename) throws IOException
screenshot
in interface IScreenshotKeyController
IOException
public void addListener(IScreenshotKeyController.IScreenshotEventListener listener)
addListener
in interface IScreenshotKeyController
protected void fireDone(String file)
Copyright © 2016. All rights reserved.