* @file buttonContainerController.h
* @brief This contains the ButtonContainerController class
* @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * @date 2011-05-19
+ * @date 2011-06-02
*/
#ifndef BUTTONCONTAINERPANEL_H
#include <wx/scrolwin.h>
#include <wx/button.h>
#include <wx/sizer.h>
+
#include <list>
#include <map>
+#include <exception>
#include "buttonGroup.h"
#include "groupManager.h"
{
/*! @class ButtonContainerController buttonContainerController.h "buttonContainerController.h"
* @brief This class contains the ButtonContainerPanel controller.
- * @details This class describes the button events, it derives from wxEvtHandler and it is the
- * controller in the MVC.
+ * @details This class describes the button events, it derives from wxEvtHandler.
* @see <a href="http://docs.wxwidgets.org/stable/wx_wxevthandler.html">wxEvtHandler</a>
*/
class ButtonContainerController;
*/
namespace view
{
- /*! @class ButtonContainerController buttonContainerController.h "buttonContainerController.h"
- * @brief This class contains the ButtonContainerPanel controller.
- * @details This class describes the button events, it derives from wxEvtHandler and it is the
- * controller in the MVC.
- * @see <a href="http://docs.wxwidgets.org/stable/wx_wxscrolledWindow.html">wxScrolledWindow</a>
+ /*! @class ButtonContainerPanel buttonContainerPanel.h "buttonContainerPanel.h"
+ * @brief This class is the container of the creaButtonContainer.
+ * @details This class derives from wxScrolledWindow and manages the view of the buttonContainer.
+ * @bug The scrolled it doesn't work! (to be changed soon)
+ * @see <a href="http://docs.wxwidgets.org/stable/wx_wxscrolledwindow.html">wxScrolledWindow</a>
*/
class ButtonContainerPanel : public wxScrolledWindow
{
~ButtonContainerPanel( );
// ----------------------------------------------------------------------------------
/*! @fn SetGroupContainer( ButtonGroupList groupContainer );
- * @brief This function sets the settings to the container.
+ * @brief This method sets the settings to the container.
* @param groupContainer
*/
void
SetGroupContainer( ButtonGroupList groupContainer );
// ----------------------------------------------------------------------------------
/*! @fn PanelInit( );
- * This function initializes the panel.
+ * This method initializes the panel.
+ * @exception std::bad_alloc
*/
void
PanelInit( );
// ----------------------------------------------------------------------------------
/*! @fn FitSizer( );
- * This function fits and organizes the sizer.
+ * This method fits and organizes the sizer.
*/
void
FitSizer( );
ButtonGroupList m_ButtonGroupList; //!<The list of button groups.
BCController* m_ButtonCController; //!<Pontier to controller.
Sizer* m_Sizer; //!<Pointer to wxSizer
+ DECLARE_EVENT_TABLE() //!<Event Table declaration.
};
}//ecapseman
}//ecapseman