LibreOffice Module vcl (master) 1
|
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< IDLabel > | mpID |
VclPtr< HyperLabel > | mpDescription |
const Size | m_aItemPlayground |
Additional Inherited Members | |
Public Types inherited from vcl::RoadmapTypes | |
typedef sal_Int16 | ItemId |
typedef sal_Int32 | ItemIndex |
Definition at line 55 of file roadmap.cxx.
vcl::RoadmapItem::RoadmapItem | ( | ORoadmap & | _rParent, |
const Size & | _rItemPlayground | ||
) |
Definition at line 673 of file roadmap.cxx.
References VclPtr< reference_type >::Create(), mpDescription, mpID, WB_NOTABSTOP, and WB_WORDBREAK.
vcl::RoadmapItem::~RoadmapItem | ( | ) |
Definition at line 682 of file roadmap.cxx.
References VclPtr< reference_type >::disposeAndClear(), mpDescription, and mpID.
bool vcl::RoadmapItem::Contains | ( | const vcl::Window * | _pWindow | ) | const |
Definition at line 688 of file roadmap.cxx.
References mpDescription, and mpID.
void vcl::RoadmapItem::Enable | ( | bool | bEnable | ) |
Definition at line 758 of file roadmap.cxx.
References mpDescription, and mpID.
sal_Int16 vcl::RoadmapItem::GetID | ( | ) | const |
Definition at line 711 of file roadmap.cxx.
References mpDescription.
RoadmapTypes::ItemIndex vcl::RoadmapItem::GetIndex | ( | ) | const |
Definition at line 732 of file roadmap.cxx.
References mpDescription.
void vcl::RoadmapItem::GrabFocus | ( | ) |
Definition at line 693 of file roadmap.cxx.
References mpDescription.
|
private |
Definition at line 716 of file roadmap.cxx.
References ImplUpdatePosSize(), mpDescription, and mpID.
Referenced by SetIndex(), and Update().
|
private |
Definition at line 778 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 |
Definition at line 764 of file roadmap.cxx.
References mpID.
void vcl::RoadmapItem::SetClickHdl | ( | const Link< HyperLabel *, void > & | rLink | ) |
Definition at line 806 of file roadmap.cxx.
References mpDescription.
void vcl::RoadmapItem::SetID | ( | sal_Int16 | ID | ) |
Definition at line 705 of file roadmap.cxx.
References ID, and mpDescription.
void vcl::RoadmapItem::SetIndex | ( | ItemIndex | Index | ) |
Definition at line 727 of file roadmap.cxx.
References ImplUpdateIndex().
void vcl::RoadmapItem::SetInteractive | ( | bool | _bInteractive | ) |
Definition at line 699 of file roadmap.cxx.
References mpDescription.
void vcl::RoadmapItem::SetPosition | ( | RoadmapItem const * | OldHyperLabel | ) |
Definition at line 737 of file roadmap.cxx.
References Point::AdjustY(), Height, Size::Height(), mpDescription, mpID, ROADMAP_INDENT_X, ROADMAP_INDENT_Y, ROADMAP_ITEM_DISTANCE_Y, Point::X(), and Point::Y().
void vcl::RoadmapItem::ToggleBackgroundColor | ( | const Color & | _rGBColor | ) |
Definition at line 769 of file roadmap.cxx.
References COL_TRANSPARENT(), mpDescription, and mpID.
void vcl::RoadmapItem::Update | ( | ItemIndex | RMIndex, |
const OUString & | _rText | ||
) |
Definition at line 797 of file roadmap.cxx.
References ImplUpdateIndex(), and mpDescription.
|
private |
Definition at line 60 of file roadmap.cxx.
Referenced by ImplUpdatePosSize().
|
private |
Definition at line 59 of file roadmap.cxx.
Referenced by Contains(), Enable(), GetID(), GetIndex(), GrabFocus(), ImplUpdateIndex(), ImplUpdatePosSize(), RoadmapItem(), SetClickHdl(), SetID(), SetInteractive(), SetPosition(), ToggleBackgroundColor(), Update(), and ~RoadmapItem().
|
private |
Definition at line 58 of file roadmap.cxx.
Referenced by Contains(), Enable(), ImplUpdateIndex(), ImplUpdatePosSize(), IsEnabled(), RoadmapItem(), SetPosition(), ToggleBackgroundColor(), and ~RoadmapItem().