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()
           
 
Method Summary
 Parameters getParameters()
           
 ParametersViewer getParametersViewer()
           
 uk.ac.leeds.ccg.raster.Raster getRaster()
           
 Results getResults()
           
static void main(java.lang.String[] args)
           
 void run()
           
 void setData(Database d)
           
 void setRaster(uk.ac.leeds.ccg.raster.circleRaster r)
           
 void setSearch(uk.ac.leeds.ccg.geotools.GeoRectangle r)
           
 void setShader(uk.ac.leeds.ccg.geotools.Shader s)
           
 void setSpeed(boolean f)
           
 void setViewer(uk.ac.leeds.ccg.geotools.Viewer vw)
           
 java.lang.String toString()
           
 
Methods inherited from class SimpleMethod
addProgressEventListener, getNormalRaster, getResultsRaster, getVisitRaster, notifyProgressEventListener, removeProgressEventListener, setNormalRaster, setResultsRaster, setVisitRaster
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BandN

public BandN()
Method Detail

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