VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtTerrainDragDropHandler Class Reference
Inheritance diagram for DtTerrainDragDropHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTerrainDragDropHandler ()
 Default Constructor.
virtual ~DtTerrainDragDropHandler ()
 Destructor.

Static Public Member Functions

static DtEventHandlercreate (DtEventController *owner, void *usr)
 Static creator.

Protected Member Functions

virtual bool canDrag (DtTMMapArea *map) const
 Return true if this handler can start a drag.
virtual bool isValidForDrag (DtTMMapArea *map, DtModelKey &key)
 Override to return true/false to determine if the selected object is valid for dragging.

Constructor & Destructor Documentation

Default Constructor.

Destructor.


Member Function Documentation

static DtEventHandler* DtTerrainDragDropHandler::create ( DtEventController owner,
void *  usr 
) [static]

Static creator.

Reimplemented from DtDragDropHandler.

virtual bool DtTerrainDragDropHandler::canDrag ( DtTMMapArea area) const [protected, virtual]

Return true if this handler can start a drag.

Reimplemented from DtDragDropHandler.

virtual bool DtTerrainDragDropHandler::isValidForDrag ( DtTMMapArea map,
DtModelKey key 
) [protected, virtual]

Override to return true/false to determine if the selected object is valid for dragging.

The map is the map area that is scheduled for the drag operation to being in

Reimplemented from DtDragDropHandler.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)