MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMPanelData Class Reference

#include <definterface.h>

Inherits wxIFMExtensionDataBase.

Inheritance diagram for wxIFMPanelData:

Inheritance graph
Collaboration diagram for wxIFMPanelData:

Collaboration graph
List of all members.

Public Member Functions

 wxIFMPanelData ()
 wxIFMPanelData (wxIFMInterfacePluginBase *ip, wxIFMComponent *c)
 ~wxIFMPanelData ()
wxIFMComponentDataKeyType GetDataKey () const

Static Public Member Functions

static wxIFMComponentDataKeyType DataKey ()

Public Attributes

wxIFMComponentButtonManager m_button_manager
int m_active_tab_index
 index of the currently selected tab
 the selected tab
wxRect m_caption
wxPoint m_titlePos
bool m_dont_hide_tab
wxIFMTabArray m_tabs

Detailed Description

Storage class for data specific to "tabbed panels"

Definition at line 586 of file definterface.h.

Constructor & Destructor Documentation

wxIFMPanelData::wxIFMPanelData  )  [inline]

Definition at line 591 of file definterface.h.

wxIFMPanelData::wxIFMPanelData wxIFMInterfacePluginBase ip,
wxIFMComponent c

Definition at line 3015 of file definterface.cpp.

wxIFMPanelData::~wxIFMPanelData  ) 

Definition at line 3022 of file definterface.cpp.

References m_tabs.

Member Function Documentation

wxIFMComponentDataKeyType wxIFMPanelData::DataKey  )  [static]

Note that this function is the static version of GetDataKey. ALL component data types must implement their own copy of this function.

Key used to retrieve this data

Reimplemented from wxIFMExtensionDataBase.

Definition at line 3035 of file definterface.cpp.

wxIFMComponentDataKeyType wxIFMPanelData::GetDataKey  )  const [virtual]

Key used to retrieve this data

Implements wxIFMExtensionDataBase.

Definition at line 3030 of file definterface.cpp.

Member Data Documentation

wxIFMTab* wxIFMPanelData::m_active_tab

the selected tab

Definition at line 602 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnPaintDecor(), wxIFMDefaultPanelPlugin::OnSelectTab(), wxIFMDefaultPanelPlugin::OnUndock(), and wxIFMDefaultPanelPlugin::OnUpdate().

int wxIFMPanelData::m_active_tab_index

index of the currently selected tab

Definition at line 601 of file definterface.h.

wxIFMComponentButtonManager wxIFMPanelData::m_button_manager

Definition at line 599 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(), wxIFMDefaultPanelPlugin::OnDestroyComponent(), wxIFMDefaultPanelPlugin::OnUpdate(), and wxIFMDefaultPanelPlugin::OnVisibilityChanged().

wxRect wxIFMPanelData::m_caption

Definition at line 603 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnLeftDown(), wxIFMDefaultPanelPlugin::OnPaintDecor(), and wxIFMDefaultPanelPlugin::OnUpdate().

bool wxIFMPanelData::m_dont_hide_tab

Before hiding a child because it is not selected, this member will be set to true. During wxIFMShowComponentEvent processing, the tab associated with the child will be hidden only if this member is false. If that is not the case, it won't hide the tab and it will set this member to false.

Definition at line 612 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnSelectTab(), and wxIFMDefaultPanelPlugin::OnShowComponent().

wxIFMTabArray wxIFMPanelData::m_tabs

Definition at line 614 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultPanelPlugin::OnLeftDown(), wxIFMDefaultPanelPlugin::OnPaintDecor(), wxIFMDefaultPanelPlugin::OnQueryChild(), wxIFMDefaultPanelPlugin::OnSelectTab(), wxIFMDefaultPanelPlugin::OnSetDesiredSize(), wxIFMDefaultPanelPlugin::OnShowComponent(), wxIFMDefaultPanelPlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUpdate(), and ~wxIFMPanelData().

wxPoint wxIFMPanelData::m_titlePos

Definition at line 604 of file definterface.h.

Referenced by wxIFMDefaultPanelPlugin::OnPaintDecor(), and wxIFMDefaultPanelPlugin::OnUpdate().

The documentation for this class was generated from the following files:


SourceForge Logo