AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
EM::PrinterTemplate::EPicture Class Reference

concrete draw object More...

#include <EPicture.h>

Inheritance diagram for EM::PrinterTemplate::EPicture:
Inheritance graph
[legend]
Collaboration diagram for EM::PrinterTemplate::EPicture:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 EPicture (std::string name)
 
 ~EPicture ()
 
virtual void Draw (float moveY)
 
virtual EDrawObjectClone ()
 
virtual void ReadXML (EXMLNode *node)
 
virtual long Save (EXMLNode *node)
 
virtual float GetHeight ()
 
virtual float GetWidth ()
 
virtual void SetWidth (long width)
 
virtual void SetHeight (long height)
 
virtual bool VerticalMove ()
 
virtual long GetContentWidth ()
 
std::string GetFileName ()
 
void SetFileName (const std::string &fileName)
 
Alignement GetAlignment ()
 
void SetAlignment (Alignement align)
 
bool GetStretch ()
 
void SetStretch (bool stretch)
 
 EPicture (std::string name)
 
 ~EPicture ()
 
virtual void Draw (float moveY)
 
virtual EDrawObjectClone ()
 
virtual void ReadXML (EXMLNode *node)
 
virtual long Save (EXMLNode *node)
 
virtual float GetHeight ()
 
virtual float GetWidth ()
 
virtual void SetWidth (long width)
 
virtual void SetHeight (long height)
 
virtual bool VerticalMove ()
 
virtual long GetContentWidth ()
 
std::string GetFileName ()
 
void SetFileName (const std::string &fileName)
 
Alignement GetAlignment ()
 
void SetAlignment (Alignement align)
 
bool GetStretch ()
 
void SetStretch (bool stretch)
 
- Public Member Functions inherited from EM::PrinterTemplate::EDrawObject
 EDrawObject (const std::string &name)
 
virtual ~EDrawObject ()
 
void SetName (const std::string &name)
 
std::string GetName ()
 
float GetX ()
 
float GetY ()
 
float GetOriginalY ()
 
void SetX (float x)
 
void SetY (float y)
 
virtual void Move (float x, float y)
 
virtual float GetMaxY ()
 
Printer::EImageIfaceGetImageIface ()
 
void SetImageIface (Printer::EImageIface *imageIface)
 
void SetData (Common::EDataAbs *data)
 
virtual float Prepare ()
 
std::string GetDataName ()
 
void SetDataName (const std::string &name)
 
Common::EDataAbs * GetData ()
 
void SetOwner (EDrawObject *owner)
 
EDrawObjectGetOwner ()
 
void SetIdentificationName (const std::string &identificationName)
 
std::string GetIdentificationName ()
 
void SetDrawObjectToAlign (const std::string &identificationName)
 
std::string GetDrawObjectToAlign ()
 
std::string GetBackgroundImage ()
 
void SetBackgroundImage (const std::string &fileName)
 
void SetMasterDrawObject (const std::string &identificationName)
 
std::string GetMasterDrawObject ()
 
bool IsVisible ()
 
EDrawObjectGetDrawObject (const std::string &identificationName)
 
 EDrawObject (const std::string &name)
 
virtual ~EDrawObject ()
 
void SetName (const std::string &name)
 
std::string GetName ()
 
float GetX ()
 
float GetY ()
 
float GetOriginalY ()
 
void SetX (float x)
 
void SetY (float y)
 
virtual void Move (float x, float y)
 
virtual float GetMaxY ()
 
Printer::EImageIfaceGetImageIface ()
 
void SetImageIface (Printer::EImageIface *imageIface)
 
void SetData (Common::EDataAbs *data)
 
virtual float Prepare ()
 
std::string GetDataName ()
 
void SetDataName (const std::string &name)
 
Common::EDataAbs * GetData ()
 
void SetOwner (EDrawObject *owner)
 
EDrawObjectGetOwner ()
 
void SetIdentificationName (const std::string &identificationName)
 
std::string GetIdentificationName ()
 
void SetDrawObjectToAlign (const std::string &identificationName)
 
std::string GetDrawObjectToAlign ()
 
std::string GetBackgroundImage ()
 
void SetBackgroundImage (const std::string &fileName)
 
void SetMasterDrawObject (const std::string &identificationName)
 
std::string GetMasterDrawObject ()
 
bool IsVisible ()
 
EDrawObjectGetDrawObject (const std::string &identificationName)
 

Protected Member Functions

void SaveCommonPictureAttributes (EXMLNode *node)
 
void SaveCommonPictureAttributes (EXMLNode *node)
 

Detailed Description

concrete draw object

class EPicture

Constructor & Destructor Documentation

EM::PrinterTemplate::EPicture::EPicture ( std::string  name)
EPicture::~EPicture ( )

public destructor ~EPicture

Returns
void
EM::PrinterTemplate::EPicture::EPicture ( std::string  name)
EM::PrinterTemplate::EPicture::~EPicture ( )

Member Function Documentation

EDrawObject * EPicture::Clone ( void  )
virtual
virtual EDrawObject* EM::PrinterTemplate::EPicture::Clone ( void  )
virtual
void EPicture::Draw ( float  moveY)
virtual

public virtual Draw Vykreslenie obrazku

Parameters
moveYfloat * [vstup]
Returns
void

Implements EM::PrinterTemplate::EDrawObject.

Reimplemented in EM::PrinterTemplate::EDynamicPicture, and EM::PrinterTemplate::EDynamicPicture.

Here is the caller graph for this function:

virtual void EM::PrinterTemplate::EPicture::Draw ( float  moveY)
virtual

public pure virtual Draw

Parameters
moveYfloat * [vstup]
Returns
void

Implements EM::PrinterTemplate::EDrawObject.

Reimplemented in EM::PrinterTemplate::EDynamicPicture, and EM::PrinterTemplate::EDynamicPicture.

Alignement EPicture::GetAlignment ( )
Alignement EM::PrinterTemplate::EPicture::GetAlignment ( )
long EPicture::GetContentWidth ( )
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

virtual long EM::PrinterTemplate::EPicture::GetContentWidth ( )
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

string EPicture::GetFileName ( )
std::string EM::PrinterTemplate::EPicture::GetFileName ( )
float EPicture::GetHeight ( )
virtual

public virtual GetHeight Vrati vysku obrazku

Returns
float vyska

Reimplemented from EM::PrinterTemplate::EDrawObject.

virtual float EM::PrinterTemplate::EPicture::GetHeight ( )
virtual

public virtual GetHeight Vratenie vysky vykreslovacieho objektu

Returns
float vyska

Reimplemented from EM::PrinterTemplate::EDrawObject.

bool EM::PrinterTemplate::EPicture::GetStretch ( )
bool EPicture::GetStretch ( )
virtual float EM::PrinterTemplate::EPicture::GetWidth ( )
virtual
float EPicture::GetWidth ( )
virtual
virtual void EM::PrinterTemplate::EPicture::ReadXML ( EXMLNode *  node)
virtual

public virtual ReadXML Nacitavanie XML

Parameters
nodeEXMLNode * * [vstup]
Returns
void

Reimplemented from EM::PrinterTemplate::EDrawObject.

Reimplemented in EM::PrinterTemplate::EDynamicPicture, and EM::PrinterTemplate::EDynamicPicture.

void EPicture::ReadXML ( EXMLNode *  node)
virtual

public virtual ReadXML Nacitavanie XML

Parameters
nodeEXMLNode * * [vstup]
Returns
void
Remarks
Obrazok a jeho vlastnosti - sirka, vyska
Date
11-23-2006

Reimplemented from EM::PrinterTemplate::EDrawObject.

Reimplemented in EM::PrinterTemplate::EDynamicPicture, and EM::PrinterTemplate::EDynamicPicture.

Here is the call graph for this function:

Here is the caller graph for this function:

long EPicture::Save ( EXMLNode *  node)
virtual
virtual long EM::PrinterTemplate::EPicture::Save ( EXMLNode *  node)
virtual
void EPicture::SaveCommonPictureAttributes ( EXMLNode *  node)
protected

Here is the caller graph for this function:

void EM::PrinterTemplate::EPicture::SaveCommonPictureAttributes ( EXMLNode *  node)
protected
void EPicture::SetAlignment ( Alignement  align)
void EM::PrinterTemplate::EPicture::SetAlignment ( Alignement  align)
void EM::PrinterTemplate::EPicture::SetFileName ( const std::string &  fileName)
void EM::PrinterTemplate::EPicture::SetFileName ( const std::string &  fileName)

Here is the caller graph for this function:

void EPicture::SetHeight ( long  height)
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

virtual void EM::PrinterTemplate::EPicture::SetHeight ( long  height)
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

void EM::PrinterTemplate::EPicture::SetStretch ( bool  stretch)
void EPicture::SetStretch ( bool  stretch)
virtual void EM::PrinterTemplate::EPicture::SetWidth ( long  width)
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

void EPicture::SetWidth ( long  width)
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

bool EPicture::VerticalMove ( )
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.

virtual bool EM::PrinterTemplate::EPicture::VerticalMove ( )
virtual

Reimplemented from EM::PrinterTemplate::EDrawObject.


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