LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::sidebar::ChartColorWrapper Class Reference

#include <ChartColorWrapper.hxx>

Collaboration diagram for chart::sidebar::ChartColorWrapper:
[legend]

Public Member Functions

 ChartColorWrapper (rtl::Reference<::chart::ChartModel > xModel, SvxColorToolBoxControl *pControl, OUString rPropertyName)
 
void operator() (const OUString &rCommand, const NamedColor &rColor)
 
void updateModel (const rtl::Reference<::chart::ChartModel > &xModel)
 
void updateData ()
 

Private Attributes

rtl::Reference<::chart::ChartModel > mxModel
 
SvxColorToolBoxControlmpControl
 
OUString maPropertyName
 

Detailed Description

Definition at line 24 of file ChartColorWrapper.hxx.

Constructor & Destructor Documentation

◆ ChartColorWrapper()

chart::sidebar::ChartColorWrapper::ChartColorWrapper ( rtl::Reference<::chart::ChartModel >  xModel,
SvxColorToolBoxControl pControl,
OUString  rPropertyName 
)

Definition at line 83 of file ChartColorWrapper.cxx.

References aName, mxModel, and xModel.

Member Function Documentation

◆ operator()()

void chart::sidebar::ChartColorWrapper::operator() ( const OUString &  rCommand,
const NamedColor rColor 
)

Definition at line 93 of file ChartColorWrapper.cxx.

References NamedColor::m_aColor, maPropertyName, mxModel, and SAL_WARN.

◆ updateData()

void chart::sidebar::ChartColorWrapper::updateData ( )

◆ updateModel()

void chart::sidebar::ChartColorWrapper::updateModel ( const rtl::Reference<::chart::ChartModel > &  xModel)

Definition at line 106 of file ChartColorWrapper.cxx.

References mxModel, and xModel.

Referenced by chart::sidebar::ChartLinePanel::doUpdateModel().

Member Data Documentation

◆ maPropertyName

OUString chart::sidebar::ChartColorWrapper::maPropertyName
private

Definition at line 44 of file ChartColorWrapper.hxx.

Referenced by operator()(), and updateData().

◆ mpControl

SvxColorToolBoxControl* chart::sidebar::ChartColorWrapper::mpControl
private

Definition at line 42 of file ChartColorWrapper.hxx.

Referenced by updateData().

◆ mxModel

rtl::Reference<::chart::ChartModel> chart::sidebar::ChartColorWrapper::mxModel
private

Definition at line 40 of file ChartColorWrapper.hxx.

Referenced by operator()(), updateData(), and updateModel().


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