Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::detail::inline_widget_notifier_interface< Index, Status, Value > Class Template Referenceabstract

Public Types

using index_type = Index
 A type to index a item. More...
 
using value_type = Value
 A type to the value of the item. More...
 
using status_type = Status
 A type to the status. More...
 
using inline_indicator = inline_widget_indicator< index_type, value_type >
 A typedef name of a inline widget indicator. More...
 
using factory_interface = inline_widget_notifier_interface
 A type to the notifier interface that will be refered by the abstract factory pattern. More...
 

Public Member Functions

virtual ~inline_widget_notifier_interface ()=default
 The destructor. More...
 
virtual void create (window)=0
 A message to create the inline widget. More...
 
virtual void activate (inline_indicator &, index_type)=0
 A message to activate the inline widget to attach a specified item. More...
 
virtual void notify_status (status_type, bool)=0
 A message to change the status. More...
 
virtual void resize (const size &)=0
 A message to resize the inline widget. More...
 
virtual void set (const value_type &)=0
 A message to set the value from the item. More...
 
virtual bool whether_to_draw () const =0
 Determines whether to draw the background of the widget. More...
 

Detailed Description

template<typename Index, typename Status, typename Value>
class nana::detail::inline_widget_notifier_interface< Index, Status, Value >

Examples:
listbox_inline_widget.cpp.

Member Typedef Documentation

template<typename Index , typename Status , typename Value >
using nana::detail::inline_widget_notifier_interface< Index, Status, Value >::factory_interface = inline_widget_notifier_interface

A type to the notifier interface that will be refered by the abstract factory pattern.

template<typename Index , typename Status , typename Value >
using nana::detail::inline_widget_notifier_interface< Index, Status, Value >::index_type = Index

A type to index a item.

template<typename Index , typename Status , typename Value >
using nana::detail::inline_widget_notifier_interface< Index, Status, Value >::inline_indicator = inline_widget_indicator<index_type, value_type>

A typedef name of a inline widget indicator.

template<typename Index , typename Status , typename Value >
using nana::detail::inline_widget_notifier_interface< Index, Status, Value >::status_type = Status

A type to the status.

template<typename Index , typename Status , typename Value >
using nana::detail::inline_widget_notifier_interface< Index, Status, Value >::value_type = Value

A type to the value of the item.

Constructor & Destructor Documentation

template<typename Index , typename Status , typename Value >
virtual nana::detail::inline_widget_notifier_interface< Index, Status, Value >::~inline_widget_notifier_interface ( )
virtualdefault

The destructor.

Member Function Documentation

template<typename Index , typename Status , typename Value >
virtual void nana::detail::inline_widget_notifier_interface< Index, Status, Value >::activate ( inline_indicator ,
index_type   
)
pure virtual

A message to activate the inline widget to attach a specified item.

template<typename Index , typename Status , typename Value >
virtual void nana::detail::inline_widget_notifier_interface< Index, Status, Value >::create ( window  )
pure virtual

A message to create the inline widget.

template<typename Index , typename Status , typename Value >
virtual void nana::detail::inline_widget_notifier_interface< Index, Status, Value >::notify_status ( status_type  ,
bool   
)
pure virtual

A message to change the status.

template<typename Index , typename Status , typename Value >
virtual void nana::detail::inline_widget_notifier_interface< Index, Status, Value >::resize ( const size )
pure virtual

A message to resize the inline widget.

template<typename Index , typename Status , typename Value >
virtual void nana::detail::inline_widget_notifier_interface< Index, Status, Value >::set ( const value_type )
pure virtual

A message to set the value from the item.

template<typename Index , typename Status , typename Value >
virtual bool nana::detail::inline_widget_notifier_interface< Index, Status, Value >::whether_to_draw ( ) const
pure virtual

Determines whether to draw the background of the widget.