MatOCAD Logo

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

wxIFMUndockEvent Class Reference

Event for undocking components. More...

#include <events.h>

Collaboration diagram for wxIFMUndockEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxIFMUndockEvent (wxIFMComponent *component, bool del=true)
 wxIFMUndockEvent (const wxIFMUndockEvent &event)
virtual wxEvent * Clone () const
wxIFMComponentGetParent () const
int GetParentType () const
bool GetDelete () const
void SetDelete (bool d)
void SetParent (wxIFMComponent *parent)

Protected Attributes

int m_parentType
 type of parent
wxIFMComponentm_parent
 parent component
bool m_delete
 if true, the component will be deleted if it has no children left

Detailed Description

Event for undocking components.

Definition at line 380 of file events.h.


Constructor & Destructor Documentation

wxIFMUndockEvent::wxIFMUndockEvent wxIFMComponent component,
bool  del = true
 

Definition at line 143 of file events.cpp.

References wxIFMComponent::GetType(), m_parent, wxIFMComponent::m_parent, and m_parentType.

Referenced by Clone().

wxIFMUndockEvent::wxIFMUndockEvent const wxIFMUndockEvent event  )  [inline]
 

Definition at line 391 of file events.h.


Member Function Documentation

virtual wxEvent* wxIFMUndockEvent::Clone  )  const [inline, virtual]
 

Definition at line 398 of file events.h.

References wxIFMUndockEvent().

bool wxIFMUndockEvent::GetDelete  )  const [inline]
 

Returns:
True if the component should be deleted if it has no children after processing the undock event

Definition at line 414 of file events.h.

References m_delete.

Referenced by wxIFMDefaultPlugin::OnUndock().

wxIFMComponent* wxIFMUndockEvent::GetParent  )  const [inline]
 

Returns:
Parent the component is undocking from

Definition at line 403 of file events.h.

References m_parent.

Referenced by wxIFMDefaultResizePlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUndock(), and wxIFMDefaultContainerPlugin::OnUndock().

int wxIFMUndockEvent::GetParentType  )  const [inline]
 

Returns:
Type of the parent component

Definition at line 408 of file events.h.

References m_parentType.

Referenced by wxIFMDefaultResizePlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUndock(), and wxIFMDefaultContainerPlugin::OnUndock().

void wxIFMUndockEvent::SetDelete bool  d  )  [inline]
 

Definition at line 415 of file events.h.

References m_delete.

void wxIFMUndockEvent::SetParent wxIFMComponent parent  ) 
 

Definition at line 153 of file events.cpp.

References wxIFMComponent::GetType(), m_parent, and m_parentType.

Referenced by wxIFMDefaultContainerPlugin::OnUndock().


Member Data Documentation

bool wxIFMUndockEvent::m_delete [protected]
 

if true, the component will be deleted if it has no children left

Definition at line 385 of file events.h.

Referenced by GetDelete(), and SetDelete().

wxIFMComponent* wxIFMUndockEvent::m_parent [protected]
 

parent component

Definition at line 384 of file events.h.

Referenced by GetParent(), SetParent(), and wxIFMUndockEvent().

int wxIFMUndockEvent::m_parentType [protected]
 

type of parent

Definition at line 383 of file events.h.

Referenced by GetParentType(), SetParent(), and wxIFMUndockEvent().


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

 

SourceForge Logo