AspectText Class Template Reference
[Aspect Classes]

property of their objects. More...

Inherited by NoSection, WidgetButton, WidgetCheckBox, WidgetGroupBox, WidgetRadioButton, WidgetStatic, WidgetTabSheet, WidgetTextBox, WidgetTextBox< EventHandlerClass, MessageMapPolicy >, WidgetTextBox< EventHandlerClass, MessageMapPolicy, SmartWin::RichTextBox< EventHandlerClass, MessageMapPolicy > >, WidgetTextBox< Parent, MessageMapPolicy >, WidgetWindowBase, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyDialogWidget >, WidgetWindowBase< EventHandlerClass, SmartWin::MessageMapPolicyModalDialogWidget >, and WidgetWindowBase< EventHandlerClass, unUsed >.

List of all members.

Public Member Functions

SmartUtil::tstring getText () const
 Gets the text of the AspectText realizing class.
void onTextChanging (typename MessageMapType::itsVoidFunctionTakingConstString eventHandler)
 Setting the event handler for the "setText" event.
void setText (const SmartUtil::tstring &txt)
 Sets the text of the AspectText realizing class.


Detailed Description

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

property of their objects.

E.g. the AspectTextBox have a "text" Aspect therefore they realize the AspectText through inheritance.


Member Function Documentation

SmartUtil::tstring getText (  )  const

Gets the text of the AspectText realizing class.

The Return value is the text of the realizing class.

void setText ( const SmartUtil::tstring &  txt  ) 

Sets the text of the AspectText realizing class.

The txt parameter is the new text to put into the realizing object.

Back to SmartWin website
SourceForge.net Logo