Public Member Functions | Protected Member Functions | List of all members
AW_clicked_element Class Referenceabstract

#include <aw_device_click.hxx>

Inheritance diagram for AW_clicked_element:
Inheritance graph

Public Member Functions

virtual ~AW_clicked_element ()
AW_CL cd1 () const
AW_CL cd2 () const
virtual AW::Position get_attach_point () const =0
virtual AW::Rectangle get_bounding_box () const =0
virtual AW_clicked_elementclone () const =0
bool does_exist () const
bool is_text () const
bool is_line () const
bool is_box () const
bool is_polygon () const
double get_rel_pos () const
int get_distance () const
AW::LineVector get_connecting_line (const AW_clicked_element &other) const
virtual bool operator== (const AW_clicked_element &other) const =0
virtual int indicate_selected (AW_device *d, int gc) const =0

Protected Member Functions

 AW_clicked_element ()
void assign (int distance_, const AW_pos &nearest_rel_pos_, const AW_click_cd *click_cd_)

Detailed Description

Definition at line 19 of file aw_device_click.hxx.

Constructor & Destructor Documentation

AW_clicked_element::AW_clicked_element ( )

Definition at line 41 of file aw_device_click.hxx.

virtual AW_clicked_element::~AW_clicked_element ( )

Definition at line 57 of file aw_device_click.hxx.

Member Function Documentation

void AW_clicked_element::assign ( int  distance_,
const AW_pos nearest_rel_pos_,
const AW_click_cd click_cd_ 
AW_CL AW_clicked_element::cd1 ( ) const
AW_CL AW_clicked_element::cd2 ( ) const

Definition at line 60 of file aw_device_click.hxx.

Referenced by input_cb().

virtual AW::Position AW_clicked_element::get_attach_point ( ) const
pure virtual
virtual AW::Rectangle AW_clicked_element::get_bounding_box ( ) const
pure virtual
virtual AW_clicked_element* AW_clicked_element::clone ( ) const
pure virtual
bool AW_clicked_element::does_exist ( ) const

Definition at line 66 of file aw_device_click.hxx.

Referenced by FINAL_TYPE< SEQTYPE >::get_polygon().

bool AW_clicked_element::is_text ( ) const

Definition at line 222 of file aw_device_click.hxx.

Referenced by SAI_graphic::handle_command(), and ClickedTarget::is_text().

bool AW_clicked_element::is_line ( ) const

Definition at line 223 of file aw_device_click.hxx.

Referenced by ClickedTarget::is_line().

bool AW_clicked_element::is_box ( ) const

Definition at line 224 of file aw_device_click.hxx.

bool AW_clicked_element::is_polygon ( ) const

Definition at line 225 of file aw_device_click.hxx.

double AW_clicked_element::get_rel_pos ( ) const
int AW_clicked_element::get_distance ( ) const

Definition at line 74 of file aw_device_click.hxx.

AW::LineVector AW_clicked_element::get_connecting_line ( const AW_clicked_element other) const

determine LineVector between two clicked elements (e.g. for drag&drop)

Definition at line 75 of file aw_device_click.hxx.

References get_attach_point().

virtual bool AW_clicked_element::operator== ( const AW_clicked_element other) const
pure virtual
virtual int AW_clicked_element::indicate_selected ( AW_device d,
int  gc 
) const
pure virtual

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