Script
List of all members
PaletteObjectManager Class Reference

Provide access to palette list (PaletteList) and palette (Palette) objects. More...

#include <palettemanagerinterface.h>

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

Public Slots

Load palette lists.
PaletteListgetPaletteListByElementId (int id)
 Load the palette list specified by the element ID 'id' and return the corresponding PaletteList object. More...
 
PaletteListgetScenePaletteList ()
 Load the scene palette list and return the corresponding PaletteList object. More...
 
For loaded palette lists.
int getNumPaletteLists ()
 Return the number of loaded palette lists. More...
 
PaletteListgetPaletteListByIndex (int index)
 Returns a PaletteList object for the loaded palette list at position 'index'. More...
 
PaletteListgetPaletteListById (String id)
 Return a PaletteList object for the loaded palette list with the specified list ID. More...
 
Palettes.
PalettegetPalette (String id)
 Returns a Palette object for the loaded palette with the specified palette ID. More...
 

Detailed Description

Provide access to palette list (PaletteList) and palette (Palette) objects.

Member Function Documentation

int PaletteObjectManager::getNumPaletteLists ( )
slot

Return the number of loaded palette lists.

Palette* PaletteObjectManager::getPalette ( String  id)
slot

Returns a Palette object for the loaded palette with the specified palette ID.

Parameters
idID of palette to retrieve
PaletteList* PaletteObjectManager::getPaletteListByElementId ( int  id)
slot

Load the palette list specified by the element ID 'id' and return the corresponding PaletteList object.

If the palette list is already loaded then simply return a PaletteList object for it.

Parameters
idelement ID
PaletteList* PaletteObjectManager::getPaletteListById ( String  id)
slot

Return a PaletteList object for the loaded palette list with the specified list ID.

Parameters
idID of palette list to retrieve
PaletteList* PaletteObjectManager::getPaletteListByIndex ( int  index)
slot

Returns a PaletteList object for the loaded palette list at position 'index'.

Parameters
indexindex of palette list to retrieve
PaletteList* PaletteObjectManager::getScenePaletteList ( )
slot

Load the scene palette list and return the corresponding PaletteList object.

If the palette list is already loaded then simply return a PaletteList object for it.


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