DekGenius.com
[ Team LiB ] Previous Section Next Section

NSSlider Mac OS X 10.0

This subclass of NSControl represents a slider control where a user manipulates a knob to select from a range of values: for example, the control in the Volume menu item. The cell for NSSlider is NSSliderCell.

figs/cocn_1587.gif

@interface NSSlider : NSControl
 // Accessor Methods
   - (void)setTitleFont:(NSFont *)fontObj;
   - (NSFont *)titleFont;
   - (void)setMinValue:(double)aDouble;
   - (double)minValue;
   - (void)setMaxValue:(double)aDouble;
   - (double)maxValue;
   - (void)setAltIncrementValue:(double)incValue;
   - (double)altIncrementValue;
   - (void)setTitleCell:(NSCell *)aCell;
   - (id)titleCell;
   - (void)setTitleColor:(NSColor *)newColor;
   - (NSColor *)titleColor;
   - (void)setTitle:(NSString *)aString;
   - (NSString *)title;
   - (void)setKnobThickness:(float)aFloat;
   - (float)knobThickness;
   - (void)setImage:(NSImage *)backgroundImage;
   - (NSImage *)image;
 // Instance Methods
   - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent;
   - (int)isVertical;

    [ Team LiB ] Previous Section Next Section