cz.cuni.jagrlib
Interface Breakable

All Known Subinterfaces:
DataFileFormat, GlobalIllumination, GraphicsViewer, ImageSynthesizer, Render3D, Trigger, Worker
All Known Implementing Classes:
AdaptiveJitteringSynthesizer, AdditiveNoise, AlphaGenerator, AlphaMatrix, AlphaWorker, AmbientLightSource, AnimationWorker, AntCity, AntCityWorker, ArithmeticCodec, AudioFilter, AudioFilterWorker, AudioReplay, AWTWindow, BezierCurve, BezierRegular, BezierWorker, BlueScreen, BrepSolid, BrepSolidDirectory, BrepToImage, BufferedBitStream, ClusterDotDither, ClusterDotDither.RectangleLevelSet, ClusterDotDither.RoundLevelSet, ClusterDotDither.RoundSquareLevelSet, Colormap332, Colormaps, ColorReduce, ColorReduceRound, ColorReduceWorker, CompressedFormatBW, CompressedFormatGray, CompressedFormatOrder, CompressedFormatPal, CompressedFormatRGB, CompressedFormatTransform, CompressionWorker, Cone, CornellBox, CSG2BrepImpl, Cube, Cylinder, DataMatrix, DCT, DeadZoneQuantizer, DefaultBlockQuantizer, DefaultBrepFileFormat, DefaultDiscreteTransform, DefaultFileFormat, DefaultFunctionR2ToR2, DefaultGeometrySearch, DefaultGraphicsViewer, DefaultImageFunction, DefaultImageSynthesizer, DefaultInputListener, DefaultIntFunction, DefaultLightSource, DefaultRasterFileFormat, DefaultRasterGraphics, DefaultRealFunction, DefaultRender3D, DefaultSolid, DefaultValueTransferFunction, Deformations, DepthOfFieldCamera, DepthSort, DrawAxes, DrawAxesGL, DynamicCSGScene, EffectBlur, EffectPixelize, Ellipse, EllipseWorker, EulerBrep, EulerWorker, FaceRenderFlat, FeatureDeformation, Features, FeatureWarpingWorker, Filter1DNotch, FloodFillPoint, FloodFillWorker, FractalCircles, FractalCompressionQtree, FunctionSamples, GIFFileFormat, GLBrepRender, GlobalIlluminationWorker, GLWindow, GLWorker, GraphR2ToR, GridRenderWorker, HDRFileFormat, HDRImage, HDRMap, HuffmanCodec, CheckerTexture, ImageCompare, ImageCompositionWorker, ImageCompressionWorker, ImageCompute, ImageConvert, ImageCrop, ImageFilterWorker, ImageKDTree, ImagePredictor, ImageTransition, ImageTransition.CutoffTransition, ImageTransition.LinearTransition, ImageTransition.RampField, ImageTransition.RandomField, ImageTransition.SigmaTransition, InteractiveProjection, IntervalArray, JavaBitStream, JavaText, JFIFFileFormat, JitteringSynthesizer, JPEGQuantizer, LineAntialias, LineAntialiasSimple, LineAntiWorker, LinearQuantizer, LineBresenham, LineClipAntiWorker, LineClipping, LineClipWorker, LineWorker, LineWorkerStar, Lissajous, LZWCodec, Mandelbrot, MeshCompressionRLE, MonteCarloFF, MouseFrame, OBJFileFormat, OrderedDither, OrderSerpentine, OrderSFC, OverwriteClassificator, PFMFileFormat, PhongModel, Piece, Plane, PNGFileFormat, PolygonClip, PolygonClipWorker, PolygonFill, PolygonFillAnti, PolygonFillAntiWorker, PolygonFillWorker, PolygonScanline, PolylineAntialias, PolylineAntiWorker, ProjectionWorker, Radiosity, RadiosityEquations, RankFilter, RasterImage, RasterImagePreview, RayCasting, RayTracing, RectangleLightSource, Render3DWorker, RenderDepthBuffer, RenderPainter, RenderWireframe, Revolution, SampleColormap, SampleRasterSearch, SampleRenderWorker, Search2DWorker, SFCDither, SimpleGLGraphics, SimpleNoise, SimpleSLEDataStore, SimpleSynthesizer, SLEProgressive, SLERelaxation, SolidColorBrush, SolidColorPen, SolidSpecimen, Sphere, SpotTexture, StarFlare, StaticCamera, StaticCSGScene, StaticPointLightSource, StraightRoulette, SuperShootGather, Test3DScene, TestGamma, TestImageFunctions, TestImageLaser, TextureFunctions, TextWorker, TriangleWarpingWorker, TriMeshDeformation, TriMeshEditor, UniformGrid, VEFDS, WarpEngine, WarpingSpecimen, WarpingWorker, WAVFileFormatMapped, XTransitionList, ZigZagCodec, ZLIBCodec

public interface Breakable

Interface for breakable modules. All long-lasting computations should implement this interface.

Version:
0.26 $Rev: 466 $ $Date: 2007-05-26 07:12:19 +0200 (so, 26 V 2007) $ $Author: pepca $
See Also:
Breakable.java

Method Summary
 void setProgressListener(ProgressListener pl)
          Sets progress state listener.
 void stop()
          Tries to stop the thread/computation..
 

Method Detail

stop

void stop()
Tries to stop the thread/computation.. The process should yield itself. For Runnable implementators: Thread.interrupt() will be called afterwards.


setProgressListener

void setProgressListener(ProgressListener pl)
Sets progress state listener.