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

#include <jsdialogbuilder.hxx>

Inheritance diagram for JSDropTarget:
Collaboration diagram for JSDropTarget:

Public Member Functions

 JSDropTarget ()
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
virtual void SAL_CALL addDropTargetListener (const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &) override
virtual void SAL_CALL removeDropTargetListener (const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &) override
virtual sal_Bool SAL_CALL isActive () override
virtual void SAL_CALL setActive (sal_Bool active) override
virtual sal_Int8 SAL_CALL getDefaultActions () override
virtual void SAL_CALL setDefaultActions (sal_Int8 actions) override
OUString SAL_CALL getImplementationName () override
sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
void fire_drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde)
void fire_dragEnter (const css::datatransfer::dnd::DropTargetDragEnterEvent &dtde)
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< css::datatransfer::dnd::XDropTarget, css::lang::XInitialization, css::lang::XServiceInfo >
virtual void SAL_CALL acquire () noexcept final override
virtual void SAL_CALL release () noexcept final 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 > &)

Private Attributes

std::vector< css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > > m_aListeners

Additional Inherited Members

- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
std::mutex m_aMutex
bool m_bDisposed

Detailed Description

Definition at line 176 of file jsdialogbuilder.hxx.

Constructor & Destructor Documentation

◆ JSDropTarget()

JSDropTarget::JSDropTarget ( )

Member Function Documentation

◆ addDropTargetListener()

virtual void SAL_CALL JSDropTarget::addDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )

◆ fire_dragEnter()

void JSDropTarget::fire_dragEnter ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtde)

◆ fire_drop()

void JSDropTarget::fire_drop ( const css::datatransfer::dnd::DropTargetDropEvent &  dtde)

◆ getDefaultActions()

virtual sal_Int8 SAL_CALL JSDropTarget::getDefaultActions ( )

◆ getImplementationName()

OUString SAL_CALL JSDropTarget::getImplementationName ( )

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL JSDropTarget::getSupportedServiceNames ( )

◆ initialize()

virtual void SAL_CALL JSDropTarget::initialize ( const css::uno::Sequence< css::uno::Any > &  rArgs)

◆ isActive()

virtual sal_Bool SAL_CALL JSDropTarget::isActive ( )

◆ removeDropTargetListener()

virtual void SAL_CALL JSDropTarget::removeDropTargetListener ( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &  )

◆ setActive()

virtual void SAL_CALL JSDropTarget::setActive ( sal_Bool  active)

◆ setDefaultActions()

virtual void SAL_CALL JSDropTarget::setDefaultActions ( sal_Int8  actions)

◆ supportsService()

sal_Bool SAL_CALL JSDropTarget::supportsService ( OUString const &  ServiceName)

Member Data Documentation

◆ m_aListeners

std::vector<css::uno::Reference<css::datatransfer::dnd::XDropTargetListener> > JSDropTarget::m_aListeners

Definition at line 180 of file jsdialogbuilder.hxx.

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