LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxIconChoiceCtrlEntry Class Reference

#include <ivctrl.hxx>

Collaboration diagram for SvxIconChoiceCtrlEntry:
[legend]

Public Member Functions

 SvxIconChoiceCtrlEntry (const OUString &rText, const Image &rImage)
 
const ImageGetImage () const
 
void SetText (const OUString &rText)
 
const OUString & GetText () const
 
OUString VCL_DLLPUBLIC GetDisplayText () const
 
void SetQuickHelpText (const OUString &rText)
 
const OUString & GetQuickHelpText () const
 
void SetUserData (void *_pUserData)
 
voidGetUserData ()
 
SvxIconChoiceCtrlTextMode GetTextMode () const
 
SvxIconViewFlags GetFlags () const
 
bool IsSelected () const
 
bool IsFocused () const
 
bool IsPosLocked () const
 

Private Member Functions

void ClearFlags (SvxIconViewFlags nMask)
 
void SetFlags (SvxIconViewFlags nMask)
 
void AssignFlags (SvxIconViewFlags _nFlags)
 
void SetBacklink (SvxIconChoiceCtrlEntry *pA)
 
void Unlink ()
 

Private Attributes

Image const aImage
 
OUString aText
 
OUString aQuickHelpText
 
voidpUserData
 
tools::Rectangle aRect
 
tools::Rectangle aGridRect
 
sal_Int32 nPos
 
SvxIconChoiceCtrlEntrypblink
 
SvxIconChoiceCtrlEntrypflink
 
SvxIconChoiceCtrlTextMode eTextMode
 
sal_uInt16 nX
 
sal_uInt16 nY
 
SvxIconViewFlags nFlags
 

Friends

class SvxIconChoiceCtrl_Impl
 
class IcnCursor_Impl
 
class EntryList_Impl
 
class IcnGridMap_Impl
 

Detailed Description

Definition at line 59 of file ivctrl.hxx.

Constructor & Destructor Documentation

SvxIconChoiceCtrlEntry::SvxIconChoiceCtrlEntry ( const OUString &  rText,
const Image rImage 
)

Definition at line 39 of file ivctrl.cxx.

References NONE, nPos, and Short.

Member Function Documentation

void SvxIconChoiceCtrlEntry::AssignFlags ( SvxIconViewFlags  _nFlags)
inlineprivate

Definition at line 90 of file ivctrl.hxx.

Referenced by SvxIconChoiceCtrl_Impl::SelectEntry().

void SvxIconChoiceCtrlEntry::ClearFlags ( SvxIconViewFlags  nMask)
inlineprivate
OUString SvxIconChoiceCtrlEntry::GetDisplayText ( ) const

Definition at line 54 of file ivctrl.cxx.

References aText, and MnemonicGenerator::EraseAllMnemonicChars().

SvxIconViewFlags SvxIconChoiceCtrlEntry::GetFlags ( ) const
inline
const Image& SvxIconChoiceCtrlEntry::GetImage ( ) const
inline

Definition at line 112 of file ivctrl.hxx.

References aImage.

Referenced by SvtIconChoiceCtrl::DrawEntryImage().

const OUString& SvxIconChoiceCtrlEntry::GetQuickHelpText ( ) const
inline

Definition at line 117 of file ivctrl.hxx.

References aQuickHelpText.

Referenced by SvxIconChoiceCtrl_Impl::RequestHelp().

const OUString& SvxIconChoiceCtrlEntry::GetText ( ) const
inline
SvxIconChoiceCtrlTextMode SvxIconChoiceCtrlEntry::GetTextMode ( ) const
inline

Definition at line 121 of file ivctrl.hxx.

References eTextMode.

Referenced by SvxIconChoiceCtrl_Impl::CalcMaxTextRect().

void* SvxIconChoiceCtrlEntry::GetUserData ( )
inline

Definition at line 119 of file ivctrl.hxx.

References pUserData.

bool SvxIconChoiceCtrlEntry::IsFocused ( ) const
inline

Definition at line 124 of file ivctrl.hxx.

References FOCUSED.

Referenced by SvxIconChoiceCtrl_Impl::Paint(), and SvxIconChoiceCtrl_Impl::PaintItem().

bool SvxIconChoiceCtrlEntry::IsPosLocked ( ) const
inline
bool SvxIconChoiceCtrlEntry::IsSelected ( ) const
inline
void SvxIconChoiceCtrlEntry::SetBacklink ( SvxIconChoiceCtrlEntry pA)
inlineprivate

Definition at line 93 of file ivctrl.hxx.

References pblink, and pflink.

Referenced by SvxIconChoiceCtrl_Impl::SetEntryPredecessor().

void SvxIconChoiceCtrlEntry::SetFlags ( SvxIconViewFlags  nMask)
inlineprivate
void SvxIconChoiceCtrlEntry::SetQuickHelpText ( const OUString &  rText)
inline

Definition at line 116 of file ivctrl.hxx.

Referenced by VerticalTabControl::InsertPage().

void SvxIconChoiceCtrlEntry::SetText ( const OUString &  rText)
inline
void SvxIconChoiceCtrlEntry::SetUserData ( void _pUserData)
inline

Definition at line 118 of file ivctrl.hxx.

void SvxIconChoiceCtrlEntry::Unlink ( )
inlineprivate

Definition at line 101 of file ivctrl.hxx.

References pblink, and pflink.

Referenced by SvxIconChoiceCtrl_Impl::SetEntryPredecessor().

Friends And Related Function Documentation

friend class EntryList_Impl
friend

Definition at line 69 of file ivctrl.hxx.

friend class IcnCursor_Impl
friend

Definition at line 68 of file ivctrl.hxx.

friend class IcnGridMap_Impl
friend

Definition at line 70 of file ivctrl.hxx.

friend class SvxIconChoiceCtrl_Impl
friend

Definition at line 67 of file ivctrl.hxx.

Member Data Documentation

tools::Rectangle SvxIconChoiceCtrlEntry::aGridRect
private
Image const SvxIconChoiceCtrlEntry::aImage
private

Definition at line 61 of file ivctrl.hxx.

Referenced by GetImage().

OUString SvxIconChoiceCtrlEntry::aQuickHelpText
private

Definition at line 64 of file ivctrl.hxx.

Referenced by GetQuickHelpText().

tools::Rectangle SvxIconChoiceCtrlEntry::aRect
private
OUString SvxIconChoiceCtrlEntry::aText
private

Definition at line 63 of file ivctrl.hxx.

Referenced by GetDisplayText(), and GetText().

SvxIconChoiceCtrlTextMode SvxIconChoiceCtrlEntry::eTextMode
private

Definition at line 84 of file ivctrl.hxx.

Referenced by GetTextMode(), and SvxIconChoiceCtrl_Impl::SetEntryTextMode().

SvxIconViewFlags SvxIconChoiceCtrlEntry::nFlags
private

Definition at line 86 of file ivctrl.hxx.

Referenced by GetFlags().

sal_Int32 SvxIconChoiceCtrlEntry::nPos
private

Definition at line 74 of file ivctrl.hxx.

Referenced by SvxIconChoiceCtrl_Impl::GetEntryListPos().

sal_uInt16 SvxIconChoiceCtrlEntry::nX
private
sal_uInt16 SvxIconChoiceCtrlEntry::nY
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrlEntry::pblink
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrlEntry::pflink
private
void* SvxIconChoiceCtrlEntry::pUserData
private

Definition at line 65 of file ivctrl.hxx.

Referenced by GetUserData().


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