Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIScrollableView Class Reference

#include <nsIScrollableView.h>

Inherited by nsScrollPortView.

List of all members.

Detailed Description

A scrolling view allows an arbitrary view that you supply to be scrolled vertically or horizontally (or both). The scrolling view creates and manages the scrollbars.

You must use SetScrolledView() to specify the view that is to be scrolled, because the scrolled view is made a child of the clip view (an internal child view created by the scrolling view).

Definition at line 62 of file nsIScrollableView.h.

Public Member Functions

NS_IMETHOD AddScrollPositionListener (nsIScrollPositionListener *aListener)=0
NS_IMETHOD CanScroll (PRBool aHorizontal, PRBool aForward, PRBool &aResult)=0
NS_IMETHOD CreateScrollControls (nsNativeWidget aNative=nsnull)=0
NS_IMETHOD GetContainerSize (nscoord *aWidth, nscoord *aHeight) const =0
NS_IMETHOD GetLineHeight (nscoord *aHeight)=0
NS_IMETHOD GetPageScrollDistances (nsSize *aDistances)=0
NS_IMETHOD GetScrolledView (nsIView *&aScrolledView) const =0
NS_IMETHOD GetScrollPosition (nscoord &aX, nscoord &aY) const =0
NS_IMETHOD GetScrollProperties (PRUint32 *aProperties)=0
 NS_IMETHOD_ (nsIView *) View()=0
NS_IMETHOD RemoveScrollPositionListener (nsIScrollPositionListener *aListener)=0
NS_IMETHOD ScrollByLines (PRInt32 aNumLinesX, PRInt32 aNumLinexY)=0
NS_IMETHOD ScrollByPages (PRInt32 aNumPagesX, PRInt32 aNumPagesY)=0
NS_IMETHOD ScrollByPixels (PRInt32 aNumPixelsX, PRInt32 aNumPixelsY)=0
NS_IMETHOD ScrollByWhole (PRBool aTop)=0
NS_IMETHOD ScrollTo (nscoord aX, nscoord aY, PRUint32 aUpdateFlags)=0
NS_IMETHOD SetLineHeight (nscoord aHeight)=0
NS_IMETHOD SetScrolledView (nsIView *aScrolledView)=0
NS_IMETHOD SetScrollProperties (PRUint32 aProperties)=0

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index