LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::OConnectionLine Class Referencefinal

#include <ConnectionLine.hxx>

Collaboration diagram for dbaui::OConnectionLine:
[legend]

Public Member Functions

 OConnectionLine (OTableConnection *pConn, OConnectionLineDataRef pLineData)
 
 OConnectionLine (const OConnectionLine &rLine)
 
 ~OConnectionLine ()
 
OConnectionLineoperator= (const OConnectionLine &rLine)
 
tools::Rectangle GetBoundingRect () const
 
bool RecalcLine ()
 
void Draw (OutputDevice *pOutDev)
 
bool CheckHit (const Point &rMousePos) const
 
bool IsValid () const
 
tools::Rectangle GetSourceTextPos () const
 
tools::Rectangle GetDestTextPos () const
 
const OConnectionLineDataRefGetData () const
 
Point getMidPoint () const
 

Private Attributes

VclPtr< OTableConnectionm_pTabConn
 
OConnectionLineDataRef m_pData
 
Point m_aSourceConnPos
 
Point m_aDestConnPos
 
Point m_aSourceDescrLinePos
 
Point m_aDestDescrLinePos
 

Detailed Description

Definition at line 38 of file ConnectionLine.hxx.

Constructor & Destructor Documentation

◆ OConnectionLine() [1/2]

OConnectionLine::OConnectionLine ( OTableConnection pConn,
OConnectionLineDataRef  pLineData 
)

Definition at line 125 of file ConnectionLine.cxx.

◆ OConnectionLine() [2/2]

OConnectionLine::OConnectionLine ( const OConnectionLine rLine)

Definition at line 131 of file ConnectionLine.cxx.

References GetData(), and m_pData.

◆ ~OConnectionLine()

OConnectionLine::~OConnectionLine ( )

Definition at line 138 of file ConnectionLine.cxx.

Member Function Documentation

◆ CheckHit()

bool OConnectionLine::CheckHit ( const Point rMousePos) const

◆ Draw()

void OConnectionLine::Draw ( OutputDevice pOutDev)

◆ GetBoundingRect()

tools::Rectangle OConnectionLine::GetBoundingRect ( ) const

◆ GetData()

const OConnectionLineDataRef & dbaui::OConnectionLine::GetData ( ) const
inline

Definition at line 64 of file ConnectionLine.hxx.

References m_pData.

Referenced by OConnectionLine(), operator=(), and RecalcLine().

◆ GetDestTextPos()

tools::Rectangle OConnectionLine::GetDestTextPos ( ) const

◆ getMidPoint()

Point OConnectionLine::getMidPoint ( ) const

◆ GetSourceTextPos()

tools::Rectangle OConnectionLine::GetSourceTextPos ( ) const

◆ IsValid()

bool OConnectionLine::IsValid ( ) const

Definition at line 302 of file ConnectionLine.cxx.

References m_pData.

Referenced by dbaui::OJoinTableView::Command(), and GetBoundingRect().

◆ operator=()

OConnectionLine & OConnectionLine::operator= ( const OConnectionLine rLine)

◆ RecalcLine()

bool OConnectionLine::RecalcLine ( )

Member Data Documentation

◆ m_aDestConnPos

Point dbaui::OConnectionLine::m_aDestConnPos
private

◆ m_aDestDescrLinePos

Point dbaui::OConnectionLine::m_aDestDescrLinePos
private

Definition at line 46 of file ConnectionLine.hxx.

Referenced by Draw(), GetBoundingRect(), GetDestTextPos(), operator=(), and RecalcLine().

◆ m_aSourceConnPos

Point dbaui::OConnectionLine::m_aSourceConnPos
private

◆ m_aSourceDescrLinePos

Point dbaui::OConnectionLine::m_aSourceDescrLinePos
private

Definition at line 45 of file ConnectionLine.hxx.

Referenced by Draw(), GetBoundingRect(), GetSourceTextPos(), operator=(), and RecalcLine().

◆ m_pData

OConnectionLineDataRef dbaui::OConnectionLine::m_pData
private

Definition at line 41 of file ConnectionLine.hxx.

Referenced by GetData(), IsValid(), OConnectionLine(), and operator=().

◆ m_pTabConn

VclPtr<OTableConnection> dbaui::OConnectionLine::m_pTabConn
private

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