OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TCheckListData Class Reference

#include <owl/checklst.h>

Public Member Functions

 TCheckListData ()
 
 ~TCheckListData ()
 
TCheckListItemGetItem (int index)
 
TIntArrayGetSelIndices ()
 
int AddString (const tstring &str, bool isSelected=false)
 
int AddStringItem (const tstring &str, UINT_PTR itemData, bool isSelected=false)
 
void Clear (bool del=true)
 
void Select (int index)
 
void SelectString (const tstring &str)
 
int GetSelCount () const
 
void ResetSelections ()
 
bool IsChecked (int index) const
 
bool IsUnchecked (int index) const
 
bool IsIndeterminate (int index) const
 
bool IsEnabled (int index) const
 
uint GetState (int index) const
 
bool GetThreeStates (int index) const
 
void Toggle (int index)
 
void Check (int index)
 
void Uncheck (int index)
 
void SetIndeterminate (int index)
 
void SetThreeStates (int index, bool enable=true)
 
void Enable (int index)
 
void Disable (int index)
 
int AddItem (TCheckListItem *item)
 
uint ItemCount ()
 

Detailed Description

Definition at line 164 of file checklst.h.

Constructor & Destructor Documentation

◆ TCheckListData()

owl::TCheckListData::TCheckListData ( )

Definition at line 33 of file checklst.cpp.

◆ ~TCheckListData()

owl::TCheckListData::~TCheckListData ( )

Definition at line 38 of file checklst.cpp.

Member Function Documentation

◆ AddItem()

int owl::TCheckListData::AddItem ( TCheckListItem * item)
inline

Definition at line 544 of file checklst.h.

◆ AddString()

int owl::TCheckListData::AddString ( const tstring & str,
bool isSelected = false )

Definition at line 47 of file checklst.cpp.

References owl::TTypedArray< T, R, A >::Add().

◆ AddStringItem()

int owl::TCheckListData::AddStringItem ( const tstring & str,
UINT_PTR itemData,
bool isSelected = false )

◆ Check()

void owl::TCheckListData::Check ( int index)
inline

Definition at line 508 of file checklst.h.

References PRECONDITION.

◆ Clear()

void owl::TCheckListData::Clear ( bool del = true)

Definition at line 67 of file checklst.cpp.

References ResetSelections().

◆ Disable()

void owl::TCheckListData::Disable ( int index)
inline

Definition at line 538 of file checklst.h.

References PRECONDITION.

◆ Enable()

void owl::TCheckListData::Enable ( int index)
inline

Definition at line 532 of file checklst.h.

References PRECONDITION.

◆ GetItem()

TCheckListItem * owl::TCheckListData::GetItem ( int index)
inline

Definition at line 456 of file checklst.h.

References PRECONDITION.

◆ GetSelCount()

int owl::TCheckListData::GetSelCount ( ) const

Definition at line 91 of file checklst.cpp.

References owl::TArrayBase::size().

◆ GetSelIndices()

TIntArray & owl::TCheckListData::GetSelIndices ( )
inline

Definition at line 461 of file checklst.h.

◆ GetState()

uint owl::TCheckListData::GetState ( int index) const
inline

Definition at line 490 of file checklst.h.

References PRECONDITION.

◆ GetThreeStates()

bool owl::TCheckListData::GetThreeStates ( int index) const
inline

Definition at line 496 of file checklst.h.

References PRECONDITION.

◆ IsChecked()

bool owl::TCheckListData::IsChecked ( int index) const
inline

Definition at line 466 of file checklst.h.

References PRECONDITION.

◆ IsEnabled()

bool owl::TCheckListData::IsEnabled ( int index) const
inline

Definition at line 484 of file checklst.h.

References PRECONDITION.

◆ IsIndeterminate()

bool owl::TCheckListData::IsIndeterminate ( int index) const
inline

Definition at line 478 of file checklst.h.

References PRECONDITION.

◆ IsUnchecked()

bool owl::TCheckListData::IsUnchecked ( int index) const
inline

Definition at line 472 of file checklst.h.

References PRECONDITION.

◆ ItemCount()

uint owl::TCheckListData::ItemCount ( )
inline

Definition at line 549 of file checklst.h.

◆ ResetSelections()

void owl::TCheckListData::ResetSelections ( )

Definition at line 97 of file checklst.cpp.

References owl::TTypedArray< T, R, A >::Flush().

◆ Select()

void owl::TCheckListData::Select ( int index)

Definition at line 74 of file checklst.cpp.

References owl::TTypedArray< T, R, A >::Add().

◆ SelectString()

void owl::TCheckListData::SelectString ( const tstring & str)

Definition at line 80 of file checklst.cpp.

References owl::TTypedArray< T, R, A >::Add().

◆ SetIndeterminate()

void owl::TCheckListData::SetIndeterminate ( int index)
inline

Definition at line 520 of file checklst.h.

References PRECONDITION.

◆ SetThreeStates()

void owl::TCheckListData::SetThreeStates ( int index,
bool enable = true )
inline

Definition at line 526 of file checklst.h.

References PRECONDITION.

◆ Toggle()

void owl::TCheckListData::Toggle ( int index)
inline

Definition at line 502 of file checklst.h.

References PRECONDITION.

◆ Uncheck()

void owl::TCheckListData::Uncheck ( int index)
inline

Definition at line 514 of file checklst.h.

References PRECONDITION.


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