ftp.nice.ch/pub/next/developer/objc/api/intuitiv3d_API.s.tar.gz#/i3dApi/Documentation/Classes/CX3DAttributeInsp.rtf

This is CX3DAttributeInsp.rtf in view mode; [Download] [Up]

 intuitiv'3d API documentation Copyright ©1993 by Cub'x SystÜmes. All Rights Reserved.






CX3DAttributeInsp






Inherits From:	InspectorView : View : Responder: Object

Declared In:	i3d/CX3DAttributeInsp.h





Class Description

The CX3DAttributeInsp class is a generic attribute inspector for instances of class CX3DObject and CX3DNode. Using the CX3DAttributeInsp class is the easiest way to have an inspector for instance of a new class. The new class just describes the inspector needed and the CX3DAttributeInsp instance implements it.
It is possible to use the CX3DAttributeInsp when instance variable types belongs to the following list:

	- float (Scalar)
	- float (Angle)
	- RtPoint
	- NXColor
	- BOOL

To use the CX3DAttributeInsp inspector, a new class should implement the following methods:

-  (AIParameter*) AIparameters.
	This method returns an array of AIParameter. Each AIParameter describes the type of an instance variable, the behavior of the inspector for this variable and which method to call in order to modify the variable value. The array of AIParameter is usually built in the + initialize method of the class, inside a class variable. Please see the file AIParameter inside the folder TypesAndConstants for a description of the type AIParameter.

- (const char*) inspectorName.
	This method should returns the inspector title. This is the string that is displayed as the title of the window's inspector.

- attributeInspClass. 
	This method should return [CX3DAttributeInsp class].

 The ColoredPlan example inside the Examples/AdvancedObject folder is an example that illustrates how to use the CX3DAttributeInsp class.

 You cannot make a subclass of CX3DAttributeInsp and this class is opaque. If you cannot make an inspector using the CX3DAttributeInsp class, you have to make your own inspector. In this case please read the InspectorView class description in this folder.
	
	

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.