Class hierarchy Compound list Compound Members

# ScrollableND Class Reference

This type maintains an array of Scrollable1Ds. More...

Inherited by BitmapComp.

List of all members.

## Public Members

- ScrollableND (int N)
    Constructor: create a ScrollableND with the given number of dimensions.

- virtual int getVirtualSize (int n) = 0
    Return the virtual size of the given dimension (see Scrollable).

- virtual int getActualSize (int n) = 0
    Return the actual size of the given dimension (see Scrollable).

- virtual Scrollable* getScrollable (int n)
    Returns a reference to the Scrollable at the given dimension.

- virtual long getScrollPosition (int n)
    Return the scroll position of the given dimension.

- virtual void setScrollPosition (int n, int Pos)
    Set the scroll position of the given dimension.

- virtual void scrollPositionChanged ()
    Called by setScrollPosition for notification of updates.

## Detailed Description

This type maintains an array of Scrollable1Ds.

It is used by various GUI components that are scrollable in more than one dimension.

## Member Function Documentation

### ScrollableND::ScrollableND(int N)

Constructor: create a ScrollableND with the given number of dimensions.

### virtual int ScrollableND::getVirtualSize(int n) = 0`[pure virtual]`

Return the virtual size of the given dimension (see Scrollable).

Reimplemented in BitmapComp.

### virtual int ScrollableND::getActualSize(int n) = 0`[pure virtual]`

Return the actual size of the given dimension (see Scrollable).

Reimplemented in BitmapComp.

### virtual Scrollable* ScrollableND::getScrollable(int n)`[virtual]`

Returns a reference to the Scrollable at the given dimension.

### virtual long ScrollableND::getScrollPosition(int n)`[virtual]`

Return the scroll position of the given dimension.

### virtual void ScrollableND::setScrollPosition(int n, int Pos)`[virtual]`

Set the scroll position of the given dimension.

### virtual void ScrollableND::scrollPositionChanged()`[virtual]`

Called by setScrollPosition for notification of updates.

Default implementation calls invalidate if this is also a Component.

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

- GUI_3D.h