Crazy Eddies GUI System 0.7.5
Public Member Functions
CEGUI::ItemListBaseProperties::SortMode Class Reference

Property to access the sorting mode. More...

Inheritance diagram for CEGUI::ItemListBaseProperties::SortMode:
Collaboration diagram for CEGUI::ItemListBaseProperties::SortMode:

List of all members.

Public Member Functions

String get (const PropertyReceiver *receiver) const
 Return the current value of the Property as a String.
void set (PropertyReceiver *receiver, const String &value)
 Sets the value of the property.

Detailed Description

Property to access the sorting mode.

Usage:
Where [Text] is:
  • "Ascending" to use ascending sorting.
  • "Descending" to use descending sorting.
  • "UserSort" to use a user specifed callback as sorting function, defaults to ascending sorting if no user callback has been specified by the application.

Member Function Documentation

String CEGUI::ItemListBaseProperties::SortMode::get ( const PropertyReceiver receiver) const [virtual]

Return the current value of the Property as a String.

Parameters:
receiverPointer to the target object.
Returns:
String object containing a textual representation of the current value of the Property

Implements CEGUI::Property.

void CEGUI::ItemListBaseProperties::SortMode::set ( PropertyReceiver receiver,
const String value 
) [virtual]

Sets the value of the property.

Parameters:
receiverPointer to the target object.
valueA String object that contains a textual representation of the new value to assign to the Property.
Returns:
Nothing.
Exceptions:
InvalidRequestExceptionThrown when the Property was unable to interpret the content of value.

Implements CEGUI::Property.