ObjectTransferable::Config Class Reference

Config object for transferable objects in the matrix. More...

#include <ObjectTransferable.h>

Inheritance diagram for ObjectTransferable::Config:

Object::Config EditableInWindowConfig BaseConfig List of all members.

Public Member Functions

 Config (const string &imageFile, const Direction &objectDirection, const Action &objectAction, const string &objectName, const string &objectDescription)
 Constructor - initialize whole object.
 Config (TiXmlElement *node)
 Constructs object using data from XML node.
virtual ~Config ()
 Destructor.
virtual void ShowEditationWindow (wxWindow *parent, bool waitUntilClosed=true)
 Shows editation window where the user can edit the config.
virtual TiXmlElement * CreateXmlNode () const
 Creates node representing the config.
virtual const string & GetObjectClassName () const
 Returns name of the class, object is supposed to construct.
virtual const wxColour * GetObjectTextColour () const
 Returns text colour of the object.

Detailed Description

Config object for transferable objects in the matrix.


Constructor & Destructor Documentation

ObjectTransferable::Config::Config ( const string &  imageFile,
const Direction objectDirection,
const Action &  objectAction,
const string &  objectName,
const string &  objectDescription 
) [inline]

Constructor - initialize whole object.

Parameters:
imageFile File containing image
objectDirection Starting direction
objectAction Starting action
objectName contains name of the object
objectDescription contains description of the object

ObjectTransferable::Config::Config ( TiXmlElement *  node  )  [explicit]

Constructs object using data from XML node.

Reimplemented from Object::Config.

virtual ObjectTransferable::Config::~Config (  )  [inline, virtual]

Destructor.

Reimplemented from Object::Config.


Member Function Documentation

TiXmlElement * ObjectTransferable::Config::CreateXmlNode (  )  const [virtual]

Creates node representing the config.

Implements Object::Config.

virtual const string& ObjectTransferable::Config::GetObjectClassName (  )  const [inline, virtual]

Returns name of the class, object is supposed to construct.

Implements Object::Config.

virtual const wxColour* ObjectTransferable::Config::GetObjectTextColour (  )  const [inline, virtual]

Returns text colour of the object.

This can be used to make differences between objects on the text level.

Implements Object::Config.

void ObjectTransferable::Config::ShowEditationWindow ( wxWindow *  parent,
bool  waitUntilClosed = true 
) [virtual]

Shows editation window where the user can edit the config.

Parameters:
parent Parent window
waitUntilClosed If true, application will be stopped until the window is closed

Implements EditableInWindowConfig.


The documentation for this class was generated from the following files:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7