@Deprecated public class ThreadWrapper extends SwingWorker<List<double[]>,Object> implements PropertyChangeListener
SwingWorker.StateValue| Constructor and Description |
|---|
ThreadWrapper(Class descriptorClass,
File file)
Deprecated.
Constructs a new ThreadWrapper
|
ThreadWrapper(Class descriptorClass,
File file,
int number)
Deprecated.
Constructs a new ThreadWrapper with explicit ID
|
| Modifier and Type | Method and Description |
|---|---|
protected List<double[]> |
doInBackground()
Deprecated.
|
Class |
getDescriptorClass()
Deprecated.
Returns the class of the descriptor
|
String |
getDescriptorName()
Deprecated.
Returns the name of the descriptor which is used
|
File |
getFile()
Deprecated.
Returns image file which is processed
|
FeatureDescriptor |
getInstance()
Deprecated.
Returns the instance of the descriptor
|
int |
getNumber()
Deprecated.
Returns the number of this worker
|
long |
getTime()
Deprecated.
Returns the time for opening and processing an image.
|
void |
propertyChange(PropertyChangeEvent evt)
Deprecated.
|
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgresspublic ThreadWrapper(Class descriptorClass, File file)
descriptorClass - Class of the descriptor to be appliedfile - Image on which the descriptor should workpublic ThreadWrapper(Class descriptorClass, File file, int number)
descriptorClass - Class of the descriptor to be appliedfile - Image on which the descriptor should worknumber - Explicit ID for identifying parallel ThreadWrappersprotected List<double[]> doInBackground()
doInBackground in class SwingWorker<List<double[]>,Object>public long getTime()
public String getDescriptorName()
public Class getDescriptorClass()
public int getNumber()
public File getFile()
public FeatureDescriptor getInstance()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2013. All Rights Reserved.