Jive reference manual
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
jive::gl::PaletteTable Class Reference

#include <jive/gl/PaletteTable.h>

Inheritance diagram for jive::gl::PaletteTable:
Inheritance graph

Public Types

typedef jem::gl::Palette Palette
 
typedef Ref< Palette >(* PaletteCtor) ()
 

Public Member Functions

 PaletteTable ()
 
void configure (const Properties &props)
 
void getConfig (const Properties &props) const
 
void clear ()
 
void addPalette (const String &name, const Ref< Palette > &palette)
 
void addPalettes (const StringVector &names, const Properties &conf, const Properties &props)
 
Ref< PalettefindPalette (const String &name) const
 
Ref< PalettegetPalette (const String &name, const String &context) const
 
StringVector listPalettes () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< Self > get (const Properties &viewdat)
 
static void declarePalette (const String &type, PaletteCtor ctor)
 
static StringVector listPaletteTypes ()
 
static Ref< PalettenewPalette (const String &type)
 
static Ref< PalettenewPalette (const Properties &conf, const Properties &props)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Protected Member Functions

virtual ~PaletteTable ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Member Typedef Documentation

typedef Ref<Palette>(* jive::gl::PaletteTable::PaletteCtor) ()

Constructor & Destructor Documentation

jive::gl::PaletteTable::PaletteTable ( )
virtual jive::gl::PaletteTable::~PaletteTable ( )
protectedvirtual

Member Function Documentation

void jive::gl::PaletteTable::configure ( const Properties props)
void jive::gl::PaletteTable::getConfig ( const Properties props) const
void jive::gl::PaletteTable::clear ( )
void jive::gl::PaletteTable::addPalette ( const String name,
const Ref< Palette > &  palette 
)
void jive::gl::PaletteTable::addPalettes ( const StringVector &  names,
const Properties conf,
const Properties props 
)
Ref<Palette> jive::gl::PaletteTable::findPalette ( const String name) const
Ref<Palette> jive::gl::PaletteTable::getPalette ( const String name,
const String context 
) const
StringVector jive::gl::PaletteTable::listPalettes ( ) const
static Ref<Self> jive::gl::PaletteTable::get ( const Properties viewdat)
static
static void jive::gl::PaletteTable::declarePalette ( const String type,
PaletteCtor  ctor 
)
static
static StringVector jive::gl::PaletteTable::listPaletteTypes ( )
static
static Ref<Palette> jive::gl::PaletteTable::newPalette ( const String type)
static
static Ref<Palette> jive::gl::PaletteTable::newPalette ( const Properties conf,
const Properties props 
)
static