API 0.9.5
CPLevelIndicator Class Reference

#import <CPLevelIndicator.h>

Inheritance diagram for CPLevelIndicator:

List of all members.

Instance Methods

(CPView- createEphemeralSubviewNamed:
(double) - criticalValue
(void) - encodeWithCoder:
(CPView- hitTest:
(id) - initWithCoder:
(id) - initWithFrame:
(BOOL) - isEditable
(void) - layoutSubviews
(CPLevelIndicator- levelIndicatorStyle
(double) - maxValue
(double) - minValue
(void) - mouseDown:
(int) - numberOfMajorTickMarks
(int) - numberOfTickMarks
(CGRect) - rectForEphemeralSubviewNamed:
(void) - setCriticalValue:
(void) - setEditable:
(void) - setLevelIndicatorStyle:
(void) - setMaxValue:
(void) - setMinValue:
(void) - setNumberOfMajorTickMarks:
(void) - setNumberOfTickMarks:
(void) - setTickMarkPosition:
(void) - setWarningValue:
(CPTickMarkPosition) - tickMarkPosition
(double) - warningValue

Class Methods

(void) + initialize

Detailed Description

CPLevelIndicator is a control which indicates a value visually on a scale.

Definition at line 2 of file CPLevelIndicator.h.


Method Documentation

- (CPView) createEphemeralSubviewNamed: (CPString aName

Reimplemented from CPView.

Definition at line 166 of file CPLevelIndicator.j.

- (double) criticalValue

Synthesized accessor method.

Definition at line 482 of file CPLevelIndicator.j.

- (void) encodeWithCoder: (CPCoder aCoder

Archives the view to a coder.

Parameters:
aCoderthe object into which the view's data will be archived.

Reimplemented from CPControl.

Definition at line 396 of file CPLevelIndicator.j.

- (CPView) hitTest: (CPPoint)  aPoint

Tests whether a point is contained within this view, or one of its subviews.

Parameters:
aPointthe point to test
Returns:
returns the containing view, or nil if the point is not contained

Reimplemented from CPView.

Definition at line 225 of file CPLevelIndicator.j.

+ (void) initialize

Reimplemented from CPControl.

Definition at line 64 of file CPLevelIndicator.j.

- (id) initWithCoder: (CPCoder aCoder

Initializes the view from an archive.

Parameters:
aCoderthe coder from which to initialize
Returns:
the initialized view

Reimplemented from CPControl.

Definition at line 370 of file CPLevelIndicator.j.

- (id) initWithFrame: (CGRect)  aFrame

Initializes the receiver for usage with the specified bounding rectangle

Returns:
the initialized view

Reimplemented from CPControl.

Definition at line 114 of file CPLevelIndicator.j.

- (BOOL) isEditable

Returns YES if the textfield is currently editable by the user.

Definition at line 220 of file CPLevelIndicator.j.

- (void) layoutSubviews

Reimplemented from CPView.

Definition at line 135 of file CPLevelIndicator.j.

- (CPLevelIndicator) levelIndicatorStyle

Synthesized accessor method.

Definition at line 418 of file CPLevelIndicator.j.

- (double) maxValue

Synthesized accessor method.

Definition at line 450 of file CPLevelIndicator.j.

- (double) minValue

Synthesized accessor method.

Definition at line 434 of file CPLevelIndicator.j.

- (void) mouseDown: (CPEvent anEvent

Notifies the receiver that the user has clicked the mouse down in its area.

Parameters:
anEventcontains information about the click

Reimplemented from CPControl.

Definition at line 234 of file CPLevelIndicator.j.

- (int) numberOfMajorTickMarks

Synthesized accessor method.

Definition at line 530 of file CPLevelIndicator.j.

- (int) numberOfTickMarks

Synthesized accessor method.

Definition at line 514 of file CPLevelIndicator.j.

- (CGRect) rectForEphemeralSubviewNamed: (CPString aViewName

Reimplemented from CPView.

Definition at line 171 of file CPLevelIndicator.j.

- (void) setCriticalValue: (double)  aValue

Synthesized accessor method.

Definition at line 333 of file CPLevelIndicator.j.

- (void) setEditable: (BOOL)  shouldBeEditable

Sets whether or not the receiver level indicator can be edited.

Definition at line 209 of file CPLevelIndicator.j.

- (void) setLevelIndicatorStyle: (CPLevelIndicator aValue

Synthesized accessor method.

Definition at line 426 of file CPLevelIndicator.j.

- (void) setMaxValue: (double)  aValue

Synthesized accessor method.

Definition at line 315 of file CPLevelIndicator.j.

- (void) setMinValue: (double)  aValue

Synthesized accessor method.

Definition at line 306 of file CPLevelIndicator.j.

- (void) setNumberOfMajorTickMarks: (int)  aValue

Synthesized accessor method.

Definition at line 538 of file CPLevelIndicator.j.

- (void) setNumberOfTickMarks: (int)  aValue

Synthesized accessor method.

Definition at line 522 of file CPLevelIndicator.j.

- (void) setTickMarkPosition: (CPTickMarkPosition)  aValue

Synthesized accessor method.

Definition at line 506 of file CPLevelIndicator.j.

- (void) setWarningValue: (double)  aValue

Synthesized accessor method.

Definition at line 324 of file CPLevelIndicator.j.

- (CPTickMarkPosition) tickMarkPosition

Synthesized accessor method.

Definition at line 498 of file CPLevelIndicator.j.

- (double) warningValue

Synthesized accessor method.

Definition at line 466 of file CPLevelIndicator.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines