LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::RoadmapItem Class Reference
Inheritance diagram for vcl::RoadmapItem:
[legend]
Collaboration diagram for vcl::RoadmapItem:
[legend]

Public Member Functions

 RoadmapItem (ORoadmap &_rParent, const Size &_rItemPlayground)
 
 ~RoadmapItem ()
 
void SetID (sal_Int16 ID)
 
sal_Int16 GetID () const
 
void SetIndex (ItemIndex Index)
 
ItemIndex GetIndex () const
 
void Update (ItemIndex RMIndex, const OUString &_rText)
 
void SetPosition (RoadmapItem const *OldHyperLabel)
 
void ToggleBackgroundColor (const Color &_rGBColor)
 
void SetInteractive (bool _bInteractive)
 
void SetClickHdl (const Link< HyperLabel *, void > &rLink)
 
void Enable (bool bEnable)
 
bool IsEnabled () const
 
void GrabFocus ()
 
bool Contains (const vcl::Window *_pWindow) const
 

Private Member Functions

void ImplUpdateIndex (const ItemIndex _nIndex)
 
void ImplUpdatePosSize ()
 

Private Attributes

VclPtr< IDLabelmpID
 
VclPtr< HyperLabelmpDescription
 
const Size m_aItemPlayground
 

Additional Inherited Members

- Public Types inherited from vcl::RoadmapTypes
typedef sal_Int16 ItemId
 
typedef sal_Int32 ItemIndex
 

Detailed Description

Definition at line 49 of file roadmap.cxx.

Constructor & Destructor Documentation

vcl::RoadmapItem::RoadmapItem ( ORoadmap _rParent,
const Size _rItemPlayground 
)
vcl::RoadmapItem::~RoadmapItem ( )

Definition at line 674 of file roadmap.cxx.

References mpDescription, and mpID.

Member Function Documentation

bool vcl::RoadmapItem::Contains ( const vcl::Window _pWindow) const

Definition at line 680 of file roadmap.cxx.

References mpDescription, and mpID.

void vcl::RoadmapItem::Enable ( bool  bEnable)
sal_Int16 vcl::RoadmapItem::GetID ( ) const
RoadmapTypes::ItemIndex vcl::RoadmapItem::GetIndex ( ) const

Definition at line 724 of file roadmap.cxx.

References mpDescription.

Referenced by vcl::ORoadmap::ChangeRoadmapItemLabel(), and vcl::ORoadmap::PreNotify().

void vcl::RoadmapItem::GrabFocus ( )

Definition at line 685 of file roadmap.cxx.

References mpDescription.

Referenced by vcl::ORoadmap::GetFocus(), and vcl::ORoadmap::SelectRoadmapItemByID().

void vcl::RoadmapItem::ImplUpdateIndex ( const ItemIndex  _nIndex)
private

Definition at line 708 of file roadmap.cxx.

References ImplUpdatePosSize(), mpDescription, and mpID.

Referenced by SetIndex(), and Update().

void vcl::RoadmapItem::ImplUpdatePosSize ( )
private

Definition at line 770 of file roadmap.cxx.

References Size::Height(), m_aItemPlayground, mpDescription, mpID, Size::Width(), Point::X(), and Point::Y().

Referenced by ImplUpdateIndex().

bool vcl::RoadmapItem::IsEnabled ( ) const
void vcl::RoadmapItem::SetClickHdl ( const Link< HyperLabel *, void > &  rLink)

Definition at line 798 of file roadmap.cxx.

References mpDescription.

Referenced by vcl::ORoadmap::InsertHyperLabel().

void vcl::RoadmapItem::SetID ( sal_Int16  ID)
void vcl::RoadmapItem::SetIndex ( ItemIndex  Index)
void vcl::RoadmapItem::SetInteractive ( bool  _bInteractive)

Definition at line 691 of file roadmap.cxx.

References mpDescription.

Referenced by vcl::ORoadmap::InsertHyperLabel().

void vcl::RoadmapItem::SetPosition ( RoadmapItem const *  OldHyperLabel)
void vcl::RoadmapItem::ToggleBackgroundColor ( const Color _rGBColor)
void vcl::RoadmapItem::Update ( ItemIndex  RMIndex,
const OUString &  _rText 
)

Member Data Documentation

const Size vcl::RoadmapItem::m_aItemPlayground
private

Definition at line 54 of file roadmap.cxx.

Referenced by ImplUpdatePosSize().

VclPtr<HyperLabel> vcl::RoadmapItem::mpDescription
private
VclPtr<IDLabel> vcl::RoadmapItem::mpID
private

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