OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/checklst.h>
Public Member Functions | |
TCheckListData () | |
~TCheckListData () | |
TCheckListItem * | GetItem (int index) |
TIntArray & | GetSelIndices () |
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 () |
Definition at line 164 of file checklst.h.
owl::TCheckListData::TCheckListData | ( | ) |
Definition at line 33 of file checklst.cpp.
owl::TCheckListData::~TCheckListData | ( | ) |
Definition at line 38 of file checklst.cpp.
|
inline |
Definition at line 544 of file checklst.h.
Definition at line 47 of file checklst.cpp.
References owl::TTypedArray< T, R, A >::Add().
int owl::TCheckListData::AddStringItem | ( | const tstring & | str, |
UINT_PTR | itemData, | ||
bool | isSelected = false ) |
Definition at line 56 of file checklst.cpp.
References owl::TTypedArray< T, R, A >::Add(), and owl::TCheckListItem::SetData().
Definition at line 508 of file checklst.h.
References PRECONDITION.
Definition at line 67 of file checklst.cpp.
References ResetSelections().
Definition at line 538 of file checklst.h.
References PRECONDITION.
Definition at line 532 of file checklst.h.
References PRECONDITION.
|
inline |
Definition at line 456 of file checklst.h.
References PRECONDITION.
int owl::TCheckListData::GetSelCount | ( | ) | const |
Definition at line 91 of file checklst.cpp.
References owl::TArrayBase::size().
|
inline |
Definition at line 461 of file checklst.h.
Definition at line 490 of file checklst.h.
References PRECONDITION.
Definition at line 496 of file checklst.h.
References PRECONDITION.
Definition at line 466 of file checklst.h.
References PRECONDITION.
Definition at line 484 of file checklst.h.
References PRECONDITION.
Definition at line 478 of file checklst.h.
References PRECONDITION.
Definition at line 472 of file checklst.h.
References PRECONDITION.
|
inline |
Definition at line 549 of file checklst.h.
void owl::TCheckListData::ResetSelections | ( | ) |
Definition at line 97 of file checklst.cpp.
References owl::TTypedArray< T, R, A >::Flush().
Definition at line 74 of file checklst.cpp.
References owl::TTypedArray< T, R, A >::Add().
Definition at line 80 of file checklst.cpp.
References owl::TTypedArray< T, R, A >::Add().
Definition at line 520 of file checklst.h.
References PRECONDITION.
Definition at line 526 of file checklst.h.
References PRECONDITION.
Definition at line 502 of file checklst.h.
References PRECONDITION.
Definition at line 514 of file checklst.h.
References PRECONDITION.