My Project
SallyAPI::GUI::CListViewItem Class Reference

List view item. More...

#include <ListViewItem.h>

List of all members.

Public Member Functions

 CListViewItem (const std::string &identifier, const std::string &firstLine="", int imageIndex=GUI_NO_IMAGE, LISTVIEWITEM_TYPE type=LISTVIEWITEM_TYPE_NORMAL)
 Constructor.
virtual ~CListViewItem ()
 Destructor.
void SetText (const std::string &value, int number=0)
 Sets a text.
std::string GetText (int number=0)
 Gets a text.
void SetImageText (const std::string &value, int number=0)
 Sets the text which is printed on the image.
std::string GetImageText (int number=0)
 Gets the text which is printed on the image.
void SetIdentifier (const std::string &identifier)
 Sets an identifier.
std::string GetIdentifier ()
 Gets the identifier.
void SetImageId (int value, int number=0)
 Sets an image identifier.
int GetImageId (int number=0)
 Gets an image identifier.
void SetLocalised (LISTVIEW_LOCALISATION value, int number=0)
 Sets a localised.
LISTVIEW_LOCALISATION IsLocalised (int number=0)
 Is localised.
void SetSmallFont (bool value, int number=0)
 Sets a small font.
bool GetSmallFont (int number=0)
 Gets a small font.
void SetType (LISTVIEWITEM_TYPE value, int number=0)
 Sets a type.
LISTVIEWITEM_TYPE GetType (int number=0)
 Gets a type.

Detailed Description

List view item.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CListViewItem::CListViewItem ( const std::string &  identifier,
const std::string &  text = "",
int  imageIndex = GUI_NO_IMAGE,
LISTVIEWITEM_TYPE  type = LISTVIEWITEM_TYPE_NORMAL 
)

Constructor.

Author:
Christian Knobloch
Date:
26.05.2011
Parameters:
identifierThe identifier.
textThe text.
imageIndexZero-based index of the image.
typeThe type.

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

Gets the identifier.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The identifier.
int CListViewItem::GetImageId ( int  number = 0)

Gets an image identifier.

Author:
Christian Knobloch
Date:
01.12.2010
Parameters:
numberNumber of.
Returns:
The image identifier.
std::string CListViewItem::GetImageText ( int  number = 0)

Gets the text which is printed on the image.

Author:
Christian Knobloch
Date:
29.06.2011
Parameters:
numberNumber of.
Returns:
The image text.
bool CListViewItem::GetSmallFont ( int  number = 0)

Gets a small font.

Author:
Christian Knobloch
Date:
30.11.2010
Parameters:
numberNumber of.
Returns:
true if it succeeds, false if it fails.
std::string CListViewItem::GetText ( int  number = 0)

Gets a text.

Author:
Christian Knobloch
Date:
29.11.2010
Parameters:
numberNumber of.
Returns:
The text.

Gets a type.

Author:
Christian Knobloch
Date:
26.05.2011
Parameters:
numberNumber of.
Returns:
The type.

Is localised.

Author:
Christian Knobloch
Date:
29.11.2010
Parameters:
numberNumber of.
Returns:
.
void CListViewItem::SetIdentifier ( const std::string &  identifier)

Sets an identifier.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
identifierThe identifier.
void CListViewItem::SetImageId ( int  value,
int  number = 0 
)

Sets an image identifier.

Author:
Christian Knobloch
Date:
01.12.2010
Parameters:
valueThe value.
numberNumber of.
void CListViewItem::SetImageText ( const std::string &  value,
int  number = 0 
)

Sets the text which is printed on the image.

Author:
Christian Knobloch
Date:
29.06.2011
Parameters:
valueThe value.
numberNumber of.
void CListViewItem::SetLocalised ( LISTVIEW_LOCALISATION  value,
int  number = 0 
)

Sets a localised.

Author:
Christian Knobloch
Date:
29.11.2010
Parameters:
valueThe value.
numberNumber of.
void CListViewItem::SetSmallFont ( bool  value,
int  number = 0 
)

Sets a small font.

Author:
Christian Knobloch
Date:
30.11.2010
Parameters:
valuetrue to value.
numberNumber of.
void CListViewItem::SetText ( const std::string &  value,
int  number = 0 
)

Sets a text.

Author:
Christian Knobloch
Date:
30.11.2010
Parameters:
valueThe value.
numberNumber of.
void CListViewItem::SetType ( LISTVIEWITEM_TYPE  value,
int  number = 0 
)

Sets a type.

Author:
Christian Knobloch
Date:
26.05.2011
Parameters:
valueThe value.
numberNumber of.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines