Tizen Native API

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< IndexIndexContainer
 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

Handleobject
 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

A vector of property indices.

Since :
2.4

Member Enumeration Documentation

The access mode for custom properties.

Since :
2.4
Enumerator:
READ_ONLY 

if the property is read-only

Since :
2.4
READ_WRITE 

If the property is read/writeable.

Since :
2.4
ANIMATABLE 

If the property can be animated or constrained.

Since :
2.4
ACCESS_MODE_COUNT 

The number of access modes.

Since :
2.4

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]objectA valid handle to the target object.
[in]propertyIndexThe index of a property.
Dali::Property::Property ( Handle object,
Property::Index  propertyIndex,
int  componentIndex 
)

Create a Property instance.

Since :
2.4
Parameters:
[in]objectA valid handle to the target object.
[in]propertyIndexThe index of a property.
[in]componentIndexIndex to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)
Dali::Property::Property ( Handle object,
const std::string &  propertyName 
)

Create a Property instance.

Since :
2.4
Parameters:
[in]objectA valid handle to the target object.
[in]propertyNameThe property name.
Note:
This performs a property index query and is therefore slower than constructing a Property directly with the index.
Dali::Property::Property ( Handle object,
const std::string &  propertyName,
int  componentIndex 
)

Create a Property instance.

Since :
2.4
Parameters:
[in]objectA valid handle to the target object.
[in]propertyNameThe property name.
[in]componentIndexIndex 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

-1 is not a valid property index

const int Dali::Property::INVALID_INDEX [static]

-1 is not a valid property index