Up
Authors
- Ovidiu Predescu (
ovidiu@net-community.com
)
-
- Felipe A. Rodriguez (
far@ix.netcom.com
)
-
- Richard Frith-Macdonald (
richard@brainstorm.co.uk
)
-
Date: Generated at 2025-07-12 14:18:56 +0000
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSScrollView.h
Availability: OpenStep
Description forthcoming.
Instance Variables
+ (NSSize)
contentSizeForFrameSize: (NSSize)frameSize
hasHorizontalScroller: (BOOL)hFlag
hasVerticalScroller: (BOOL)vFlag
borderType: (NSBorderType)borderType;
Availability: OpenStep
Description forthcoming.
+ (NSSize)
frameSizeForContentSize: (NSSize)contentSize
hasHorizontalScroller: (BOOL)hFlag
hasVerticalScroller: (BOOL)vFlag
borderType: (NSBorderType)borderType;
Availability: OpenStep
Description forthcoming.
+ (Class)
rulerViewClass;
Availability: OpenStep
Description forthcoming.
+ (void)
setRulerViewClass: (Class)aClass;
Availability: OpenStep
Description forthcoming.
- (BOOL)
allowsMagnification;
Availability: MacOS-X 10.8.0
Description forthcoming.
- (BOOL)
autohidesScrollers;
Availability: MacOS-X 10.3.0
- (BOOL)
automaticallyAdjustsContentInsets;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (
NSColor*)
backgroundColor;
Availability: OpenStep
Description forthcoming.
- (NSBorderType)
borderType;
Availability: OpenStep
Description forthcoming.
- (NSEdgeInsets)
contentInsets;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (NSSize)
contentSize;
Availability: OpenStep
Returns the size of the NSScrollView's content
view
- (
NSClipView*)
contentView;
Availability: OpenStep
Description forthcoming.
- (
NSCursor*)
documentCursor;
Availability: OpenStep
Description forthcoming.
- (id)
documentView;
Availability: OpenStep
Description forthcoming.
- (NSRect)
documentVisibleRect;
Availability: OpenStep
Description forthcoming.
- (BOOL)
drawsBackground;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
flashScrollers;
Availability: MacOS-X 10.7.0
Shows the scrollers if they're overlay scrollers.
- (BOOL)
hasHorizontalRuler;
Availability: OpenStep
- (BOOL)
hasHorizontalScroller;
Availability: OpenStep
- (BOOL)
hasVerticalRuler;
Availability: OpenStep
- (BOOL)
hasVerticalScroller;
Availability: OpenStep
- (CGFloat)
horizontalLineScroll;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (CGFloat)
horizontalPageScroll;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSRulerView*)
horizontalRulerView;
Availability: OpenStep
Description forthcoming.
- (NSScrollElasticity)
horizontalScrollElasticity;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (
NSScroller*)
horizontalScroller;
Availability: OpenStep
Description forthcoming.
- (CGFloat)
lineScroll;
Availability: OpenStep
Description forthcoming.
- (CGFloat)
pageScroll;
Availability: OpenStep
Description forthcoming.
- (void)
reflectScrolledClipView: (
NSClipView*)aClipView;
Availability: OpenStep
Description forthcoming.
- (BOOL)
rulersVisible;
Availability: OpenStep
Description forthcoming.
- (NSEdgeInsets)
scrollerInsets;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (NSScrollerKnobStyle)
scrollerKnobStyle;
Availability: MacOS-X 10.7.0
The scroller knob style. By default,
NSScrollerStyleDefault.
- (NSScrollerStyle)
scrollerStyle;
Availability: MacOS-X 10.7.0
The scroller style. By default, NSScrollerStyleDefault.
- (BOOL)
scrollsDynamically;
Availability: OpenStep
Description forthcoming.
- (void)
setAllowsMagnification: (BOOL)m;
Availability: MacOS-X 10.8.0
Description forthcoming.
- (void)
setAutohidesScrollers: (BOOL)flag;
Availability: MacOS-X 10.3.0
Sets whether the view hides the scrollers
(horizontal and/or vertical independendently)
if they are not needed.
If the content fits inside the clip view on the X or Y
axis or both, the respective scroller is removed and
additional space is gained.
See Also:
-autohidesScrollers
- (void)
setAutomaticallyAdjustsContentInsets: (BOOL)adjusts;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (void)
setBackgroundColor: (
NSColor*)aColor;
Availability: OpenStep
Description forthcoming.
- (void)
setBorderType: (NSBorderType)borderType;
Availability: OpenStep
Description forthcoming.
- (void)
setContentInsets: (NSEdgeInsets)edgeInsets;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (void)
setContentView: (
NSClipView*)aView;
Availability: OpenStep
Description forthcoming.
- (void)
setDocumentCursor: (
NSCursor*)aCursor;
Availability: OpenStep
Description forthcoming.
- (void)
setDocumentView: (
NSView*)aView;
Availability: OpenStep
Description forthcoming.
- (void)
setDrawsBackground: (BOOL)flag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHasHorizontalRuler: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setHasHorizontalScroller: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setHasVerticalRuler: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setHasVerticalScroller: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setHorizontalLineScroll: (CGFloat)aFloat;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHorizontalPageScroll: (CGFloat)aFloat;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHorizontalRulerView: (NSRulerView*)aRulerView;
Availability: OpenStep
Description forthcoming.
- (void)
setHorizontalScrollElasticity: (NSScrollElasticity)value;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
setHorizontalScroller: (
NSScroller*)aScroller;
Availability: OpenStep
Description forthcoming.
- (void)
setLineScroll: (CGFloat)aFloat;
Availability: OpenStep
Description forthcoming.
- (void)
setPageScroll: (CGFloat)aFloat;
Availability: OpenStep
Description forthcoming.
- (void)
setRulersVisible: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setScrollerInsets: (NSEdgeInsets)insets;
Availability: MacOS-X 10.10.0
Description forthcoming.
- (void)
setScrollerKnobStyle: (NSScrollerKnobStyle)style;
Availability: MacOS-X 10.7.0
Sets the scroller knob style. In the
default theme, this must be
NSScrollerKnobStyleDefault.
- (void)
setScrollerStyle: (NSScrollerStyle)style;
Availability: MacOS-X 10.7.0
Sets the scroller style. In the default
theme, this must be NSScrollerStyleDefault.
- (void)
setScrollsDynamically: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setVerticalLineScroll: (CGFloat)aFloat;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setVerticalPageScroll: (CGFloat)aFloat;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setVerticalRulerView: (NSRulerView*)aRulerView;
Availability: OpenStep
Description forthcoming.
- (void)
setVerticalScrollElasticity: (NSScrollElasticity)value;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (void)
setVerticalScroller: (
NSScroller*)aScroller;
Availability: OpenStep
Description forthcoming.
- (void)
tile;
Availability: OpenStep
Vertically expand the scroller by 1pt on each
end
Horizontall expand the scroller by 1pt on
each end
- (CGFloat)
verticalLineScroll;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (CGFloat)
verticalPageScroll;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSRulerView*)
verticalRulerView;
Availability: OpenStep
Description forthcoming.
- (NSScrollElasticity)
verticalScrollElasticity;
Availability: MacOS-X 10.7.0
Description forthcoming.
- (
NSScroller*)
verticalScroller;
Availability: OpenStep
Description forthcoming.
Instance Variables for NSScrollView Class
@protected BOOL
_autohidesScrollers;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSBorderType
_borderType;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSClipView*
_contentView;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSView*
_cornerView;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected float
_hLineScroll;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected float
_hPageScroll;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasCornerView;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasHeaderView;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasHorizRuler;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasHorizScroller;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasVertRuler;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_hasVertScroller;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSClipView*
_headerClipView;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRulerView*
_horizRuler;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScrollElasticity
_horizScrollElasticity;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScroller*
_horizScroller;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_knobMoved;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_rulersVisible;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScrollerKnobStyle
_scrollerKnobStyle;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScrollerStyle
_scrollerStyle;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL
_scrollsDynamically;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected float
_vLineScroll;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected float
_vPageScroll;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRulerView*
_vertRuler;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScrollElasticity
_vertScrollElasticity;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScroller*
_vertScroller;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
Up