cz.cuni.jagrlib.iface
Interface Property

All Known Subinterfaces:
AlphaMask, ArcRender, BitMask, BitStream, BlockCodec, BlockQuantizer, Brep, BrepIterator, Brush, BSSRDF, CircleRender, ColormapStore, CurveRender, DataFileFormat, DiscreteTransform, EllipseRender, EllipticArcRender, EntropyCodec, EntropyHistogram, EulerOperators, FaceRender, FeatureStore, Filter1D, FloodFillRender, FunctionR2ToR2, GeometrySearch, GlobalIllumination, GraphicsViewer, ImageFunction, ImageSynthesizer, Interpolation1D, Interpolation2D, Intersectable, IntFunction, KDTree, 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, TimeDependent, Trigger, ValueTransferFunction, VectorGraphics, WheelOfFortune, 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, DefaultBrepIterator, DefaultBrepIteratorArr, DefaultBrepIteratorOrd, DefaultDiscreteTransform, DefaultFileFormat, DefaultFunctionR2ToR2, DefaultGeometrySearch, DefaultGraphicsViewer, DefaultImageFunction, DefaultImageSynthesizer, DefaultInputListener, DefaultIntFunction, DefaultLightSource, DefaultProperty, 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, 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
See Also:
Property.java

Field Summary
static java.lang.String LOGGING
          Universal property for text logging.
static java.lang.String STATISTICS
          Universal property (used mostly only with set(java.lang.String, java.lang.Object) method) - returns/prints object statistics.
static java.lang.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.
 java.lang.Object get(java.lang.String key)
          Gets the given property.
 void set(java.lang.String key, java.lang.Object value)
          Sets the given property.
 

Field Detail

STATISTICS

static final java.lang.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 java.lang.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 java.lang.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(java.lang.String key,
         java.lang.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

java.lang.Object get(java.lang.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.