a2dFastSelect Class Reference

Interactive Selection of an Object. More...

#include <sttool2.h>

Inheritance diagram for a2dFastSelect:

Inheritance graph
[legend]
Collaboration diagram for a2dFastSelect:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dFastSelect (a2dStToolContr *controller)
bool ZoomSave ()
 Is Zooming while the tool is busy Save.
void SetShiftIsAdd ()

Public Attributes

bool m_shift_is_add
 false: shift key will unselect, true: shift will add to selection

Static Public Attributes

static const a2dCommandId COMID_PushTool_FastSelect
 push this tool on the tools stack

Protected Member Functions

void DeselectAll ()
virtual void GenerateAnotation ()
 to display a string along with a tool drawing.
void OnChar (wxKeyEvent &event)
 character handling
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
void Render ()
 implement rendering
virtual wxString GetCommandGroupName ()
 return the command group name for commands of a derived class


Detailed Description

Interactive Selection of an Object.

Either with just one click or draging a rectangle to select many.

Remarks:
Left Click and/or drag.

Shift Down to Un select.

See also:
a2dStToolContr

Definition at line 124 of file sttool2.h.


Member Function Documentation

bool a2dFastSelect::ZoomSave (  )  [inline, virtual]

Is Zooming while the tool is busy Save.

If so, the active tool will redraw itself in the new Mapping state

Implements a2dBaseTool.

Definition at line 135 of file sttool2.h.

void a2dFastSelect::Render (  )  [protected, virtual]

implement rendering

in general is rendering for tools just to draw/render m_canvasobject when set.

Reimplemented from a2dStTool.

Definition at line 372 of file sttool2.cpp.

virtual wxString a2dFastSelect::GetCommandGroupName (  )  [inline, protected, virtual]

return the command group name for commands of a derived class

this defaults to the class name

Reimplemented from a2dBaseTool.

Definition at line 150 of file sttool2.h.


The documentation for this class was generated from the following files:
a2dFastSelect Class Reference -- Tue Aug 31 18:27:11 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation