cz.cuni.jagrlib
Interface Breakable

All Known Subinterfaces:
DataFileFormat, GlobalIllumination, GraphicsViewer, ImageSynthesizer, Render3D, Trigger, Worker
All Known Implementing Classes:
AdditiveNoise, AlphaGenerator, AlphaMatrix, AlphaWorker, AmbientLightSource, AnimationWorker, AnisotropicMicrofacet, AntCity, AntCityWorker, ArithmeticCodec, AudioFilter, AudioFilterWorker, AudioReplay, AWTWindow, BezierCurve, BezierRegular, BezierWorker, BlinnMicrofacet, BlueScreen, BrepSolid, BrepToImage, BufferedBitStream, Colormap332, Colormaps, ColorReduce, ColorReduceRound, ColorReduceWorker, CompressedFormatBW, CompressedFormatGray, CompressedFormatOrder, CompressedFormatPal, CompressedFormatRGB, CompressedFormatTransform, CompressionWorker, Cone, CookTorranceModel, CornellBox, CSG2BrepImpl, Cube, Cylinder, DataMatrix, DCT, DeadZoneQuantizer, DefaultBlockQuantizer, DefaultBrepFileFormat, DefaultDiscreteTransform, DefaultFileFormat, DefaultFunctionR2ToR2, DefaultGeometrySearch, DefaultGraphicsViewer, DefaultImageFunction, DefaultImageSynthesizer, DefaultInputListener, DefaultIntFunction, DefaultLightSource, DefaultRasterFileFormat, DefaultRasterGraphics, DefaultRealFunction, DefaultRender3D, DefaultRenderer, DefaultSolid, DefaultValueTransferFunction, Deformations, DepthSort, DirectionalLightSource, DirectLightMapVisualizer, DrawAxes, DrawAxesGL, EffectBlur, EffectPixelize, Ellipse, EllipseWorker, FaceRenderFlat, FeatureDeformation, Features, FeatureWarpingWorker, Filter1DNotch, FinalGathering, FloodFillPoint, FloodFillWorker, FractalCircles, FractalCompressionQtree, FresnelConductor, FresnelDielectric, 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, LambertianModel, LineAntialias, LineAntialiasSimple, LineAntiWorker, LinearQuantizer, LineBresenham, LineClipAntiWorker, LineClipping, LineClipWorker, LineWorker, LineWorkerStar, Lissajous, LZWCodec, MeshCompressionRLE, MonteCarloFF, MouseFrame, OBJFileFormat, OrderedDither, OrderSerpentine, OrderSFC, OrenNayarModel, OverwriteClassificator, PathTracing, PFMFileFormat, PhongModel, PhotonMap, PhotonTracing, Piece, Plane, PNGFileFormat, PolygonClip, PolygonClipWorker, PolygonFill, PolygonFillAnti, PolygonFillAntiWorker, PolygonFillWorker, PolylineAntialias, PolylineAntiWorker, ProjectionWorker, Radiosity, RadiosityEquations, RadiosityHierarch, RankFilter, RasterImage, RasterImagePreview, RayCasting, RayCastingNew, RayTracing, RayTracingNew, Render3DWorker, RenderPainter, RenderWireframe, Revolution, SampleColormap, SampleRasterSearch, SampleRenderWorker, Search2DWorker, SFCDither, SimpleGLGraphics, SimpleNoise, SimpleSLEDataStore, SimpleSynthesizer, SLEHierarchical, SLEProgressive, SLERelaxation, SolidColorBrush, SolidColorPen, SolidSpecimen, SpecularReflection, SpecularTransmission, Sphere, SpotTexture, StaticAreaLightSource, StaticCamera, StaticCSGScene, StaticPointLightSource, StaticSphericalLightSource, StaticSpotLightSource, 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.

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.