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, unregisterprotected Chart chart
protected String outputFile
protected List<IScreenshotKeyController.IScreenshotEventListener> listeners
public void register(Chart chart)
register in class AbstractControllerpublic void dispose()
dispose in class AbstractControllerpublic void screenshot(Chart chart, String filename) throws IOException
screenshot in interface IScreenshotKeyControllerIOExceptionpublic void addListener(IScreenshotKeyController.IScreenshotEventListener listener)
addListener in interface IScreenshotKeyControllerprotected void fireDone(String file)
Copyright © 2016. All rights reserved.