public abstract class RunnerTemplate extends Object
Constructor and Description |
---|
RunnerTemplate(String libraryName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addClosingListener(JDialog dialog)
Add a listener to the dialog spawned by this template that exits the
application when the dialog is closed.
|
protected abstract String |
selectFile()
Select an image file.
|
public RunnerTemplate(String libraryName)
libraryName
- The name of the native library connected to this
template.public void addClosingListener(JDialog dialog)
dialog
- The dialog to close.protected abstract String selectFile()