#include <IUIDListControlData.h>
Control Data Interface for a list of UIDs, currently part of the kPagesPanelWidgetBoss.
| Enumerator |
|---|
| kBeginning___ | at the beginning of the list |
| kEnd___ | at the end of the list |
| kInvalidUIDIndex___ | not found in the list |
| Enumerator |
|---|
| kNoDrawOrInval___ | do nothing |
| kForceDraw___ | force widget to redraw immediately |
| kDoInval___ | inval the widget |
| virtual void IUIDListControlData::AddUID___ | ( | const UID & | newUID, | | | int32 | drawAction, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Add a UID to the list.
- Parameters
| newUID | IN the UID to add |
| drawAction | IN draw action to apply to the associated widget |
| virtual void IUIDListControlData::Clear___ | ( | int32 | drawAction, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Clear the list (remove all the UIDs).
- Parameters
| drawAction | IN draw action to apply to the associated widget |
| virtual IDataBase* IUIDListControlData::GetDataBase___ | ( | | ) | const |
| pure virtual |
Get the database that the UID's are from.
| virtual int32 IUIDListControlData::GetIndex___ | ( | const UID & | uid | ) | const |
| pure virtual |
Get the index for the given UID.
| virtual UID IUIDListControlData::GetUID___ | ( | int32 | index | ) | const |
| pure virtual |
Get the UID value at a given index in the list.
| virtual int32 IUIDListControlData::Length___ | ( | | ) | const |
| pure virtual |
How many UIDs are in the list?
| virtual void IUIDListControlData::RemoveUID___ | ( | UID | uid, | | | int32 | drawAction, | | | bool16 | notifyOfChange = kTrue | | ) | | |
| pure virtual |
Remove a UID from the list.
- Parameters
| uid | IN the UID to remove |
| drawAction | IN draw action to apply to the associated widget |
| virtual void IUIDListControlData::Replace___ | ( | int32 | at, | | | const UID & | uid | | ) | | |
| pure virtual |
Replace the value at the location with another UID.
| virtual void IUIDListControlData::SetDataBase___ | ( | IDataBase * | db | ) | |
| pure virtual |
Set the database that the UID's are from.
| virtual void IUIDListControlData::Sort___ | ( | bool16 | bReverse = kFalse | ) | |
| pure virtual |
Sort UIDs into order they appear in PageList or MasterSpreadList. If bReverse is set, sort in opposite order.