May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSScrollView — Mac OS X 10.0
This subclass of NSView allows a user to view a
portion of a large document view using scrollbars. Clipping of the
document view is performed by the subclass
NSClipView. Horizontal and vertical scrollbars are
instances of the class NSScroller. Rulers, which
are instances of the class NSRulerView, can be
displayed in the left and top edges of the scrollview.
|
|
@interface NSScrollView : NSView
|
// Accessor Methods
|
- (void)setBackgroundColor:(NSColor *)color; |
- (NSColor *)backgroundColor;
|
- (void)setPageScroll:(float)value; |
- (float)pageScroll;
|
- (void)setHorizontalRulerView:(NSRulerView *)ruler; |
- (NSRulerView *)horizontalRulerView;
|
- (void)setHasVerticalRuler:(BOOL)flag; |
- (BOOL)hasVerticalRuler;
|
- (void)setHasHorizontalRuler:(BOOL)flag; |
- (BOOL)hasHorizontalRuler;
|
- (void)setHorizontalPageScroll:(float)value; |
- (float)horizontalPageScroll;
|
- (void)setBorderType:(NSBorderType)aType; |
- (NSBorderType)borderType;
|
- (void)setHorizontalLineScroll:(float)value; |
- (float)horizontalLineScroll;
|
- (void)setRulersVisible:(BOOL)flag; |
- (BOOL)rulersVisible;
|
- (void)setScrollsDynamically:(BOOL)flag; |
- (BOOL)scrollsDynamically;
|
- (void)setHasVerticalScroller:(BOOL)flag; |
- (BOOL)hasVerticalScroller;
|
- (void)setHasHorizontalScroller:(BOOL)flag; |
- (BOOL)hasHorizontalScroller;
|
- (void)setLineScroll:(float) ... |
Read now
Unlock full access