UIvaluator
Synopsis
base class for all objects that accept numeric input
UIprimitive UIvaluator {
float &min;
float &max;
float+Port2 &value;
enum mode= {integer, real};
int &decimalPoints;
Boolean &immediateMode;
Boolean &includeMin<NEvisible=0> = 1;
Boolean &includeMax<NEvisible=0> = 1;
};Description
UIvaluator is the base class for all widget objects that accept numeric input. This includes the supplied UIslider, UIdial, and UIfield. It defines subobjects and behavior that are common to all valuator-type widgets.
A valuator provides an interface to a numerical value. The value may be integer or real. It is possible to restrict the values produced by a valuator. Values can be restricted to be > a value, >= another value, < a value, <= a value, or unbounded.
The precision produced by a valuator is determined by the number of decimal places that are requested by setting the decimalPoints attribute.
Subobjects
events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;
canHaveChildren <Not visible in Network Editor> =0
fontlist <No longer used. Not visible in Network Editor>;
cxxhandle <Internal Object. Not visible in Network Editor>;
handle <Internal Object. Not visible in Network Editor>;
window_resources <No longer used. Not visible in Network Editor>;
motif_resources <No longer used. Not visible in Network Editor>;
layout <No longer used. Not visible in Network Editor>
Floats. References that specify the minimum and maximum bounds (range) of the valuator widget. If &min or &max is not set, that value is unbounded.
Enumerator. Specifies whether the values of value, &min, and &max are to be reals, or converted to integers. 1=integer; 2=real.
Integer. If mode=2 (real), specifies the number of decimal places of precision to the right of the decimal point.
Boolean. Flag that changes whether some valuators produce values continuously as the mouse is moved, or only when it is released. 1=continuous feedback; 0=generate value only when the mouse button is released. The default is 0.
Booleans. Flags that specify whether to include labels that show the min/max values on the widget. 1=include; 0=don't include. The default is 0.
&includeMin <Not visible in Network Editor>;
&includeMax <Not visible in Network Editor>
Booleans. Flags that specify whether to include labels that show the min/max values on the widget. 1=include; 0=don't include. The default is 0.
Example
File
See Also Related Modules