Class BandN
java.lang.Object
|
+--SimpleMethod
|
+--BandN
- public class BandN
- extends SimpleMethod
- implements Method, java.lang.Runnable
A class that implements Besag and Newell Cluster Hunt
The main class BandN creates the main frame and proivides 3 buttons
All the buttons set a Bhandle object as an ActionListener
The Bhandle constructor takes the current object (this) as an argument
so that the handler can turn buttons on and off an write to the
contained canvas.
Currently K is fixed at 10 - there probably should be a textfield to
allow the user to set this.
modified to use the new results object - 31/01/01
Constructor Summary |
BandN()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
BandN
public BandN()
main
public static void main(java.lang.String[] args)
toString
public java.lang.String toString()
- Specified by:
- toString in interface Method
- Overrides:
- toString in class java.lang.Object
getParameters
public Parameters getParameters()
- Specified by:
- getParameters in interface Method
getParametersViewer
public ParametersViewer getParametersViewer()
- Specified by:
- getParametersViewer in interface Method
getRaster
public uk.ac.leeds.ccg.raster.Raster getRaster()
- Specified by:
- getRaster in interface Method
setRaster
public void setRaster(uk.ac.leeds.ccg.raster.circleRaster r)
setSpeed
public void setSpeed(boolean f)
- Specified by:
- setSpeed in interface Method
setShader
public void setShader(uk.ac.leeds.ccg.geotools.Shader s)
- Specified by:
- setShader in interface Method
setViewer
public void setViewer(uk.ac.leeds.ccg.geotools.Viewer vw)
setData
public void setData(Database d)
- Specified by:
- setData in interface Method
setSearch
public void setSearch(uk.ac.leeds.ccg.geotools.GeoRectangle r)
- Specified by:
- setSearch in interface Method
getResults
public Results getResults()
- Specified by:
- getResults in interface Method
run
public void run()
- Specified by:
- run in interface Method