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

#include <animatedimagespeer.hxx>

Inheritance diagram for toolkit::AnimatedImagesPeer:
[legend]
Collaboration diagram for toolkit::AnimatedImagesPeer:
[legend]

Classes

struct  CachedImage
 

Public Member Functions

 AnimatedImagesPeer ()
 
virtual void SAL_CALL startAnimation () override
 
virtual void SAL_CALL stopAnimation () override
 
virtual sal_Bool SAL_CALL isAnimationRunning () override
 
virtual void SAL_CALL setProperty (const OUString &PropertyName, const css::uno::Any &Value) override
 
virtual css::uno::Any SAL_CALL getProperty (const OUString &PropertyName) override
 
virtual void SAL_CALL elementInserted (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL elementRemoved (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL elementReplaced (const css::container::ContainerEvent &Event) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &i_event) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &i_event) override
 
void SAL_CALL dispose () override
 

Private Member Functions

virtual ~AnimatedImagesPeer () override
 
void ProcessWindowEvent (const VclWindowEvent &i_windowEvent) override
 
void impl_updateImages_nolck (const css::uno::Reference< css::uno::XInterface > &i_animatedImages)
 updates our images with the ones from the given XAnimatedImages component More...
 
 AnimatedImagesPeer (const AnimatedImagesPeer &)=delete
 
AnimatedImagesPeeroperator= (const AnimatedImagesPeer &)=delete
 
void updateImageList_nothrow ()
 
void updateImageList_nothrow (const css::uno::Reference< css::awt::XAnimatedImages > &i_images)
 

Private Attributes

std::vector< std::vector< CachedImage > > maCachedImageSets
 

Detailed Description

Definition at line 45 of file animatedimagespeer.hxx.

Constructor & Destructor Documentation

◆ AnimatedImagesPeer() [1/2]

toolkit::AnimatedImagesPeer::AnimatedImagesPeer ( )

Definition at line 145 of file animatedimagespeer.cxx.

◆ ~AnimatedImagesPeer()

toolkit::AnimatedImagesPeer::~AnimatedImagesPeer ( )
overrideprivatevirtual

Definition at line 150 of file animatedimagespeer.cxx.

◆ AnimatedImagesPeer() [2/2]

toolkit::AnimatedImagesPeer::AnimatedImagesPeer ( const AnimatedImagesPeer )
privatedelete

Member Function Documentation

◆ dispose()

void SAL_CALL toolkit::AnimatedImagesPeer::dispose ( void  )
override

Definition at line 358 of file animatedimagespeer.cxx.

References maCachedImageSets.

◆ disposing()

void SAL_CALL toolkit::AnimatedImagesPeer::disposing ( const css::lang::EventObject &  i_event)
overridevirtual

Definition at line 346 of file animatedimagespeer.cxx.

References VCLXWindow::disposing().

◆ elementInserted()

void SAL_CALL toolkit::AnimatedImagesPeer::elementInserted ( const css::container::ContainerEvent &  Event)
overridevirtual

Definition at line 281 of file animatedimagespeer.cxx.

References maCachedImageSets, position(), and updateImageList_nothrow().

◆ elementRemoved()

void SAL_CALL toolkit::AnimatedImagesPeer::elementRemoved ( const css::container::ContainerEvent &  Event)
overridevirtual

Definition at line 304 of file animatedimagespeer.cxx.

References maCachedImageSets, position(), and updateImageList_nothrow().

◆ elementReplaced()

void SAL_CALL toolkit::AnimatedImagesPeer::elementReplaced ( const css::container::ContainerEvent &  Event)
overridevirtual

Definition at line 323 of file animatedimagespeer.cxx.

References maCachedImageSets, position(), and updateImageList_nothrow().

◆ getProperty()

Any SAL_CALL toolkit::AnimatedImagesPeer::getProperty ( const OUString &  PropertyName)
overridevirtual

◆ impl_updateImages_nolck()

void toolkit::AnimatedImagesPeer::impl_updateImages_nolck ( const css::uno::Reference< css::uno::XInterface > &  i_animatedImages)
private

updates our images with the ones from the given XAnimatedImages component

Definition at line 273 of file animatedimagespeer.cxx.

References updateImageList_nothrow().

Referenced by modified().

◆ isAnimationRunning()

sal_Bool SAL_CALL toolkit::AnimatedImagesPeer::isAnimationRunning ( )
overridevirtual

Definition at line 171 of file animatedimagespeer.cxx.

◆ modified()

void SAL_CALL toolkit::AnimatedImagesPeer::modified ( const css::lang::EventObject &  i_event)
overridevirtual

Definition at line 352 of file animatedimagespeer.cxx.

References impl_updateImages_nolck().

◆ operator=()

AnimatedImagesPeer & toolkit::AnimatedImagesPeer::operator= ( const AnimatedImagesPeer )
privatedelete

◆ ProcessWindowEvent()

void toolkit::AnimatedImagesPeer::ProcessWindowEvent ( const VclWindowEvent i_windowEvent)
overrideprivate

Definition at line 262 of file animatedimagespeer.cxx.

References VclSimpleEvent::GetId(), and updateImageList_nothrow().

◆ setProperty()

void SAL_CALL toolkit::AnimatedImagesPeer::setProperty ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
overridevirtual

◆ startAnimation()

void SAL_CALL toolkit::AnimatedImagesPeer::startAnimation ( )
overridevirtual

Definition at line 155 of file animatedimagespeer.cxx.

◆ stopAnimation()

void SAL_CALL toolkit::AnimatedImagesPeer::stopAnimation ( )
overridevirtual

Definition at line 163 of file animatedimagespeer.cxx.

◆ updateImageList_nothrow() [1/2]

void toolkit::AnimatedImagesPeer::updateImageList_nothrow ( )
private

◆ updateImageList_nothrow() [2/2]

void toolkit::AnimatedImagesPeer::updateImageList_nothrow ( const css::uno::Reference< css::awt::XAnimatedImages > &  i_images)
private

Member Data Documentation

◆ maCachedImageSets

std::vector< std::vector< CachedImage > > toolkit::AnimatedImagesPeer::maCachedImageSets
private

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