wxShapeFramework  1.13.0 beta
wxSFShapeHandleEvent Class Reference

Class encapsulates handle-related events. More...

#include <SFEvents.h>

Inheritance diagram for wxSFShapeHandleEvent:
Collaboration diagram for wxSFShapeHandleEvent:

Public Member Functions

 wxSFShapeHandleEvent (wxEventType cmdType=wxEVT_NULL, int id=0)
 Constructor. More...
 
 wxSFShapeHandleEvent (const wxSFShapeHandleEvent &obj)
 Copy constructor. More...
 
virtual ~wxSFShapeHandleEvent ()
 Destructor. More...
 
void SetShape (wxSFShapeBase *shape)
 Insert a shape object to the event object. More...
 
wxSFShapeBaseGetShape ()
 Get a shape object from the event object. More...
 
void SetHandle (wxSFShapeHandle &Handle)
 Set pointer to dragged shape handle. More...
 
wxSFShapeHandleGetHandle () const
 Get pointer to dragged shape handle. More...
 
wxEvent * Clone () const
 Clone this event object and return pointer to the new instance. More...
 

Private Attributes

wxSFShapeBasem_Shape
 Pointer to stored shape object. More...
 
wxSFShapeHandlem_Handle
 Dragged handle. More...
 

Detailed Description

Class encapsulates handle-related events.

Constructor & Destructor Documentation

◆ wxSFShapeHandleEvent() [1/2]

wxSFShapeHandleEvent::wxSFShapeHandleEvent ( wxEventType  cmdType = wxEVT_NULL,
int  id = 0 
)

Constructor.

◆ wxSFShapeHandleEvent() [2/2]

wxSFShapeHandleEvent::wxSFShapeHandleEvent ( const wxSFShapeHandleEvent obj)

Copy constructor.

◆ ~wxSFShapeHandleEvent()

virtual wxSFShapeHandleEvent::~wxSFShapeHandleEvent ( )
virtual

Destructor.

Member Function Documentation

◆ Clone()

wxEvent* wxSFShapeHandleEvent::Clone ( ) const
inline

Clone this event object and return pointer to the new instance.

◆ GetHandle()

wxSFShapeHandle& wxSFShapeHandleEvent::GetHandle ( ) const
inline

Get pointer to dragged shape handle.

Returns
Pointer to shape handle
See also
wxSFShapeHandle

◆ GetShape()

wxSFShapeBase* wxSFShapeHandleEvent::GetShape ( )
inline

Get a shape object from the event object.

Returns
Pointer to the shape object.

◆ SetHandle()

void wxSFShapeHandleEvent::SetHandle ( wxSFShapeHandle Handle)
inline

Set pointer to dragged shape handle.

Parameters
HandlePointer to shape handle
See also
wxSFShapeHandle

◆ SetShape()

void wxSFShapeHandleEvent::SetShape ( wxSFShapeBase shape)
inline

Insert a shape object to the event object.

Parameters
shapePointer to the shape object

Member Data Documentation

◆ m_Handle

wxSFShapeHandle* wxSFShapeHandleEvent::m_Handle
private

Dragged handle.

◆ m_Shape

wxSFShapeBase* wxSFShapeHandleEvent::m_Shape
private

Pointer to stored shape object.


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