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

#include <uiobject.hxx>

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

Public Member Functions

 ChartUIObject (const VclPtr< chart::ChartWindow > &xChartWindow, OUString aCID)
 
StringMap get_state () override
 
virtual void execute (const OUString &rAction, const StringMap &rParameters) override
 
virtual std::unique_ptr< UIObjectget_child (const OUString &rID) override
 
virtual std::set< OUString > get_children () const override
 
virtual OUString get_type () const override
 
- Public Member Functions inherited from UIObject
 UIObject ()=default
 
virtual ~UIObject ()
 
virtual StringMap get_state ()
 
virtual void execute (const OUString &rAction, const StringMap &rParameters)
 
virtual OUString get_type () const
 
virtual std::unique_ptr< UIObjectget_child (const OUString &rID)
 
virtual std::set< OUString > get_children () const
 
virtual OUString dumpState () const
 
virtual OUString dumpHierarchy () const
 
virtual OUString get_action (VclEventId nEvent) const
 

Private Member Functions

 DECL_LINK (PostCommand, void *, void)
 

Private Attributes

OUString maCID
 
VclPtr< chart::ChartWindowmxChartWindow
 
std::vector< std::unique_ptr< OUString > > maCommands
 

Detailed Description

Definition at line 17 of file uiobject.hxx.

Constructor & Destructor Documentation

◆ ChartUIObject()

ChartUIObject::ChartUIObject ( const VclPtr< chart::ChartWindow > &  xChartWindow,
OUString  aCID 
)

Definition at line 28 of file uiobject.cxx.

Member Function Documentation

◆ DECL_LINK()

ChartUIObject::DECL_LINK ( PostCommand  ,
void *  ,
void   
)
private

◆ execute()

void ChartUIObject::execute ( const OUString &  rAction,
const StringMap rParameters 
)
overridevirtual

◆ get_child()

std::unique_ptr< UIObject > ChartUIObject::get_child ( const OUString &  rID)
overridevirtual

Reimplemented from UIObject.

Definition at line 81 of file uiobject.cxx.

References VclPtr< class reference_type >::get(), and mxChartWindow.

◆ get_children()

std::set< OUString > ChartUIObject::get_children ( ) const
overridevirtual

Reimplemented from UIObject.

Definition at line 88 of file uiobject.cxx.

References VclPtr< class reference_type >::get(), and mxChartWindow.

◆ get_state()

StringMap ChartUIObject::get_state ( )
overridevirtual

Reimplemented from UIObject.

Definition at line 35 of file uiobject.cxx.

References aMap, and maCID.

◆ get_type()

OUString ChartUIObject::get_type ( ) const
overridevirtual

Reimplemented from UIObject.

Definition at line 95 of file uiobject.cxx.

Member Data Documentation

◆ maCID

OUString ChartUIObject::maCID
private

Definition at line 37 of file uiobject.hxx.

Referenced by execute(), and get_state().

◆ maCommands

std::vector<std::unique_ptr<OUString> > ChartUIObject::maCommands
private

Definition at line 39 of file uiobject.hxx.

Referenced by execute().

◆ mxChartWindow

VclPtr<chart::ChartWindow> ChartUIObject::mxChartWindow
private

Definition at line 38 of file uiobject.hxx.

Referenced by execute(), get_child(), and get_children().


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