ARB
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Dragged Class Referenceabstract
Inheritance diagram for Dragged:
Inheritance graph
[legend]
Collaboration diagram for Dragged:
Collaboration graph
[legend]

Public Types

enum  DragAction { DRAGGING, DROPPED }
 

Public Member Functions

 Dragged (AWT_graphic_exports &exports_)
 
virtual void draw_drag_indicator (AW_device *device, int drag_gc) const =0
 
virtual void perform (DragAction action, const AW_clicked_element *target, const Position &mousepos)=0
 
virtual void abort ()=0
 
void do_drag (const AW_clicked_element *drag_target, const Position &mousepos)
 
void do_drop (const AW_clicked_element *drop_target, const Position &mousepos)
 
void hide_drag_indicator (AW_device *device, int drag_gc) const
 
- Public Member Functions inherited from AWT_command_data
virtual ~AWT_command_data ()
 

Static Public Member Functions

static bool valid_drag_device (AW_device *device)
 

Protected Member Functions

AWT_graphic_exportsget_exports ()
 

Detailed Description

Definition at line 610 of file TreeDisplay.cxx.

Member Enumeration Documentation

Enumerator
DRAGGING 
DROPPED 

Definition at line 620 of file TreeDisplay.cxx.

Constructor & Destructor Documentation

Dragged::Dragged ( AWT_graphic_exports exports_)
inline

Definition at line 622 of file TreeDisplay.cxx.

Member Function Documentation

AWT_graphic_exports& Dragged::get_exports ( )
inlineprotected
static bool Dragged::valid_drag_device ( AW_device device)
inlinestatic
virtual void Dragged::draw_drag_indicator ( AW_device device,
int  drag_gc 
) const
pure virtual
virtual void Dragged::perform ( DragAction  action,
const AW_clicked_element target,
const Position mousepos 
)
pure virtual

Referenced by do_drag(), and do_drop().

virtual void Dragged::abort ( )
pure virtual
void Dragged::do_drag ( const AW_clicked_element drag_target,
const Position mousepos 
)
inline

Definition at line 630 of file TreeDisplay.cxx.

References DRAGGING, and perform().

Referenced by AWT_graphic_tree::handle_command().

void Dragged::do_drop ( const AW_clicked_element drop_target,
const Position mousepos 
)
inline

Definition at line 633 of file TreeDisplay.cxx.

References DROPPED, and perform().

Referenced by AWT_graphic_tree::handle_command().

void Dragged::hide_drag_indicator ( AW_device device,
int  drag_gc 
) const
inline

Definition at line 637 of file TreeDisplay.cxx.

References draw_drag_indicator().

Referenced by AWT_graphic_tree::handle_command().


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