LibreOffice Module toolkit (master) 1
Public Member Functions | Private Attributes | List of all members
UnoButtonControl Class Referencefinal

#include <unocontrols.hxx>

Inheritance diagram for UnoButtonControl:
[legend]
Collaboration diagram for UnoButtonControl:
[legend]

Public Member Functions

 UnoButtonControl ()
 
OUString GetComponentServiceName () const override
 
void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
void SAL_CALL dispose () override
 
void SAL_CALL addActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override
 
void SAL_CALL removeActionListener (const css::uno::Reference< css::awt::XActionListener > &l) override
 
void SAL_CALL setLabel (const OUString &Label) override
 
void SAL_CALL setActionCommand (const OUString &Command) override
 
void SAL_CALL addItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override
 
void SAL_CALL removeItemListener (const css::uno::Reference< css::awt::XItemListener > &l) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL itemStateChanged (const css::awt::ItemEvent &rEvent) override
 
css::awt::Size SAL_CALL getMinimumSize () override
 
css::awt::Size SAL_CALL getPreferredSize () override
 
css::awt::Size SAL_CALL calcAdjustedSize (const css::awt::Size &aNewSize) override
 
OUString SAL_CALL getImplementationName () override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from cppu::AggImplInheritanceHelper4< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
 AggImplInheritanceHelper4 ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Attributes

ActionListenerMultiplexer maActionListeners
 
ItemListenerMultiplexer maItemListeners
 
OUString maActionCommand
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::AggImplInheritanceHelper4< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
 AggImplInheritanceHelper4 (T1 const &arg1)
 
 AggImplInheritanceHelper4 (T1 const &arg1, T2 const &arg2)
 
 AggImplInheritanceHelper4 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
 AggImplInheritanceHelper4 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
 AggImplInheritanceHelper4 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
 AggImplInheritanceHelper4 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Detailed Description

Definition at line 279 of file unocontrols.hxx.

Constructor & Destructor Documentation

◆ UnoButtonControl()

UnoButtonControl::UnoButtonControl ( )

Definition at line 725 of file unocontrols.cxx.

Member Function Documentation

◆ addActionListener()

void UnoButtonControl::addActionListener ( const css::uno::Reference< css::awt::XActionListener > &  l)
override

Definition at line 781 of file unocontrols.cxx.

References maActionListeners, and SAL_WARN.

◆ addItemListener()

void UnoButtonControl::addItemListener ( const css::uno::Reference< css::awt::XItemListener > &  l)
override

Definition at line 815 of file unocontrols.cxx.

References maItemListeners.

◆ calcAdjustedSize()

awt::Size UnoButtonControl::calcAdjustedSize ( const css::awt::Size &  aNewSize)
override

Definition at line 866 of file unocontrols.cxx.

◆ createPeer()

void UnoButtonControl::createPeer ( const css::uno::Reference< css::awt::XToolkit > &  Toolkit,
const css::uno::Reference< css::awt::XWindowPeer > &  Parent 
)
override

Definition at line 767 of file unocontrols.cxx.

References UnoControl::createPeer(), maActionCommand, and maActionListeners.

◆ dispose()

void UnoButtonControl::dispose ( void  )
override

Definition at line 758 of file unocontrols.cxx.

References UnoControl::dispose(), maActionListeners, and maItemListeners.

◆ disposing()

void SAL_CALL UnoButtonControl::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 825 of file unocontrols.cxx.

References UnoControl::disposing(), and Source.

◆ GetComponentServiceName()

OUString UnoButtonControl::GetComponentServiceName ( ) const
override

Definition at line 733 of file unocontrols.cxx.

References aName, BASEPROPERTY_PUSHBUTTONTYPE, GetPropertyName(), and n.

◆ getImplementationName()

OUString UnoButtonControl::getImplementationName ( )
override

Definition at line 871 of file unocontrols.cxx.

◆ getMinimumSize()

awt::Size UnoButtonControl::getMinimumSize ( )
override

Definition at line 856 of file unocontrols.cxx.

◆ getPreferredSize()

awt::Size UnoButtonControl::getPreferredSize ( )
override

Definition at line 861 of file unocontrols.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > UnoButtonControl::getSupportedServiceNames ( )
override

◆ itemStateChanged()

void SAL_CALL UnoButtonControl::itemStateChanged ( const css::awt::ItemEvent &  rEvent)
overridevirtual

Definition at line 830 of file unocontrols.cxx.

References aEvent, BASEPROPERTY_STATE, GetPropertyName(), and maItemListeners.

◆ removeActionListener()

void UnoButtonControl::removeActionListener ( const css::uno::Reference< css::awt::XActionListener > &  l)
override

Definition at line 798 of file unocontrols.cxx.

References maActionListeners, and SAL_WARN.

◆ removeItemListener()

void UnoButtonControl::removeItemListener ( const css::uno::Reference< css::awt::XItemListener > &  l)
override

Definition at line 820 of file unocontrols.cxx.

References maItemListeners.

◆ setActionCommand()

void UnoButtonControl::setActionCommand ( const OUString &  Command)
override

Definition at line 846 of file unocontrols.cxx.

References maActionCommand.

◆ setLabel()

void UnoButtonControl::setLabel ( const OUString &  Label)
override

Definition at line 841 of file unocontrols.cxx.

References BASEPROPERTY_LABEL, and GetPropertyName().

Member Data Documentation

◆ maActionCommand

OUString UnoButtonControl::maActionCommand
private

Definition at line 284 of file unocontrols.hxx.

Referenced by createPeer(), and setActionCommand().

◆ maActionListeners

ActionListenerMultiplexer UnoButtonControl::maActionListeners
private

Definition at line 282 of file unocontrols.hxx.

Referenced by addActionListener(), createPeer(), dispose(), and removeActionListener().

◆ maItemListeners

ItemListenerMultiplexer UnoButtonControl::maItemListeners
private

Definition at line 283 of file unocontrols.hxx.

Referenced by addItemListener(), dispose(), itemStateChanged(), and removeItemListener().


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