Class

NSLevelIndicatorCell

NSLevelIndicatorCell is a subclass of NSActionCell that provides several level indicator display styles including: capacity, ranking and relevancy. The capacity style provides both continuous and discrete modes.

Declaration

@interface NSLevelIndicatorCell : NSActionCell

Topics

Initializing NSLevelIndicatorCell Objects

- initWithLevelIndicatorStyle:

Initializes the receiver with the style specified by levelIndicatorStyle.

Configuring the Range of Values

minValue

The minimum value of the control.

maxValue

The maximum value of the control.

levelIndicatorStyle

The style of the level indicator control.

warningValue

The warning value of the level indicator control.

criticalValue

The critical value of the level indicator control.

Managing Tick Marks

tickMarkPosition

The placement of tick marks on the level indicator control.

numberOfTickMarks

The number of tick marks displayed by the control.

numberOfMajorTickMarks

The number of major tick marks displayed by the control.

- tickMarkValueAtIndex:

Returns the receiver’s value represented by the tick mark at index (the minimum-value tick mark has an index of 0).

- rectOfTickMarkAtIndex:

Returns the bounding rectangle of the tick mark identified by index (the minimum-value tick mark is at index 0).

Constants

NSLevelIndicatorStyle

Constants that specify a level indicator's appearance.

Relationships

Inherits From