Tizen Native API
|
Dali::Property Struct Reference
An object + property pair. More...
Classes | |
class | Array |
A Array of property values. More... | |
class | Map |
A Map of property values. More... | |
class | Value |
A value-type representing a property value. More... | |
Public Types | |
enum | Type |
The property types supported. More... | |
enum | AccessMode |
The access mode for custom properties. More... | |
typedef int | Index |
A valid property index is zero or greater. | |
typedef Dali::Vector< Index > | IndexContainer |
A vector of property indices. | |
Public Member Functions | |
Property (Handle &object, Property::Index propertyIndex) | |
Create a Property instance. | |
Property (Handle &object, Property::Index propertyIndex, int componentIndex) | |
Create a Property instance. | |
Property (Handle &object, const std::string &propertyName) | |
Create a Property instance. | |
Property (Handle &object, const std::string &propertyName, int componentIndex) | |
Create a Property instance. | |
~Property () | |
Non-virtual destructor; Property is not intended as a base class. | |
Public Attributes | |
Handle & | object |
A valid handle to the target object. | |
Index | propertyIndex |
The index of a property provided by object. | |
int | componentIndex |
Index of a property sub component, for use with Vector2, Vector3 and Vector4, -1 if using main property. | |
Static Public Attributes | |
static const int | INVALID_INDEX |
static const int | INVALID_COMPONENT_INDEX |
Detailed Description
An object + property pair.
- Since :
- 2.4
Member Typedef Documentation
typedef int Dali::Property::Index |
A valid property index is zero or greater.
- Since :
- 2.4
typedef Dali::Vector< Index > Dali::Property::IndexContainer |
A vector of property indices.
- Since :
- 2.4
Member Enumeration Documentation
enum Dali::Property::Type |
The property types supported.
- Since :
- 2.4
- Enumerator:
NONE No type.
- Since :
- 2.4
BOOLEAN A boolean type.
- Since :
- 2.4
FLOAT A float type.
- Since :
- 2.4
INTEGER An integer type.
- Since :
- 2.4
VECTOR2 a vector array of size=2 with float precision
- Since :
- 2.4
VECTOR3 a vector array of size=3 with float precision
- Since :
- 2.4
VECTOR4 a vector array of size=4 with float precision
- Since :
- 2.4
MATRIX3 a 3x3 matrix
- Since :
- 2.4
MATRIX a 4x4 matrix
- Since :
- 2.4
RECTANGLE an integer array of size=4
- Since :
- 2.4
ROTATION either a quaternion or an axis angle rotation
- Since :
- 2.4
STRING A string type.
- Since :
- 2.4
ARRAY an array of Property::Value
- Since :
- 2.4
MAP a string key to Property:value mapping
- Since :
- 2.4
Constructor & Destructor Documentation
Dali::Property::Property | ( | Handle & | object, |
Property::Index | propertyIndex | ||
) |
Create a Property instance.
- Since :
- 2.4
- Parameters:
-
[in] object A valid handle to the target object. [in] propertyIndex The index of a property.
Dali::Property::Property | ( | Handle & | object, |
Property::Index | propertyIndex, | ||
int | componentIndex | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName, | ||
int | componentIndex | ||
) |
Create a Property instance.
- Since :
- 2.4
- Parameters:
-
[in] object A valid handle to the target object. [in] propertyName The property name. [in] componentIndex Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)
- Note:
- This performs a property index query and is therefore slower than constructing a Property directly with the index.
Non-virtual destructor; Property is not intended as a base class.
- Since :
- 2.4
Member Data Documentation
const int Dali::Property::INVALID_COMPONENT_INDEX [static] |
-1 is not a valid property index
const int Dali::Property::INVALID_INDEX [static] |
-1 is not a valid property index