This reference page is linked to from the following overview topics: FBProperty - Object Properties.
#include <fbproperties.h>
Property Manager.
The property manager exists in all FBComponent objects, and contains an array of all the registered properties. These properties may be SDK properties, internal properties or both.
Definition at line 1100 of file fbproperties.h.
Public Member Functions |
|
FBPropertyManager () | |
Constructor. |
|
~FBPropertyManager () | |
Destructor. |
|
int | Add (FBProperty *Property) |
Add a property to the property manager.
|
|
FBProperty * | operator[] (int pIndex) |
Overloaded [] operator. |
|
int | GetCount () |
Get the number of properties stored in
property manager. |
|
FBProperty * | Find (const char *pPropertyName, bool pMultilangLookup=true) |
Find a property, based on its name. |
|
int | Remove (FBProperty *pProperty) |
Remove a property. |
|
void | AddToCache (FBProperty *pProperty) |
void | RemoveFromCache (KProperty *pProperty) |
FBProperty * | FindInCache (KProperty *pProperty) |
Friends |
|
class | FBComponent |
class | FBVisualComponent |
FBPropertyManager::FBPropertyManager | ( | ) |
Constructor.
FBPropertyManager::~FBPropertyManager | ( | ) |
Destructor.
int FBPropertyManager::Add | ( | FBProperty * | Property | ) |
Add a property to the property manager.
Property | Handle to property to add. |
Property
was added.FBProperty* FBPropertyManager::operator[] | ( | int | pIndex | ) |
Overloaded [] operator.
Access the property at pIndex
.
pIndex | Index of property to access. |
pIndex
.int FBPropertyManager::GetCount | ( | ) |
Get the number of properties stored in property manager.
FBProperty* FBPropertyManager::Find | ( | const char * | pPropertyName, |
bool | pMultilangLookup =
true |
||
) |
Find a property, based on its name.
pPropertyName | Name of property to look for. |
pMultilangLookup | When searching, indicate if the name lookup should also be done on the property name as shown in the GUI. (default = true) |
int FBPropertyManager::Remove | ( | FBProperty * | pProperty | ) |
Remove a property.
pProperty | Property to remove. |
void FBPropertyManager::AddToCache | ( | FBProperty * | pProperty | ) |
Add a property to PropertyCache.
pProperty | Property to add to cache. |
void FBPropertyManager::RemoveFromCache | ( | KProperty * | pProperty | ) |
Remove a property from PropertyCache.
pProperty | Property to remove from cache. |
FBProperty* FBPropertyManager::FindInCache | ( | KProperty * | pProperty | ) |
Find a property in PropertyCache.
pProperty | Property to find. |
friend class FBComponent
[friend] |
Definition at line 1177 of file fbproperties.h.
friend class FBVisualComponent
[friend] |
Definition at line 1178 of file fbproperties.h.