The nested class INotebook::Cursor defines objects that you can use to iterate through the pages of a notebook. In the same way that you can use a cursor to iterate through the objects in a collection, you can use this cursor object to iterate through a notebook, one page at a time.
An object of this class processes IPageHandle objects, each of which can be thought of as a pointer to a specific page in the notebook.
You can construct and destruct objects of this class.
![]() |
public:
virtual ~Cursor()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
Cursor(const INotebook& notebook)
Create objects of this nested class by specifying a notebook. Use the object to iterate through the pages of the notebook that you specified.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these members to iterate through the pages of a notebook.
![]() |
public:
virtual void invalidate()
Flags this cursor as not valid.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool isValid() const
Queries whether the cursor points to a valid item and returns true if it does.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool setToFirst()
Sets the cursor to point to the first page of the notebook.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool setToLast()
Sets the cursor to point to the last page of the notebook.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool setToNext()
Sets the cursor to point to the next page of the notebook.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual bool setToPrevious()
Sets the cursor to point to the previous page of the notebook.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these members to retrieve notebook pages.
![]() |
public:
virtual IPageHandle current() const
Returns an IPageHandle object for the notebook page to which the cursor currently points.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual IPageHandle first()
Points to the first notebook page and returns an IPageHandle object that points to that page.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual IPageHandle last()
Points to the last notebook page and returns an IPageHandle object that points to that page.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual IPageHandle next()
Points to the next notebook page and returns an IPageHandle object that points to that page.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
virtual IPageHandle previous()
Points to the previous notebook page and returns an IPageHandle object that points to that page.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
void setCurrent(const IPageHandle& current)
Sets the cursor to point to the specified notebook page, therefore making it the current page.
Windows | OS/2 | AIX |
Yes | Yes | Yes |