wxShapeFramework  1.13.0 beta
wxSFShapeHandleEvent Class Reference

Class encapsulates handle-related events. More...

#include <SFEvents.h>

Collaboration diagram for wxSFShapeHandleEvent:

List of all members.

Public Member Functions

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

Private Attributes

wxSFShapeBasem_Shape
 Pointer to stored shape object.
wxSFShapeHandlem_Handle
 Dragged handle.

Detailed Description

Class encapsulates handle-related events.


Constructor & Destructor Documentation

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

Constructor.

Destructor.


Member Function Documentation

wxEvent* wxSFShapeHandleEvent::Clone ( ) const [inline]

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

Get pointer to dragged shape handle.

Returns:
Pointer to shape handle
See also:
wxSFShapeHandle

Get a shape object from the event object.

Returns:
Pointer to the shape object.
void wxSFShapeHandleEvent::SetHandle ( wxSFShapeHandle Handle) [inline]

Set pointer to dragged shape handle.

Parameters:
HandlePointer to shape handle
See also:
wxSFShapeHandle
void wxSFShapeHandleEvent::SetShape ( wxSFShapeBase shape) [inline]

Insert a shape object to the event object.

Parameters:
shapePointer to the shape object

Member Data Documentation

Dragged handle.

Pointer to stored shape object.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines