LibreOffice Module framework (master) 1
Public Member Functions | Private Attributes | List of all members
framework::StatusbarItem Class Referencefinal

#include <statusbaritem.hxx>

Inheritance diagram for framework::StatusbarItem:
[legend]
Collaboration diagram for framework::StatusbarItem:
[legend]

Public Member Functions

 StatusbarItem (StatusBar *pStatusBar, sal_uInt16 nId, OUString aCommand)
 
virtual ~StatusbarItem () override
 
void disposing (std::unique_lock< std::mutex > &) override
 
virtual OUString SAL_CALL getCommand () override
 
virtual ::sal_uInt16 SAL_CALL getItemId () override
 
virtual ::sal_uInt32 SAL_CALL getWidth () override
 
virtual ::sal_uInt16 SAL_CALL getStyle () override
 
virtual ::sal_Int32 SAL_CALL getOffset () override
 
virtual css::awt::Rectangle SAL_CALL getItemRect () override
 
virtual OUString SAL_CALL getText () override
 
virtual void SAL_CALL setText (const OUString &rText) override
 
virtual OUString SAL_CALL getHelpText () override
 
virtual void SAL_CALL setHelpText (const OUString &rHelpText) override
 
virtual OUString SAL_CALL getQuickHelpText () override
 
virtual void SAL_CALL setQuickHelpText (const OUString &rQuickHelpText) override
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual void SAL_CALL setAccessibleName (const OUString &rAccessibleName) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool bVisible) override
 
virtual void SAL_CALL repaint () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

VclPtr< StatusBarm_pStatusBar
 
sal_uInt16 m_nId
 
sal_uInt16 m_nStyle
 
OUString m_aCommand
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 34 of file statusbaritem.hxx.

Constructor & Destructor Documentation

◆ StatusbarItem()

framework::StatusbarItem::StatusbarItem ( StatusBar pStatusBar,
sal_uInt16  nId,
OUString  aCommand 
)
explicit

Definition at line 62 of file statusbaritem.cxx.

References m_nId, m_nStyle, m_pStatusBar, and nId.

◆ ~StatusbarItem()

framework::StatusbarItem::~StatusbarItem ( )
overridevirtual

Definition at line 76 of file statusbaritem.cxx.

Member Function Documentation

◆ disposing()

void framework::StatusbarItem::disposing ( std::unique_lock< std::mutex > &  )
overridevirtual

Reimplemented from comphelper::WeakComponentImplHelperBase.

Definition at line 80 of file statusbaritem.cxx.

References m_pStatusBar.

◆ getAccessibleName()

OUString SAL_CALL framework::StatusbarItem::getAccessibleName ( )
overridevirtual

Definition at line 185 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getCommand()

OUString SAL_CALL framework::StatusbarItem::getCommand ( )
overridevirtual

Definition at line 85 of file statusbaritem.cxx.

References m_aCommand, and comphelper::UnoImplBase::m_aMutex.

◆ getHelpText()

OUString SAL_CALL framework::StatusbarItem::getHelpText ( )
overridevirtual

Definition at line 153 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getItemId()

sal_uInt16 SAL_CALL framework::StatusbarItem::getItemId ( )
override

Definition at line 91 of file statusbaritem.cxx.

References comphelper::UnoImplBase::m_aMutex, and m_nId.

◆ getItemRect()

css::awt::Rectangle SAL_CALL framework::StatusbarItem::getItemRect ( )
overridevirtual

◆ getOffset()

sal_Int32 SAL_CALL framework::StatusbarItem::getOffset ( )
override

Definition at line 112 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getQuickHelpText()

OUString SAL_CALL framework::StatusbarItem::getQuickHelpText ( )
overridevirtual

Definition at line 169 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getStyle()

sal_uInt16 SAL_CALL framework::StatusbarItem::getStyle ( )
override

Definition at line 106 of file statusbaritem.cxx.

References comphelper::UnoImplBase::m_aMutex, and m_nStyle.

◆ getText()

OUString SAL_CALL framework::StatusbarItem::getText ( )
overridevirtual

Definition at line 137 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getVisible()

sal_Bool SAL_CALL framework::StatusbarItem::getVisible ( )
overridevirtual

Definition at line 201 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ getWidth()

sal_uInt32 SAL_CALL framework::StatusbarItem::getWidth ( )
override

Definition at line 97 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ repaint()

void SAL_CALL framework::StatusbarItem::repaint ( )
overridevirtual

Definition at line 225 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ setAccessibleName()

void SAL_CALL framework::StatusbarItem::setAccessibleName ( const OUString &  rAccessibleName)
overridevirtual

Definition at line 194 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ setHelpText()

void SAL_CALL framework::StatusbarItem::setHelpText ( const OUString &  rHelpText)
overridevirtual

Definition at line 162 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ setQuickHelpText()

void SAL_CALL framework::StatusbarItem::setQuickHelpText ( const OUString &  rQuickHelpText)
overridevirtual

Definition at line 178 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ setText()

void SAL_CALL framework::StatusbarItem::setText ( const OUString &  rText)
overridevirtual

Definition at line 146 of file statusbaritem.cxx.

References m_nId, and m_pStatusBar.

◆ setVisible()

void SAL_CALL framework::StatusbarItem::setVisible ( sal_Bool  bVisible)
overridevirtual

Definition at line 210 of file statusbaritem.cxx.

References bVisible, m_nId, and m_pStatusBar.

Member Data Documentation

◆ m_aCommand

OUString framework::StatusbarItem::m_aCommand
private

Definition at line 70 of file statusbaritem.hxx.

Referenced by getCommand().

◆ m_nId

sal_uInt16 framework::StatusbarItem::m_nId
private

◆ m_nStyle

sal_uInt16 framework::StatusbarItem::m_nStyle
private

Definition at line 69 of file statusbaritem.hxx.

Referenced by getStyle(), and StatusbarItem().

◆ m_pStatusBar

VclPtr<StatusBar> framework::StatusbarItem::m_pStatusBar
private

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