AspectUpdate Class Template Reference
[Aspect Classes]

Aspect class used by Widgets that have the possibility of Updating their text property. More...

Inherited by WidgetTextBox, WidgetTextBox< EventHandlerClass, MessageMapPolicy >, WidgetTextBox< EventHandlerClass, MessageMapPolicy, SmartWin::RichTextBox< EventHandlerClass, MessageMapPolicy > >, and WidgetTextBox< Parent, MessageMapPolicy >.

List of all members.

Public Member Functions

void onUpdate (typename MessageMapType::itsVoidFunctionTakingVoid eventHandler)
 Sets the event handler for the Updated event.


Detailed Description

template<class EventHandlerClass, class WidgetType, class MessageMapType>
class SmartWin::AspectUpdate< EventHandlerClass, WidgetType, MessageMapType >

Aspect class used by Widgets that have the possibility of Updating their text property.

E.g. the WidgetTextBox have an Update Aspect to it therefore WidgetTextBox realize the AspectUpdate through inheritance. When a Widget realizes the Update Aspect it normally means that when the "value" part of the Widget changes, like for instance when a TextBox changes the text value the update event fill be raised.

Back to SmartWin website
SourceForge.net Logo