| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/InstantMessage.framework |
| Availability | Available in Mac OS X v10.6 and later. |
| Companion guide | |
| Declared in | IMAVControl.h |
The IMAVControl class is an abstract superclass for controls that you add to the iChat Theater control bar, an instance of the IMAVControlBar class. Similar to the NSControl class in the Application Kit framework, this class provide a common interface for setting a control’s target, action, and value. You can also enable or disable a control. Use the various IMAVControl subclasses to create control objects.
– doubleValue
– floatValue
– intValue
– integerValue
– setDoubleValue:
– setFloatValue:
– setIntValue:
– setIntegerValue:
Returns the action-message selector associated with the control.
- (SEL)action
The action message that is sent to the target.
IMAVControl.hReturns the receiver’s value as a double-precision floating-point number.
- (double)doubleValue
The value interpreted as a double-precision floating-point number.
IMAVControl.hReturns the receiver’s value as a single-precision floating-point number.
- (float)floatValue
The value interpreted as a single-precision floating-point number.
IMAVControl.hReturns the receiver’s value as an NSInteger value.
- (NSInteger)integerValue
The value interpreted as an NSInteger value.
IMAVControl.hReturns the receiver’s value as an integer.
- (int)intValue
The value interpreted as an integer.
IMAVControl.hReturns whether the receiver reacts to mouse events.
- (BOOL)isEnabled
YES if the receiver responds to mouse events; otherwise, NO.
IMAVControl.hSets the receiver's action method to the specified selector.
- (void)setAction:(SEL)aSelector
The action message to send to the target. Specify NULL to prevent action messages from being sent to the receiver's target.
IMAVControl.hSets the receiver’s value using a double-precision floating-point number.
- (void)setDoubleValue:(double)aDouble
The value interpreted as a double-precision floating-point number.
IMAVControl.hSets whether the receiver (and its cell) reacts to mouse events.
- (void)setEnabled:(BOOL)flag
YES if you want the receiver to react to mouse events; otherwise, NO.
IMAVControl.hSets the receiver’s value using a single-precision floating-point number.
- (void)setFloatValue:(float)aFloat
The value interpreted as a single-precision floating-point number.
IMAVControl.hSets the receiver’s value using an NSInteger value.
- (void)setIntegerValue:(NSInteger)anInteger
The value interpreted as an NSInteger value.
IMAVControl.hSets the receiver’s value using an integer.
- (void)setIntValue:(int)anInt
The value interpreted as an integer.
IMAVControl.hSets the tag of the receiver.
- (void)setTag:(NSInteger)anInt
The new tag.
IMAVControl.hSets the target object to receive action messages.
- (void)setTarget:(id)anObject
The new target object to associate with the receiver, or nil to remove the current target.
IMAVControl.hReturns the tag identifying the receiver.
- (NSInteger)tag
The tag of this control object.
IMAVControl.hReturns the receiver’s target object.
- (id)target
The object that receives the action message.
IMAVControl.hLast updated: 2009-05-26