public class ClassificationPlugin extends java.lang.Object implements BrowserPlugin, AreaSelectionListener
Constructor and Description |
---|
ClassificationPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
areaSelected(Area area)
This method is called when the area selection changes in the browser.
|
FeatureExtractor |
getFeatureExtractor() |
boolean |
init(Browser browser)
Performs the plugin initialization.
|
public boolean init(Browser browser)
BrowserPlugin
init
in interface BrowserPlugin
browser
- the browser where the plugin is usedtrue
when the initialization succeeded, false
otherwisepublic FeatureExtractor getFeatureExtractor()
public void areaSelected(Area area)
AreaSelectionListener
areaSelected
in interface AreaSelectionListener
area
- The new selected area.