DataElement

class DataElement: public AlterableObject

Abstract class that implements the skeleton of a data element.

Inherits from AlterableObject.

Summary
DataElementAbstract class that implements the skeleton of a data element.
Functions
DataElementUnused constructor of abstract class.
~DataElementVirtual.
GetDataEntryReturns the data entry connected to the data element.
GetLabelReturns the label connected to the data element.
GetLeftReturns the left value of the data element.
GetTopReturns the top value of the data element.
GetBottomReturns the bottom value of the data element.
GetWidthReturns the width of the data element.
GetHeightReturns the height of the data element.
GetAlphaReturns the alpha color value of the data element.
ScaleVirtual.

Functions

DataElement

DataElement()

Unused constructor of abstract class.

~DataElement

virtual ~DataElement()

Virtual.  Releases all allocated resources.

GetDataEntry

DataEntry* GetDataEntry()

Returns the data entry connected to the data element.

Returns

The data entry connected to the data element.

GetLabel

Label* GetLabel()

Returns the label connected to the data element.

Returns

The Label connected to the data element.

GetLeft

float GetLeft()

Returns the left value of the data element.

Returns

The left value of the data element.

GetTop

float GetTop()

Returns the top value of the data element.

Returns

The top value of the data element.

GetBottom

float GetBottom()

Returns the bottom value of the data element.

Returns

The bottom value of the data element.

GetWidth

float GetWidth()

Returns the width of the data element.

Returns

The width of the data element.

GetHeight

float GetHeight()

Returns the height of the data element.

Returns

The height of the data element.

GetAlpha

float GetAlpha()

Returns the alpha color value of the data element.

Returns

The alpha color value of the data element.

Scale

virtual void Scale(float fDeltaWidth,
float fDeltaHeight) = 0

Virtual.  Scales the object.

Parameters

fDeltaWidthTotal horizontal scaling value.
fDeltaHeightTotal vertical scaling value.
class DataElement: public AlterableObject
Abstract class that implements the skeleton of a data element.
DataElement()
Unused constructor of abstract class.
virtual ~DataElement()
Virtual.
DataEntry* GetDataEntry()
Returns the data entry connected to the data element.
Label* GetLabel()
Returns the label connected to the data element.
float GetLeft()
Returns the left value of the data element.
float GetTop()
Returns the top value of the data element.
float GetBottom()
Returns the bottom value of the data element.
float GetWidth()
Returns the width of the data element.
float GetHeight()
Returns the height of the data element.
float GetAlpha()
Returns the alpha color value of the data element.
virtual void Scale(float fDeltaWidth,
float fDeltaHeight) = 0
Virtual.
class AlterableObject
Abstract class that implements the skeleton of an alterable object, i.e.
Close