cz.cuni.jagrlib.iface
Interface Property

All Known Subinterfaces:
AlphaMask, ArcRender, BitMask, BitStream, BlockCodec, BlockQuantizer, Brep, BrepIterator, Brush, CircleRender, ColormapStore, CurveRender, DataFileFormat, DiscreteTransform, EllipseRender, EllipticArcRender, EntropyCodec, EntropyHistogram, EulerOperators, FaceRender, FeatureStore, Filter1D, FloodFillRender, FunctionR2ToR2, GeometrySearch, GlobalIllumination, GraphicsViewer, ImageSynthesizer, Interpolation1D, Interpolation2D, Intersectable, IntFunction, KDTree, LightModel, LightSource, LineRender, LineRenderAnti, Order2D, Pen, PolygonFillRender, PolygonHashRender, PolygonRender, PolygonStrokeRender, PolygonWindow, QuadTree, RasterGraphics, RasterSearch, RayGenerator, RealFunction, RectangleWindow, Render, Render3D, RTScene, SampleData, ScalarQuantizer, SLEData, SLEDataStore, SLESolver, Solid, SolidBrush, SolidPen, TextRender, Texture, Trigger, ValueTransferFunction, VectorGraphics, WheelOfFortune, 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, DefaultBrepIterator, DefaultBrepIteratorArr, DefaultBrepIteratorOrd, DefaultDiscreteTransform, DefaultFileFormat, DefaultFunctionR2ToR2, DefaultGeometrySearch, DefaultGraphicsViewer, DefaultImageFunction, DefaultImageSynthesizer, DefaultInputListener, DefaultIntFunction, DefaultLightSource, DefaultProperty, 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, PhongMaterial, 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, UniformGrid.CenterIterator, UniformGrid.RayIteratorOld, UniformGrid.RaySegmentIterator2D, UniformGrid.RayTriangleIterator3D, VEFDS, VEFDS.DivisionIterator, VEFDS.EdgeInFaceIterator, VEFDS.EdgeIterator, VEFDS.FaceInSolidIterator, VEFDS.FaceIterator, VEFDS.SolidIterator, VEFDS.VertexInFaceIterator, VEFDS.VertexIterator, WarpEngine, WarpingSpecimen, WarpingWorker, WAVFileFormatMapped, XTransitionList, ZigZagCodec, ZLIBCodec

public interface Property

Simple interface for general property set/get. General interface predecessor.

Since:
0.05
Version:
0.25 $Rev: 297 $ $Date: 2006-07-16 01:32:35 +0200 (ne, 16 VII 2006) $ $Author: pepca $
See Also:
Property.java

Field Summary
static String LOGGING
          Universal property for text logging.
static String STATISTICS
          Universal property (used mostly only with set(java.lang.String, java.lang.Object) method) - returns/prints object statistics.
static String TEXT_DESCRIPTION
          Universal property for text description of the object.
 
Method Summary
 void commit()
          Commits all previous changes (set(java.lang.String, java.lang.Object)) to the internal object state.
 Object get(String key)
          Gets the given property.
 void set(String key, Object value)
          Sets the given property.
 

Field Detail

STATISTICS

static final String STATISTICS
Universal property (used mostly only with set(java.lang.String, java.lang.Object) method) - returns/prints object statistics.

See Also:
Constant Field Values

TEXT_DESCRIPTION

static final String TEXT_DESCRIPTION
Universal property for text description of the object. Used only with get(java.lang.String) method.

See Also:
Constant Field Values

LOGGING

static final String LOGGING
Universal property for text logging. get(java.lang.String) method returns log string, set(java.lang.String, java.lang.Object) switches on/off logging mode.

See Also:
Constant Field Values
Method Detail

set

void set(String key,
         Object value)
Sets the given property. Some objects don't allow partial/sequential state changes - call commit() at the and of each change-batch.

Parameters:
key - Key string.
value - The new value.
See Also:
commit()

get

Object get(String key)
Gets the given property.

Parameters:
key - Key string.
Returns:
The actual value or null.

commit

void commit()
Commits all previous changes (set(java.lang.String, java.lang.Object)) to the internal object state. Non-mandatory.