ImplWin Class Reference

#include <ilstbox.hxx>

Inheritance diagram for ImplWin:

Inheritance graph
[legend]
Collaboration diagram for ImplWin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImplWin (Window *pParent, WinBits nWinStyle=0)
 ~ImplWin ()
virtual void MouseButtonDown (const MouseEvent &rMEvt)
virtual void Paint (const Rectangle &rRect)
virtual void Resize ()
virtual void GetFocus ()
virtual void LoseFocus ()
virtual long PreNotify (NotifyEvent &rNEvt)
USHORT GetItemPos () const
void SetItemPos (USHORT n)
const XubString & GetString () const
void SetString (const XubString &rStr)
const ImageGetImage () const
void SetImage (const Image &rImg)
BOOL SetModeImage (const Image &rImage, BmpColorMode eMode=BMP_COLOR_NORMAL)
const ImageGetModeImage (BmpColorMode eMode=BMP_COLOR_NORMAL) const
virtual void MBDown ()
void SetMBDownHdl (const Link &rLink)
const Link & GetMBDownHdl () const
void SetUserDrawHdl (const Link &rLink)
const Link & GetUserDrawHdl () const
void SetUserItemSize (const Size &rSz)
const Size & GetUserItemSize () const
void EnableUserDraw (BOOL bUserDraw)
BOOL IsUserDrawEnabled () const
void DrawEntry (BOOL bDrawImage, BOOL bDrawText, BOOL bDrawTextAtImagePos=FALSE, bool bLayout=false)

Protected Member Functions

virtual void FillLayoutData () const

Private Member Functions

void ImplDraw (bool bLayout=false)

Private Attributes

USHORT mnItemPos
XubString maString
Image maImage
Image maImageHC
Rectangle maFocusRect
Size maUserItemSize
Link maMBDownHdl
Link maUserDrawHdl
BOOL mbUserDrawEnabled: 1
BOOL mbInUserDraw: 1


Detailed Description

Definition at line 541 of file ilstbox.hxx.


Constructor & Destructor Documentation

ImplWin::ImplWin ( Window pParent,
WinBits  nWinStyle = 0 
)

ImplWin::~ImplWin (  )  [inline]

Definition at line 566 of file ilstbox.hxx.


Member Function Documentation

void ImplWin::ImplDraw ( bool  bLayout = false  )  [private]

void ImplWin::FillLayoutData (  )  const [protected, virtual]

Reimplemented from Control.

Definition at line 2741 of file ilstbox.cxx.

References ImplDraw(), and Control::mpLayoutData.

void ImplWin::MouseButtonDown ( const MouseEvent rMEvt  )  [virtual]

Reimplemented from Window.

Definition at line 2730 of file ilstbox.cxx.

References Window::IsEnabled(), and MBDown().

void ImplWin::Paint ( const Rectangle &  rRect  )  [virtual]

Reimplemented from Window.

Definition at line 2875 of file ilstbox.cxx.

References ImplDraw().

void ImplWin::Resize (  )  [virtual]

Reimplemented from Control.

Definition at line 2947 of file ilstbox.cxx.

References OutputDevice::GetOutputSizePixel(), Window::Invalidate(), maFocusRect, and Control::Resize().

void ImplWin::GetFocus (  )  [virtual]

void ImplWin::LoseFocus (  )  [virtual]

long ImplWin::PreNotify ( NotifyEvent rNEvt  )  [virtual]

USHORT ImplWin::GetItemPos (  )  const [inline]

Definition at line 575 of file ilstbox.hxx.

References mnItemPos.

Referenced by ListBox::GetIndexForPoint().

void ImplWin::SetItemPos ( USHORT  n  )  [inline]

Definition at line 576 of file ilstbox.hxx.

References mnItemPos.

Referenced by ListBox::Clear(), IMPL_LINK(), and ListBox::SetNoSelection().

const XubString& ImplWin::GetString (  )  const [inline]

Definition at line 578 of file ilstbox.hxx.

References maString.

void ImplWin::SetString ( const XubString &  rStr  )  [inline]

Definition at line 579 of file ilstbox.hxx.

References maString.

Referenced by ListBox::Clear(), IMPL_LINK(), and ListBox::SetNoSelection().

const Image& ImplWin::GetImage (  )  const [inline]

Definition at line 581 of file ilstbox.hxx.

References maImage.

void ImplWin::SetImage ( const Image rImg  )  [inline]

Definition at line 582 of file ilstbox.hxx.

References maImage.

Referenced by ListBox::Clear(), IMPL_LINK(), SetModeImage(), and ListBox::SetNoSelection().

BOOL ImplWin::SetModeImage ( const Image rImage,
BmpColorMode  eMode = BMP_COLOR_NORMAL 
)

Definition at line 2699 of file ilstbox.cxx.

References BMP_COLOR_HIGHCONTRAST, BMP_COLOR_NORMAL, maImageHC, and SetImage().

const Image & ImplWin::GetModeImage ( BmpColorMode  eMode = BMP_COLOR_NORMAL  )  const

Definition at line 2712 of file ilstbox.cxx.

References BMP_COLOR_HIGHCONTRAST, maImage, and maImageHC.

void ImplWin::MBDown (  )  [virtual]

Definition at line 2722 of file ilstbox.cxx.

References Window::IsEnabled(), and maMBDownHdl.

Referenced by MouseButtonDown().

void ImplWin::SetMBDownHdl ( const Link &  rLink  )  [inline]

Definition at line 589 of file ilstbox.hxx.

References maMBDownHdl.

Referenced by ListBox::ImplInit().

const Link& ImplWin::GetMBDownHdl (  )  const [inline]

Definition at line 590 of file ilstbox.hxx.

References maMBDownHdl.

void ImplWin::SetUserDrawHdl ( const Link &  rLink  )  [inline]

Definition at line 592 of file ilstbox.hxx.

References maUserDrawHdl.

Referenced by ListBox::ImplInit().

const Link& ImplWin::GetUserDrawHdl (  )  const [inline]

Definition at line 593 of file ilstbox.hxx.

References maUserDrawHdl.

void ImplWin::SetUserItemSize ( const Size &  rSz  )  [inline]

Definition at line 595 of file ilstbox.hxx.

References maUserItemSize.

Referenced by ListBox::SetUserItemSize().

const Size& ImplWin::GetUserItemSize (  )  const [inline]

Definition at line 596 of file ilstbox.hxx.

References maUserItemSize.

void ImplWin::EnableUserDraw ( BOOL  bUserDraw  )  [inline]

Definition at line 598 of file ilstbox.hxx.

References mbUserDrawEnabled.

Referenced by ListBox::EnableUserDraw().

BOOL ImplWin::IsUserDrawEnabled (  )  const [inline]

Definition at line 599 of file ilstbox.hxx.

References mbUserDrawEnabled.

Referenced by DrawEntry(), and ImplDraw().

void ImplWin::DrawEntry ( BOOL  bDrawImage,
BOOL  bDrawText,
BOOL  bDrawTextAtImagePos = FALSE,
bool  bLayout = false 
)


Member Data Documentation

USHORT ImplWin::mnItemPos [private]

Definition at line 545 of file ilstbox.hxx.

Referenced by GetItemPos(), ImplDraw(), ImplWin(), and SetItemPos().

XubString ImplWin::maString [private]

Definition at line 546 of file ilstbox.hxx.

Referenced by DrawEntry(), GetString(), and SetString().

Definition at line 547 of file ilstbox.hxx.

Referenced by DrawEntry(), GetImage(), GetModeImage(), and SetImage().

Definition at line 548 of file ilstbox.hxx.

Referenced by DrawEntry(), GetModeImage(), and SetModeImage().

Rectangle ImplWin::maFocusRect [private]

Definition at line 550 of file ilstbox.hxx.

Referenced by DrawEntry(), GetFocus(), ImplDraw(), and Resize().

Size ImplWin::maUserItemSize [private]

Definition at line 551 of file ilstbox.hxx.

Referenced by DrawEntry(), GetUserItemSize(), and SetUserItemSize().

Link ImplWin::maMBDownHdl [private]

Definition at line 553 of file ilstbox.hxx.

Referenced by GetMBDownHdl(), MBDown(), and SetMBDownHdl().

Link ImplWin::maUserDrawHdl [private]

Definition at line 554 of file ilstbox.hxx.

Referenced by GetUserDrawHdl(), ImplDraw(), and SetUserDrawHdl().

Definition at line 556 of file ilstbox.hxx.

Referenced by EnableUserDraw(), ImplWin(), and IsUserDrawEnabled().

BOOL ImplWin::mbInUserDraw [private]

Definition at line 556 of file ilstbox.hxx.

Referenced by ImplDraw(), and ImplWin().


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

Generated on Thu Apr 29 14:00:24 2010 for ooo-build Module vcl (ooo/OOO320_m15) by  doxygen 1.5.6