Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsITextScroll Interface Reference

The nsITextScroll is an interface that can be implemented by a control that supports text scrolling. More...

import "nsITextScroll.idl";

Inheritance diagram for nsITextScroll:
Inheritance graph
[legend]
Collaboration diagram for nsITextScroll:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void scrollByLines (in long numLines)
 Scroll the view up or down by aNumLines lines.
void scrollByPages (in long numPages)
 Scroll the view up or down by numPages pages.

Detailed Description

The nsITextScroll is an interface that can be implemented by a control that supports text scrolling.

Definition at line 49 of file nsITextScroll.idl.


Member Function Documentation

Scroll the view up or down by aNumLines lines.

positive values move down in the view. Prevents scrolling off the end of the view.

Parameters:
numLinesnumber of lines to scroll the view by

Scroll the view up or down by numPages pages.

a page is considered to be the amount displayed by the clip view. positive values move down in the view. Prevents scrolling off the end of the view.

Parameters:
numPagesnumber of pages to scroll the view by

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