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

#include <vclxwindows.hxx>

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

Public Member Functions

 VCLXFileControl ()
 
virtual ~VCLXFileControl () override
 
virtual void SetWindow (const VclPtr< vcl::Window > &pWindow) override
 
void SAL_CALL addTextListener (const css::uno::Reference< css::awt::XTextListener > &l) override
 
void SAL_CALL removeTextListener (const css::uno::Reference< css::awt::XTextListener > &l) override
 
void SAL_CALL setText (const OUString &aText) override
 
void SAL_CALL insertText (const css::awt::Selection &Sel, const OUString &Text) override
 
OUString SAL_CALL getText () override
 
OUString SAL_CALL getSelectedText () override
 
void SAL_CALL setSelection (const css::awt::Selection &aSelection) override
 
css::awt::Selection SAL_CALL getSelection () override
 
sal_Bool SAL_CALL isEditable () override
 
void SAL_CALL setEditable (sal_Bool bEditable) override
 
void SAL_CALL setMaxTextLen (sal_Int16 nLen) override
 
sal_Int16 SAL_CALL getMaxTextLen () 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
 
css::awt::Size SAL_CALL getMinimumSize (sal_Int16 nCols, sal_Int16 nLines) override
 
void SAL_CALL getColumnsAndLines (sal_Int16 &nCols, sal_Int16 &nLines) override
 
void SAL_CALL setProperty (const OUString &PropertyName, const css::uno::Any &Value) override
 
virtual void GetPropertyIds (std::vector< sal_uInt16 > &aIds) override
 

Static Public Member Functions

static void ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds)
 

Private Member Functions

 DECL_LINK (ModifyHdl, Edit &, void)
 
void ModifyHdl ()
 

Private Attributes

TextListenerMultiplexer maTextListeners
 

Detailed Description

Definition at line 496 of file toolkit/inc/awt/vclxwindows.hxx.

Constructor & Destructor Documentation

◆ VCLXFileControl()

VCLXFileControl::VCLXFileControl ( )

Definition at line 6248 of file vclxwindows.cxx.

◆ ~VCLXFileControl()

VCLXFileControl::~VCLXFileControl ( )
overridevirtual

Definition at line 6252 of file vclxwindows.cxx.

Member Function Documentation

◆ addTextListener()

void VCLXFileControl::addTextListener ( const css::uno::Reference< css::awt::XTextListener > &  l)
override

Definition at line 6312 of file vclxwindows.cxx.

References maTextListeners.

◆ calcAdjustedSize()

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

Definition at line 6464 of file vclxwindows.cxx.

References getMinimumSize().

◆ DECL_LINK()

VCLXFileControl::DECL_LINK ( ModifyHdl  ,
Edit ,
void   
)
private

◆ getColumnsAndLines()

void VCLXFileControl::getColumnsAndLines ( sal_Int16 &  nCols,
sal_Int16 &  nLines 
)
override

Definition at line 6493 of file vclxwindows.cxx.

◆ getMaxTextLen()

sal_Int16 VCLXFileControl::getMaxTextLen ( )
override

Definition at line 6421 of file vclxwindows.cxx.

◆ getMinimumSize() [1/2]

css::awt::Size VCLXFileControl::getMinimumSize ( )
override

Definition at line 6442 of file vclxwindows.cxx.

References Size::AdjustWidth(), and AWTSize().

Referenced by calcAdjustedSize(), and getPreferredSize().

◆ getMinimumSize() [2/2]

css::awt::Size VCLXFileControl::getMinimumSize ( sal_Int16  nCols,
sal_Int16  nLines 
)
override

Definition at line 6479 of file vclxwindows.cxx.

References AWTSize().

◆ getPreferredSize()

css::awt::Size VCLXFileControl::getPreferredSize ( )
override

Definition at line 6457 of file vclxwindows.cxx.

References getMinimumSize().

◆ GetPropertyIds()

virtual void VCLXFileControl::GetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
inlineoverridevirtual

Definition at line 534 of file toolkit/inc/awt/vclxwindows.hxx.

References ImplGetPropertyIds().

◆ getSelectedText()

OUString VCLXFileControl::getSelectedText ( )
override

Definition at line 6360 of file vclxwindows.cxx.

◆ getSelection()

css::awt::Selection VCLXFileControl::getSelection ( )
override

Definition at line 6381 of file vclxwindows.cxx.

◆ getText()

OUString VCLXFileControl::getText ( )
override

Definition at line 6349 of file vclxwindows.cxx.

◆ ImplGetPropertyIds()

void VCLXFileControl::ImplGetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
static

◆ insertText()

void VCLXFileControl::insertText ( const css::awt::Selection &  Sel,
const OUString &  Text 
)
override

Definition at line 6337 of file vclxwindows.cxx.

◆ isEditable()

sal_Bool VCLXFileControl::isEditable ( )
override

Definition at line 6395 of file vclxwindows.cxx.

◆ ModifyHdl()

void VCLXFileControl::ModifyHdl ( )
private

Definition at line 6435 of file vclxwindows.cxx.

References aEvent, and maTextListeners.

Referenced by setText(), and SetWindow().

◆ removeTextListener()

void VCLXFileControl::removeTextListener ( const css::uno::Reference< css::awt::XTextListener > &  l)
override

Definition at line 6317 of file vclxwindows.cxx.

References maTextListeners.

◆ setEditable()

void VCLXFileControl::setEditable ( sal_Bool  bEditable)
override

Definition at line 6403 of file vclxwindows.cxx.

◆ setMaxTextLen()

void VCLXFileControl::setMaxTextLen ( sal_Int16  nLen)
override

Definition at line 6412 of file vclxwindows.cxx.

◆ setProperty()

void SAL_CALL VCLXFileControl::setProperty ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
override

◆ setSelection()

void VCLXFileControl::setSelection ( const css::awt::Selection &  aSelection)
override

Definition at line 6372 of file vclxwindows.cxx.

◆ setText()

void VCLXFileControl::setText ( const OUString &  aText)
override

Definition at line 6322 of file vclxwindows.cxx.

References ModifyHdl().

◆ SetWindow()

void VCLXFileControl::SetWindow ( const VclPtr< vcl::Window > &  pWindow)
overridevirtual

Member Data Documentation

◆ maTextListeners

TextListenerMultiplexer VCLXFileControl::maTextListeners
private

Definition at line 500 of file toolkit/inc/awt/vclxwindows.hxx.

Referenced by addTextListener(), ModifyHdl(), and removeTextListener().


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