# InventoryBase (of `IconBar`)

class `InventoryBase`

  Defined in ScrollableInventory.sc.

  Base class for `ScrollableInventory`.

Subclasses: `ScrollableInventory`.

## Properties

Inherited from `IconBar`:

Property | Description
--- | ---
elements |
size |
height |
underBits |
oldMouseX |
oldMouseY |
curIcon |
highlightedIcon |
prevIcon |
curInvIcon |
useIconItem |
helpIconItem |
walkIconItem |
port |
window |
state |
activateHeight |
y |
name |

Defined in InventoryBase:

Property | Description
--- | ---
normalHeading |
heading |
empty |
iconBarInvItem |
okButton |
selectIcon |

## Methods

`init`()

`doit`()

`showSelf`(param1)

`show`(param1)

`hide`()

`advance`(param1)

`retreat`(param1)

`ownedBy`(param1)

`drawInvWindow`(param1 param2)