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