Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Static Public Member Functions
Dali::Handle Class Reference

Dali::Handle is a handle to an internal property owning Dali object that can have constraints applied to it. More...

#include <handle.h>

Inheritance diagram for Dali::Handle:
Inheritance graph
[legend]
Collaboration diagram for Dali::Handle:
Collaboration graph
[legend]

Public Types

enum  Capability { DYNAMIC_PROPERTIES = 0x01 }
 An Handle's capabilities can be queried using Handle::Supports() .0. More...
 
- Public Types inherited from Dali::BaseHandle
typedef void(BaseHandle::* BooleanType )() const
 Pointer-to-member type. More...
 

Public Member Functions

 Handle (Dali::Internal::Object *handle)
 This constructor is used by Dali New() methods. More...
 
 Handle ()
 This constructor provides an uninitialized Dali::Handle. More...
 
 ~Handle ()
 Dali::Handle is intended as a base class. More...
 
 Handle (const Handle &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
Handleoperator= (const Handle &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
bool Supports (Capability capability) const
 Query whether an handle supports a given capability. More...
 
unsigned int GetPropertyCount () const
 Query how many properties are provided by an handle. More...
 
std::string GetPropertyName (Property::Index index) const
 Query the name of a property. More...
 
Property::Index GetPropertyIndex (const std::string &name) const
 Query the index of a property. More...
 
bool IsPropertyWritable (Property::Index index) const
 Query whether a property can be set using SetProperty(). More...
 
bool IsPropertyAnimatable (Property::Index index) const
 Query whether a writable property can be the target of an animation or constraint. More...
 
bool IsPropertyAConstraintInput (Property::Index index) const
 Query whether a property can be used as in input to a constraint. More...
 
Property::Type GetPropertyType (Property::Index index) const
 Query the type of a property. More...
 
void SetProperty (Property::Index index, const Property::Value &propertyValue)
 Set the value of an existing property. More...
 
Property::Index RegisterProperty (const std::string &name, const Property::Value &propertyValue)
 Register a new animatable property. More...
 
Property::Index RegisterProperty (const std::string &name, const Property::Value &propertyValue, Property::AccessMode accessMode)
 Register a new property. More...
 
Property::Value GetProperty (Property::Index index) const
 Retrieve a property value. More...
 
template<typename T >
GetProperty (Property::Index index) const
 Convenience function for obtaining a property of a known type. More...
 
void GetPropertyIndices (Property::IndexContainer &indices) const
 Retrieve all the property indices for this object (including custom properties). More...
 
PropertyNotification AddPropertyNotification (Property::Index index, const PropertyCondition &condition)
 Add a property notification to this object. More...
 
PropertyNotification AddPropertyNotification (Property::Index index, int componentIndex, const PropertyCondition &condition)
 Add a property notification to this object. More...
 
void RemovePropertyNotification (Dali::PropertyNotification propertyNotification)
 Remove a property notification from this object. More...
 
void RemovePropertyNotifications ()
 Remove all property notifications from this object. More...
 
void RemoveConstraints ()
 Remove all constraints from an Object. More...
 
void RemoveConstraints (unsigned int tag)
 Remove all the constraint from the Object with a matching tag. More...
 
- Public Member Functions inherited from Dali::BaseHandle
 BaseHandle (Dali::BaseObject *handle)
 This constructor is used by Dali New() methods. More...
 
 BaseHandle ()
 This constructor provides an uninitialized Dali::BaseHandle. More...
 
 ~BaseHandle ()
 Dali::BaseHandle is intended as a base class. More...
 
 BaseHandle (const BaseHandle &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
BaseHandleoperator= (const BaseHandle &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
BaseObjectGetBaseObject ()
 Retrieve the internal Dali resource. More...
 
const BaseObjectGetBaseObject () const
 Retrieve the internal Dali resource. More...
 
void Reset ()
 Resets the handle. More...
 
 operator BooleanType () const
 Converts an handle to a BooleanType. More...
 
bool operator== (const BaseHandle &rhs) const
 Equality operator overload. More...
 
bool operator!= (const BaseHandle &rhs) const
 Inequality operator overload. More...
 
Dali::RefObjectGetObjectPtr () const
 Get the reference counted object pointer. More...
 

Static Public Member Functions

static Handle New ()
 Create a new object. More...
 
static Handle DownCast (BaseHandle handle)
 Downcast to a handle. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dali::BaseHandle
void ThisIsSaferThanReturningVoidStar () const
 Used by the safe bool idiom. More...
 

Detailed Description

Dali::Handle is a handle to an internal property owning Dali object that can have constraints applied to it.

.0

Definition at line 52 of file handle.h.

Member Enumeration Documentation

An Handle's capabilities can be queried using Handle::Supports() .0.

Enumerator
DYNAMIC_PROPERTIES 

Some objects support dynamic property creation at run-time.

New properties are registered by calling RegisterProperty() with an unused property name. .0

Definition at line 60 of file handle.h.

Constructor & Destructor Documentation

Dali::Handle::Handle ( Dali::Internal::Object handle)

This constructor is used by Dali New() methods.

.0

Parameters
[in]handleA pointer to a newly allocated Dali resource

Definition at line 33 of file handle.cpp.

Dali::Handle::Handle ( )

This constructor provides an uninitialized Dali::Handle.

This should be initialized with a Dali New() method before use. Methods called on an uninitialized Dali::Handle will assert.

Handle handle; // uninitialized
handle.SomeMethod(); // unsafe! This will assert
handle = SomeClass::New(); // now initialized
handle.SomeMethod(); // safe

.0

Definition at line 39 of file handle.cpp.

Referenced by DownCast(), and New().

Here is the caller graph for this function:

Dali::Handle::~Handle ( )

Dali::Handle is intended as a base class.

This is non-virtual since derived Handle types must not contain data or virtual methods. .0

Definition at line 48 of file handle.cpp.

Dali::Handle::Handle ( const Handle handle)

This copy constructor is required for (smart) pointer semantics.

.0

Parameters
[in]handleA reference to the copied handle

Definition at line 52 of file handle.cpp.

Member Function Documentation

Dali::PropertyNotification Dali::Handle::AddPropertyNotification ( Property::Index  index,
const PropertyCondition condition 
)

Add a property notification to this object.

.0

Parameters
[in]indexThe index of the property.
[in]conditionThe notification will be triggered when this condition is satisfied.
Returns
A handle to the newly created PropertyNotification

Definition at line 138 of file handle.cpp.

References Dali::Internal::Object::AddPropertyNotification(), and Dali::GetImplementation().

Referenced by Dali::Internal::ShaderEffect::AddPropertyNotification(), Dali::Toolkit::Internal::ScrollBar::SetScrollPositionIntervals(), Dali::Toolkit::Text::Decorator::Impl::SetupActiveLayerPropertyNotifications(), Dali::Toolkit::Text::Decorator::Impl::SetUpPopupPositionNotifications(), Dali::Toolkit::Internal::SetupPropertyNotification(), UtcDaliAddPropertyNotification(), UtcDaliAddPropertyNotificationTypeProperty(), UtcDaliPropertyNotificationDownCast(), UtcDaliPropertyNotificationDownCastNegative(), UtcDaliPropertyNotificationGetCondition(), UtcDaliPropertyNotificationGetConditionConst(), UtcDaliPropertyNotificationGetNotifyMode(), UtcDaliPropertyNotificationGetNotifyResultP(), UtcDaliPropertyNotificationGetProperty(), UtcDaliPropertyNotificationGetTarget(), UtcDaliPropertyNotificationGreaterThan(), UtcDaliPropertyNotificationInside(), UtcDaliPropertyNotificationLessThan(), UtcDaliPropertyNotificationOrder(), UtcDaliPropertyNotificationOutside(), UtcDaliPropertyNotificationStep(), UtcDaliPropertyNotificationVariableStep(), UtcDaliPropertyNotificationVectorComponentGreaterThan(), UtcDaliPropertyNotificationVectorComponentInside(), UtcDaliPropertyNotificationVectorComponentLessThan(), and UtcDaliPropertyNotificationVectorComponentOutside().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali::PropertyNotification Dali::Handle::AddPropertyNotification ( Property::Index  index,
int  componentIndex,
const PropertyCondition condition 
)

Add a property notification to this object.

.0

Parameters
[in]indexThe index of the property.
[in]componentIndexIndex to the component of a complex property such as a Vector
[in]conditionThe notification will be triggered when this condition is satisfied.
Returns
A handle to the newly created PropertyNotification

Definition at line 144 of file handle.cpp.

References Dali::Internal::Object::AddPropertyNotification(), and Dali::GetImplementation().

Here is the call graph for this function:

Handle Dali::Handle::DownCast ( BaseHandle  handle)
static

Downcast to a handle.

If not the returned handle is left uninitialized. .0

Parameters
[in]handleto An object
Returns
handle or an uninitialized handle

Definition at line 67 of file handle.cpp.

References Dali::BaseHandle::GetObjectPtr(), and Handle().

Referenced by Dali::Toolkit::Internal::Builder::DoCreate(), UtcDaliHandleDownCast(), and UtcDaliHandleDownCastNegative().

Here is the call graph for this function:

Here is the caller graph for this function:

Property::Value Dali::Handle::GetProperty ( Property::Index  index) const

Retrieve a property value.

.0

Parameters
[in]indexThe index of the property.
Returns
The property value.

Definition at line 128 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::GetProperty().

Referenced by Dali::Toolkit::Text::AtlasRenderer::Impl::AddGlyphs(), AppendPropertyNameAndValue(), Dali::Scripting::CreatePropertyMap(), Dali::Toolkit::Internal::AccessibilityManager::DoSetCurrentFocusActor(), Dali::Toolkit::Internal::SuperBlurView::GetCurrentBlurStrength(), Dali::Toolkit::Internal::ItemView::GetCurrentLayoutPosition(), Dali::Toolkit::Internal::TextSelectionPopup::GetDimensionToCustomise(), Dali::Toolkit::Internal::Button::GetLabelText(), Dali::Internal::ShaderEffect::GetProperty(), Dali::Toolkit::Internal::ScrollView::GetPropertyPosition(), Dali::Toolkit::Internal::ScrollView::GetPropertyPrePosition(), Dali::Toolkit::Internal::anonymous_namespace{accessibility-manager-impl.cpp}::IsActorFocusableFunction(), Dali::Toolkit::Internal::KeyboardFocusManager::IsFocusGroup(), Dali::Toolkit::Internal::AccessibilityManager::IsFocusGroup(), Dali::Toolkit::Internal::TableView::OnControlChildAdd(), Dali::Toolkit::Internal::ScrollBar::OnPan(), Dali::Toolkit::Internal::ScrollView::OnScrollAnimationFinished(), Dali::Toolkit::Internal::ScrollBar::OnScrollPositionIntervalReached(), PropertyController::OnTouched(), Dali::Toolkit::Internal::ScrollViewPagePathEffect::ScrollViewPagePathEffect(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), SetPropertyMapRetrieved(), Dali::Toolkit::Internal::ScrollView::SnapWithVelocity(), Dali::Toolkit::Internal::CubeTransitionEffect::StartTransition(), anonymous_namespace{utc-Dali-ImageView.cpp}::TestImage(), anonymous_namespace{utc-Dali-ScrollView.cpp}::TestOvershootSnapDuration(), anonymous_namespace{utc-Dali-ImageView.cpp}::TestUrl(), UtcDaliAlphaFunctionBezier(), UtcDaliAnimationAnimateBetweenActorColorAlphaCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionCubicP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionP(), UtcDaliAnimationAnimateBetweenActorColorAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateBetweenActorColorAlphaP(), UtcDaliAnimationAnimateBetweenActorColorCubicP(), UtcDaliAnimationAnimateBetweenActorColorCubicWithDelayP(), UtcDaliAnimationAnimateBetweenActorColorP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodCubicP(), UtcDaliAnimationAnimateBetweenActorColorTimePeriodP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), UtcDaliAnimationAnimateToActorAnchorPointXP(), UtcDaliAnimationAnimateToActorAnchorPointYP(), UtcDaliAnimationAnimateToActorAnchorPointZP(), UtcDaliAnimationAnimateToActorColorAlphaP(), UtcDaliAnimationAnimateToActorColorBlueP(), UtcDaliAnimationAnimateToActorColorGreenP(), UtcDaliAnimationAnimateToActorColorRedP(), UtcDaliAnimationAnimateToActorParentOriginXP(), UtcDaliAnimationAnimateToActorParentOriginYP(), UtcDaliAnimationAnimateToActorParentOriginZP(), UtcDaliAnimationAnimateToActorPositionXP(), UtcDaliAnimationAnimateToActorPositionYP(), UtcDaliAnimationAnimateToActorPositionZP(), UtcDaliAnimationAnimateToActorScaleXP(), UtcDaliAnimationAnimateToActorScaleYP(), UtcDaliAnimationAnimateToActorScaleZP(), UtcDaliAnimationAnimateToActorSizeDepthP(), UtcDaliAnimationAnimateToActorSizeHeightP(), UtcDaliAnimationAnimateToActorSizeWidthP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationExtendDurationP(), UtcDaliBubbleEmitterEmitBubble(), UtcDaliBuilderCustomPropertyP(), UtcDaliCameraActorCheckLookAtAndFreeLookViews01(), UtcDaliCameraActorCheckLookAtAndFreeLookViews02(), UtcDaliCameraActorCheckLookAtAndFreeLookViews03(), UtcDaliCameraActorDefaultProperties(), UtcDaliCameraActorGetAspectRatioP(), UtcDaliCameraActorGetFarClippingPlaneP(), UtcDaliCameraActorGetFieldOfViewP(), UtcDaliCameraActorGetInvertYAxisP(), UtcDaliCameraActorGetNearClippingPlaneP(), UtcDaliCameraActorGetProjectionModeP(), UtcDaliCameraActorGetTargetPositionP(), UtcDaliCameraActorModelView(), UtcDaliCameraActorReadProjectionMatrix(), UtcDaliCameraActorSetCameraOffStage(), UtcDaliCameraActorSetCameraOnStage(), UtcDaliCameraActorSetFieldOfViewN(), UtcDaliCameraActorSetFieldOfViewP(), UtcDaliCameraActorSetGetTypeP(), UtcDaliCameraActorSetOrthographicProjectionP1(), UtcDaliCameraActorSetOrthographicProjectionP2(), UtcDaliCameraActorSetOrthographicProjectionP3(), UtcDaliCameraActorSetPerspectiveProjectionP(), UtcDaliConfirmationPopupDynamicSignalGenerationP(), UtcDaliControlBackgroundColor(), UtcDaliControlBackgroundImage(), UtcDaliControlBackgroundProperties(), UtcDaliControlKeyProperties(), UtcDaliControlRendererSetGetDepthIndex(), UtcDaliCreateBouncingEffect(), UtcDaliCubeTransitionEffectSetCurrentImage(), UtcDaliCubeTransitionEffectSetTargetImage(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryConstraint(), UtcDaliGeometryPropertyRequiresDepthTest(), UtcDaliHandleCustomProperty(), UtcDaliHandleGetProperty(), UtcDaliHandleGetPropertyType(), UtcDaliHandleNonAnimtableCompositeProperties(), UtcDaliHandleNonAnimtableProperties(), UtcDaliHandleRegisterProperty(), UtcDaliHandleSetProperty01(), UtcDaliHandleWeightNew(), UtcDaliImageActorDefaultProperties(), UtcDaliImageActorImageProperty(), UtcDaliImageViewResourceUrlP(), UtcDaliImageViewSetGetProperty02(), UtcDaliImageViewSetGetProperty03(), UtcDaliImageViewSetImageN(), UtcDaliImageViewSetImageOffstageN(), UtcDaliImageViewSetImageOnstageN(), UtcDaliImageViewSetImageTypeChangesP(), UtcDaliItemViewSetGetProperty(), UtcDaliLayerDefaultProperties(), UtcDaliLayerSetDepthTestDisabled(), UtcDaliMagnifierFrameVisibility(), UtcDaliMagnifierMagnificationFactor(), UtcDaliMagnifierSourcePosition(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialConstraint(), UtcDaliModelViewPropertyNames(), UtcDaliPageTurnLanscapeViewSignals(), UtcDaliPageTurnPortraitViewSignals(), UtcDaliPageTurnViewSetGetProperty(), UtcDaliPopupPropertyAnimationMode(), UtcDaliPopupPropertyAutoHide(), UtcDaliPopupPropertyBackgroundImage(), UtcDaliPopupPropertyBacking(), UtcDaliPopupPropertyContent(), UtcDaliPopupPropertyContextualMode(), UtcDaliPopupPropertyCustomAnimation(), UtcDaliPopupPropertyFooter(), UtcDaliPopupPropertyTail(), UtcDaliPopupPropertyTitle(), UtcDaliPopupPropertyTouchTransparent(), UtcDaliPopupSetPropertyP(), UtcDaliPopupSetTitleP(), UtcDaliPropertyRegistrationInvalidGetAndSet(), UtcDaliPushButtonProperties(), UtcDaliPushButtonPropertySetIconAlignment(), UtcDaliPushButtonPropertySetIconPadding(), UtcDaliPushButtonPropertySetLabelPadding(), UtcDaliRadioButtonSelectedProperty(), UtcDaliRelayoutProperties_DimensionDependency(), UtcDaliRelayoutProperties_MinimumMaximumSize(), UtcDaliRelayoutProperties_Padding(), UtcDaliRelayoutProperties_ResizePolicies(), UtcDaliRelayoutProperties_SizeModeFactor(), UtcDaliRelayoutProperties_SizeScalePolicy(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererConstraint01(), UtcDaliRendererFactoryGetBorderRenderer1(), UtcDaliRendererFactoryGetBorderRenderer2(), UtcDaliRendererGetBlendColor(), UtcDaliRendererGetBlendMode(), UtcDaliRendererPreMultipledAlpha(), UtcDaliRendererSetGetDepthIndex(), UtcDaliRendererSetGetFaceCullingMode(), UtcDaliScrollViewSetGetProperty(), UtcDaliShaderAnimatedProperty01(), UtcDaliShaderConstraint01(), UtcDaliShaderProgramProperty(), UtcDaliSuperBlurViewGetBlurStrengthPropertyIndex(), UtcDaliTableViewSetGetProperty(), utcDaliTextEditorEvent01(), UtcDaliTextEditorSetPropertyP(), utcDaliTextFieldEvent01(), UtcDaliTextFieldSetPropertyP(), UtcDaliToolkitScrollBarAssignmentOperatorP(), UtcDaliToolkitScrollBarCopyConstructorP(), UtcDaliToolkitScrollViewAssignmentOperatorP(), UtcDaliToolkitScrollViewCopyConstructorP(), UtcDaliToolkitScrollViewOvershoot(), UtcDaliToolkitScrollViewSetMaxOvershootP(), UtcDaliToolkitTextEditorAssignmentOperatorP(), UtcDaliToolkitTextEditorCopyConstructorP(), UtcDaliToolkitTextFieldAssignmentOperatorP(), UtcDaliToolkitTextFieldCopyConstructorP(), UtcDaliToolkitTextLabelAssignmentOperatorP(), UtcDaliToolkitTextLabelCopyConstructorP(), UtcDaliToolkitTextLabelLanguagesP(), UtcDaliToolkitTextLabelSetPropertyP(), UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP(), UtcDaliTypeRegistryPropertyRegistrationP(), and UtcPathConstrainerApplyRange().

Here is the call graph for this function:

template<typename T >
T Dali::Handle::GetProperty ( Property::Index  index) const
inline

Convenience function for obtaining a property of a known type.

.0

Parameters
[in]indexThe index of the property.
Returns
The property value.
Precondition
The property types match i.e. PropertyTypes::Get<T>() is equal to GetPropertyType(index).

Definition at line 297 of file handle.h.

References anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GetProperty(), and Dali::Property::Value().

Here is the call graph for this function:

unsigned int Dali::Handle::GetPropertyCount ( ) const
Property::Index Dali::Handle::GetPropertyIndex ( const std::string &  name) const

Query the index of a property.

Returns the first property index that matches the given name exactly.

.0

Parameters
[in]nameThe name of the property.
Returns
The index of the property, or Property::INVALID_INDEX if no property exists with the given name.

Definition at line 88 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::GetPropertyIndex().

Referenced by Dali::Toolkit::Internal::BlurTwoPassFilter::BlurTwoPassFilter(), Dali::Toolkit::Internal::TextSelectionToolbar::ConfigureScrollview(), Dali::Toolkit::Internal::CreateAnimation(), Dali::Toolkit::CreateSoftButtonEffect(), Dali::Toolkit::Internal::AccessibilityManager::DoSetCurrentFocusActor(), anonymous_namespace{builder-signals.cpp}::DelayedConstrainerApply::GetApplyParameters(), Dali::Internal::ShaderEffect::GetPropertyIndex(), Dali::Toolkit::Internal::anonymous_namespace{accessibility-manager-impl.cpp}::IsActorFocusableFunction(), Dali::Toolkit::Internal::KeyboardFocusManager::IsFocusGroup(), Dali::Toolkit::Internal::AccessibilityManager::IsFocusGroup(), Dali::Toolkit::Internal::Button::ModifyLabel(), Dali::Scripting::NewActor(), Dali::Scripting::NewShaderEffect(), Dali::Toolkit::Internal::TableView::OnControlChildAdd(), anonymous_namespace{builder-signals.cpp}::PropertySetAction::operator()(), Dali::Toolkit::Internal::PageTurnApplyInternalConstraint(), anonymous_namespace{automation.cpp}::SetProperties(), Dali::Toolkit::Internal::Builder::SetProperties(), Dali::Toolkit::Internal::SetupPropertyNotification(), anonymous_namespace{utc-Dali-ImageView.cpp}::TestImage(), anonymous_namespace{utc-Dali-ImageView.cpp}::TestUrl(), UtcDaliAccessibilityManagerMoveFocusBackward(), UtcDaliAccessibilityManagerMoveFocusForward(), UtcDaliAccessibilityManagerSetAndGetCurrentFocusActor(), UtcDaliActorProperties(), UtcDaliBloomViewPropertyNames(), UtcDaliBubbleEmitterEmitBubble(), UtcDaliBuilderCustomPropertyP(), UtcDaliButtonSetProperty(), UtcDaliCameraActorDefaultProperties(), UtcDaliCameraActorReadProjectionMatrix(), UtcDaliCreateBouncingEffect(), UtcDaliCreateDissolveEffect(), UtcDaliCreateMotionBlurEffect(), UtcDaliCreateMotionStretchEffect(), UtcDaliCubeTransitionEffectSetCurrentImage(), UtcDaliCubeTransitionEffectSetTargetImage(), UtcDaliGaussianBlurViewPropertyNames(), UtcDaliHandleGetPropertyIndex(), UtcDaliImageActorDefaultProperties(), UtcDaliImageViewSetGetProperty01(), UtcDaliImageViewSetImageN(), UtcDaliImageViewSetImageOffstageN(), UtcDaliImageViewSetImageOnstageN(), UtcDaliImageViewSetImageTypeChangesP(), UtcDaliItemViewSetGetProperty(), UtcDaliLayerDefaultProperties(), UtcDaliPageTurnViewSetGetProperty(), UtcDaliPopupSetPropertyP(), UtcDaliScrollViewSetGetProperty(), UtcDaliShaderEffectFromProperties2N(), UtcDaliShaderEffectFromPropertiesN(), UtcDaliShaderEffectFromPropertiesP(), UtcDaliShaderEffectMethodApplyConstraint(), UtcDaliShaderEffectMethodApplyConstraintFromActor(), UtcDaliShaderEffectMethodApplyConstraintFromActor2(), UtcDaliShaderEffectMethodApplyConstraintOffStage(), UtcDaliShaderEffectMethodRemoveConstraints(), UtcDaliShaderEffectMethodRemoveConstraints2(), UtcDaliShadowViewPropertyNames(), UtcDaliTableViewSetGetProperty(), UtcDaliTextEditorGetPropertyP(), UtcDaliTextFieldGetPropertyP(), UtcDaliToolkitScrollBarPanFinishedSignalN(), UtcDaliToolkitScrollBarPanFinishedSignalP(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetIndicatorHeightPolicyP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliToolkitScrollBarSetScrollPropertySourceP(), UtcDaliToolkitTextLabelGetPropertyP(), UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP(), and UtcDaliTypeRegistryPropertyRegistrationP().

Here is the call graph for this function:

void Dali::Handle::GetPropertyIndices ( Property::IndexContainer indices) const
std::string Dali::Handle::GetPropertyName ( Property::Index  index) const
Property::Type Dali::Handle::GetPropertyType ( Property::Index  index) const
bool Dali::Handle::IsPropertyAConstraintInput ( Property::Index  index) const

Query whether a property can be used as in input to a constraint.

.0

Parameters
[in]indexThe index of the property.
Returns
True if the property can be used as a constraint input.

Definition at line 103 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::IsPropertyAConstraintInput().

Referenced by Dali::Internal::ShaderEffect::IsPropertyAConstraintInput(), and UtcDaliHandleIsPropertyAConstraintInput().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Handle::IsPropertyAnimatable ( Property::Index  index) const

Query whether a writable property can be the target of an animation or constraint.

.0

Parameters
[in]indexThe index of the property.
Returns
True if the property is animatable.

Definition at line 98 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::IsPropertyAnimatable().

Referenced by Dali::Internal::ShaderEffect::IsPropertyAnimatable(), UtcDaliCameraActorDefaultProperties(), UtcDaliHandleGetPropertyType(), UtcDaliHandleIsPropertyAnimatable(), UtcDaliHandleNonAnimtableProperties(), UtcDaliImageActorDefaultProperties(), UtcDaliLayerDefaultProperties(), and UtcDaliPropertyRegistrationPropertyAnimatable().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Handle::IsPropertyWritable ( Property::Index  index) const

Query whether a property can be set using SetProperty().

.0

Parameters
[in]indexThe index of the property.
Returns
True if the property is writable.
Precondition
Property::INVALID_INDEX < index.

Definition at line 93 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::IsPropertyWritable().

Referenced by Dali::Internal::ShaderEffect::IsPropertyWritable(), UtcDaliCameraActorDefaultProperties(), UtcDaliHandleIsPropertyWritable(), UtcDaliHandleNonAnimtableProperties(), UtcDaliHandleSetProperty02(), UtcDaliImageActorDefaultProperties(), UtcDaliLayerDefaultProperties(), and UtcDaliPropertyRegistrationPropertyWritable().

Here is the call graph for this function:

Here is the caller graph for this function:

Handle Dali::Handle::New ( )
static

Create a new object.

.0

Returns
A handle to a newly allocated object.

Definition at line 43 of file handle.cpp.

References Handle(), and Dali::Internal::CustomObject::New().

Referenced by Dali::Toolkit::Internal::AtlasGlyphManager::Add(), Dali::Toolkit::Internal::ImageAtlasManager::Add(), Dali::Toolkit::Internal::AtlasGlyphManager::AtlasGlyphManager(), Dali::Toolkit::Internal::BlurTwoPassFilter::BlurTwoPassFilter(), Dali::Toolkit::CreateBendyEffect(), Dali::Toolkit::CreateBlindEffect(), Dali::Toolkit::CreateBouncingEffect(), Dali::Toolkit::Internal::CreateBouncingEffectActor(), Dali::Toolkit::Internal::CreateBubbleShader(), Dali::Toolkit::CreateCarouselEffect(), Dali::Toolkit::Internal::CreateColorAdjuster(), Dali::Toolkit::CreateDisplacementEffect(), Dali::Toolkit::CreateDissolveLocalEffect(), Dali::Toolkit::CreateIrisEffect(), Dali::Toolkit::CreateMaskEffect(), Dali::CreateMaterial(), Dali::Toolkit::Internal::Model3dView::CreateMaterial(), Dali::Toolkit::Text::AtlasRenderer::Impl::CreateMeshActor(), CreateMeshActorToStage(), Dali::Toolkit::CreateMirrorEffect(), Dali::Toolkit::Internal::ImageRenderer::CreateNativeImageRenderer(), Dali::Toolkit::CreateOverlayEffect(), Dali::Toolkit::Internal::CreatePageTurnBookSpineEffect(), Dali::Toolkit::Internal::CreatePageTurnEffect(), Dali::Toolkit::Internal::ImageRenderer::CreateRenderer(), Dali::Toolkit::CreateRipple2DEffect(), Dali::Toolkit::CreateRippleEffect(), Dali::Toolkit::Internal::NPatchRenderer::CreateShader(), Dali::Toolkit::CreateShearEffect(), Dali::Toolkit::CreateSoftButtonEffect(), Dali::Toolkit::CreateSpotEffect(), Dali::Toolkit::CreateSquareDissolveEffect(), Dali::Toolkit::CreateSwirlEffect(), Dali::Toolkit::Internal::EmbossFilter::Enable(), Dali::Toolkit::Internal::BlurTwoPassFilter::Enable(), Dali::Toolkit::Internal::SpreadFilter::Enable(), Dali::Toolkit::Internal::BorderRenderer::GetBorderShader(), Dali::Toolkit::Internal::ImageRenderer::GetImageShader(), Dali::Toolkit::Text::Decorator::Impl::Impl(), Dali::Toolkit::Internal::DebugRenderer::InitializeRenderer(), Dali::Toolkit::Internal::ColorRenderer::InitializeRenderer(), Dali::Toolkit::Internal::BorderRenderer::InitializeRenderer(), Dali::Toolkit::Internal::NPatchRenderer::InitializeRenderer(), Dali::Toolkit::Internal::GradientRenderer::InitializeRenderer(), Dali::Toolkit::Internal::ImageRenderer::InitializeRenderer(), Dali::Toolkit::Internal::BubbleActor::MakeRenderable(), Dali::WeightObject::New(), Dali::Toolkit::Internal::Model3dView::OnInitialize(), Dali::Toolkit::Internal::BubbleEmitter::OnInitialize(), Dali::Toolkit::Internal::CubeTransitionEffect::OnStageConnection(), Dali::Toolkit::Internal::CubeTransitionEffect::StartTransition(), Dali::Toolkit::Text::Decorator::Impl::UpdateHighlight(), UtcDaliActorAddRendererOnStage(), UtcDaliActorAddRendererP(), UtcDaliActorRemoveRendererP(), UtcDaliAtlasDownCast(), UtcDaliBubbleEmitterDownCast02(), UtcDaliCameraActorReadProjectionMatrix(), UtcDaliGeometryAddVertexBuffer(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryAnimatedProperty02(), UtcDaliGeometryConstraint(), UtcDaliGeometryConstraint02(), UtcDaliGeometryDownCast02(), UtcDaliGeometryPropertyRequiresDepthTest(), UtcDaliGeometryRemoveVertexBuffer(), UtcDaliGeometrySetGetGeometryType01(), UtcDaliGeometrySetGetGeometryType02(), UtcDaliGeometrySetGetRequireDepthTesting(), UtcDaliGeometrySetIndexBuffer(), UtcDaliHandleCustomProperty(), UtcDaliImageActorGetShaderEffect(), UtcDaliImageActorRemoveShaderEffect01(), UtcDaliImageActorSetShaderEffect(), UtcDaliImageActorSetSize01(), UtcDaliMaterialAddTexture01(), UtcDaliMaterialAddTexture02(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialAnimatedProperty02(), UtcDaliMaterialAssignmentOperator(), UtcDaliMaterialConstraint(), UtcDaliMaterialConstraint02(), UtcDaliMaterialCopyConstructor(), UtcDaliMaterialDownCast01(), UtcDaliMaterialDownCast02(), UtcDaliMaterialGetNumberOfTextures(), UtcDaliMaterialGetShader(), UtcDaliMaterialNew01(), UtcDaliMaterialSetSampler(), UtcDaliMaterialSetShader(), UtcDaliMaterialSetTextureUniformName01(), UtcDaliMaterialSetTextureUniformName02(), UtcDaliObjectRegistrySignalShaderEffectCreated(), UtcDaliPropertyBufferDownCast02(), UtcDaliPropertyBufferSetData01(), UtcDaliPropertyBufferSetData02(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererAnimatedProperty02(), UtcDaliRendererAssignmentOperator(), UtcDaliRendererBlendingOptions01(), UtcDaliRendererBlendingOptions02(), UtcDaliRendererBlendingOptions03(), UtcDaliRendererBlendingOptions04(), UtcDaliRendererConstraint01(), UtcDaliRendererConstraint02(), UtcDaliRendererCopyConstructor(), UtcDaliRendererDownCast01(), UtcDaliRendererDownCast02(), UtcDaliRendererGetBlendColor(), UtcDaliRendererGetBlendMode(), UtcDaliRendererNew01(), UtcDaliRendererPreMultipledAlpha(), UtcDaliRendererRenderOrder2DLayer(), UtcDaliRendererRenderOrder2DLayerMultipleRenderers(), UtcDaliRendererRenderOrder2DLayerOverlay(), UtcDaliRendererSetBlendColor(), UtcDaliRendererSetBlendMode01(), UtcDaliRendererSetBlendMode02(), UtcDaliRendererSetBlendMode03(), UtcDaliRendererSetBlendMode04(), UtcDaliRendererSetBlendMode04b(), UtcDaliRendererSetBlendMode04c(), UtcDaliRendererSetBlendMode05(), UtcDaliRendererSetBlendMode06(), UtcDaliRendererSetBlendMode07(), UtcDaliRendererSetGetDepthIndex(), UtcDaliRendererSetGetFaceCullingMode(), UtcDaliRendererSetGetGeometry(), UtcDaliRendererSetGetMaterial(), UtcDaliRendererUniformMapMultipleUniforms01(), UtcDaliRendererUniformMapMultipleUniforms02(), UtcDaliRendererUniformMapPrecendence01(), UtcDaliRendererUniformMapPrecendence02(), UtcDaliRendererUniformMapPrecendence03(), UtcDaliRendererUniformMapPrecendence04(), UtcDaliRendererUniformMapPrecendence05(), UtcDaliRenderTaskContinous05(), UtcDaliRenderTaskOnce02(), UtcDaliRenderTaskOnce04(), UtcDaliRenderTaskOnceNoSync02(), UtcDaliRenderTaskOnceNoSync04(), UtcDaliSetShaderEffectRecursively(), UtcDaliShaderAnimatedProperty01(), UtcDaliShaderAnimatedProperty02(), UtcDaliShaderAssignmentOperator(), UtcDaliShaderBinaries(), UtcDaliShaderConstraint01(), UtcDaliShaderConstraint02(), UtcDaliShaderDownCast01(), UtcDaliShaderDownCast02(), UtcDaliShaderEffectMethodApplyConstraint(), UtcDaliShaderEffectMethodApplyConstraintFromActor(), UtcDaliShaderEffectMethodApplyConstraintFromActor2(), UtcDaliShaderEffectMethodApplyConstraintOffStage(), UtcDaliShaderEffectMethodDelete01(), UtcDaliShaderEffectMethodDownCast(), UtcDaliShaderEffectMethodNew01(), UtcDaliShaderEffectMethodRemoveConstraints(), UtcDaliShaderEffectMethodRemoveConstraints2(), UtcDaliShaderEffectMethodSetEffectImage(), UtcDaliShaderEffectMethodSetEffectImageAndDelete(), UtcDaliShaderEffectMethodSetUniformFloat(), UtcDaliShaderEffectMethodSetUniformMatrix(), UtcDaliShaderEffectMethodSetUniformMatrix3(), UtcDaliShaderEffectMethodSetUniformVector2(), UtcDaliShaderEffectMethodSetUniformVector3(), UtcDaliShaderEffectMethodSetUniformVector4(), UtcDaliShaderEffectMethodSetUniformViewport(), UtcDaliShaderEffectPropertyIndices(), UtcDaliShaderMethodNew01(), UtcDaliShaderProgramProperty(), UtcSamplerSetFilterMode(), and UtcSamplerSetWrapMode().

Here is the call graph for this function:

Handle & Dali::Handle::operator= ( const Handle rhs)

This assignment operator is required for (smart) pointer semantics.

.0

Parameters
[in]rhsA reference to the copied handle
Returns
A reference to this

Definition at line 57 of file handle.cpp.

References Dali::BaseHandle::operator=().

Here is the call graph for this function:

Property::Index Dali::Handle::RegisterProperty ( const std::string &  name,
const Property::Value propertyValue 
)

Register a new animatable property.

.0

Parameters
[in]nameThe name of the property.
[in]propertyValueThe new value of the property.
Returns
The index of the property or Property::INVALID_INDEX if registration failed
Precondition
The object supports dynamic properties i.e. Supports(Handle::DYNAMIC_PROPERTIES) returns true. Property names are expected to be unique, but this is not enforced. Property indices are unique to each registered custom property in a given object. returns Property::INVALID_INDEX if registration failed. This can happen if you try to register animatable property on an object that does not have scene graph object.
Note
Only the following types can be animated:
If a property with the desired name already exists, then the value given is just set.

Definition at line 118 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::RegisterProperty().

Referenced by Dali::Toolkit::Text::AtlasRenderer::Impl::AddGlyphs(), Dali::Toolkit::Internal::NPatchRenderer::ApplyImageToSampler(), Dali::Toolkit::Internal::CreateBouncingEffectActor(), Dali::Toolkit::Text::AtlasRenderer::Impl::CreateMeshActor(), Dali::Toolkit::Internal::ImageRenderer::CreateNativeImageRenderer(), Dali::Toolkit::Internal::ImageRenderer::CreateRenderer(), Dali::Toolkit::Internal::anonymous_namespace{cube-transition-effect-impl.cpp}::CreateTile(), Dali::Toolkit::DissolveEffectSetCentralLine(), TestPropertyTypes::Execute(), Dali::Toolkit::Internal::ImageRenderer::GetImageShader(), Dali::Toolkit::Internal::CubeTransitionEffect::Initialize(), Dali::Toolkit::Internal::BubbleActor::MakeRenderable(), Dali::WeightObject::New(), Dali::Toolkit::Internal::SuperBlurView::OnInitialize(), Dali::Toolkit::Internal::Model3dView::OnStageConnection(), Dali::Toolkit::Internal::SuperBlurView::OnStageConnection(), Dali::Toolkit::Internal::CheckBoxButton::OnTransitionIn(), Dali::Toolkit::Internal::CheckBoxButton::PrepareForTranstionIn(), Dali::Toolkit::Internal::CheckBoxButton::PrepareForTranstionOut(), Dali::Internal::ShaderEffect::RegisterProperty(), Dali::Toolkit::Internal::anonymous_namespace{npatch-renderer.cpp}::RegisterStretchProperties(), Dali::Toolkit::Internal::KeyboardFocusManager::SetAsFocusGroup(), Dali::Toolkit::Internal::AccessibilityManager::SetFocusable(), Dali::Toolkit::Internal::AccessibilityManager::SetFocusGroup(), Dali::Toolkit::Internal::AccessibilityManager::SetFocusOrder(), Dali::Toolkit::SetMotionBlurProperties(), Dali::Toolkit::SetMotionStretchProperties(), Dali::Toolkit::Internal::CheckBoxButton::SetTickUVEffect(), Dali::Internal::ShaderEffect::SetUniform(), Dali::Toolkit::Internal::SetupActor(), Dali::Toolkit::Internal::Model3dView::UpdateShaderUniforms(), Dali::Toolkit::Internal::Model3dView::UpdateView(), UtcDaliAlphaFunctionBezier(), UtcDaliAnimationAnimateByBooleanAlphaFunctionP(), UtcDaliAnimationAnimateByBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByBooleanP(), UtcDaliAnimationAnimateByBooleanTimePeriodP(), UtcDaliAnimationAnimateByFloatAlphaFunctionP(), UtcDaliAnimationAnimateByFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByFloatP(), UtcDaliAnimationAnimateByFloatTimePeriodP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionP(), UtcDaliAnimationAnimateByIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByIntegerP(), UtcDaliAnimationAnimateByIntegerTimePeriodP(), UtcDaliAnimationAnimateByVector2AlphaFunctionP(), UtcDaliAnimationAnimateByVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector2P(), UtcDaliAnimationAnimateByVector2TimePeriodP(), UtcDaliAnimationAnimateByVector3AlphaFunctionP(), UtcDaliAnimationAnimateByVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector3P(), UtcDaliAnimationAnimateByVector3TimePeriodP(), UtcDaliAnimationAnimateByVector4AlphaFunctionP(), UtcDaliAnimationAnimateByVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateByVector4P(), UtcDaliAnimationAnimateByVector4TimePeriodP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionP(), UtcDaliAnimationAnimateToBooleanAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToBooleanP(), UtcDaliAnimationAnimateToBooleanTimePeriodP(), UtcDaliAnimationAnimateToFloatAlphaFunctionP(), UtcDaliAnimationAnimateToFloatAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToFloatP(), UtcDaliAnimationAnimateToFloatTimePeriodP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionP(), UtcDaliAnimationAnimateToIntegerAlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToIntegerP(), UtcDaliAnimationAnimateToIntegerTimePeriodP(), UtcDaliAnimationAnimateToVector2AlphaFunctionP(), UtcDaliAnimationAnimateToVector2AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector2P(), UtcDaliAnimationAnimateToVector2TimePeriodP(), UtcDaliAnimationAnimateToVector3AlphaFunctionP(), UtcDaliAnimationAnimateToVector3AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector3ComponentP(), UtcDaliAnimationAnimateToVector3P(), UtcDaliAnimationAnimateToVector3TimePeriodP(), UtcDaliAnimationAnimateToVector4AlphaFunctionP(), UtcDaliAnimationAnimateToVector4AlphaFunctionTimePeriodP(), UtcDaliAnimationAnimateToVector4P(), UtcDaliAnimationAnimateToVector4TimePeriodP(), UtcDaliAnimationCustomIntProperty(), UtcDaliAnimationExtendDurationP(), UtcDaliAnimationUpdateManagerP(), UtcDaliGeometryAnimatedProperty01(), UtcDaliGeometryAnimatedProperty02(), UtcDaliGeometryConstraint(), UtcDaliGeometryConstraint02(), UtcDaliHandleCustomProperty(), UtcDaliHandleGetPropertyCount(), UtcDaliHandleGetPropertyIndex(), UtcDaliHandleGetPropertyName(), UtcDaliHandleGetPropertyType(), UtcDaliHandleNonAnimtableCompositeProperties(), UtcDaliHandleNonAnimtableProperties(), UtcDaliHandleRegisterProperty(), UtcDaliHandleRegisterPropertyTypes(), UtcDaliMaterialAnimatedProperty01(), UtcDaliMaterialAnimatedProperty02(), UtcDaliMaterialConstraint(), UtcDaliMaterialConstraint02(), UtcDaliMaterialSetShader(), UtcDaliPanGestureNoPredictionNoSmoothing(), UtcDaliPanGestureNoPredictionSmoothing(), UtcDaliPanGesturePredictionNoSmoothing(), UtcDaliPanGesturePredictionSmoothing(), UtcDaliPanGestureSetProperties(), UtcDaliPanGestureSetPropertiesAlreadyPanning(), UtcDaliRendererAnimatedProperty01(), UtcDaliRendererAnimatedProperty02(), UtcDaliRendererConstraint01(), UtcDaliRendererConstraint02(), UtcDaliRendererSetGetGeometry(), UtcDaliRendererSetGetMaterial(), UtcDaliRendererUniformMapMultipleUniforms01(), UtcDaliRendererUniformMapMultipleUniforms02(), UtcDaliRendererUniformMapPrecendence01(), UtcDaliRendererUniformMapPrecendence02(), UtcDaliRendererUniformMapPrecendence03(), UtcDaliRendererUniformMapPrecendence04(), UtcDaliRendererUniformMapPrecendence05(), UtcDaliShaderAnimatedProperty01(), UtcDaliShaderAnimatedProperty02(), UtcDaliShaderConstraint01(), UtcDaliShaderConstraint02(), UtcDaliTableViewCustomProperties(), UtcDaliToolkitScrollBarPanFinishedSignalN(), UtcDaliToolkitScrollBarPanFinishedSignalP(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetIndicatorHeightPolicyP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliToolkitScrollBarSetScrollPropertySourceP(), UtcDaliTypeRegistryPropertyRegistrationP(), UtcLinearConstrainerApply(), UtcLinearConstrainerApplyRange(), UtcLinearConstrainerDestroy(), UtcLinearConstrainerRemove(), UtcPathConstrainerApply(), UtcPathConstrainerApplyRange(), UtcPathConstrainerDestroy(), and UtcPathConstrainerRemove().

Here is the call graph for this function:

Property::Index Dali::Handle::RegisterProperty ( const std::string &  name,
const Property::Value propertyValue,
Property::AccessMode  accessMode 
)

Register a new property.

Properties can be set as non animatable using property attributes. .0

Parameters
[in]nameThe name of the property.
[in]propertyValueThe new value of the property.
[in]accessModeThe property access mode (writable, animatable etc).
Returns
The index of the property
Precondition
The handle supports dynamic properties i.e. Supports(Handle::DYNAMIC_PROPERTIES) returns true.
name is unused i.e. GetPropertyIndex(name) returns PropertyIndex::INVALID.
Note
Only the following types can be animated:
If a property with the desired name already exists, then the value given is just set.

Definition at line 123 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::RegisterProperty().

Here is the call graph for this function:

void Dali::Handle::RemoveConstraints ( )
void Dali::Handle::RemoveConstraints ( unsigned int  tag)

Remove all the constraint from the Object with a matching tag.

.0

Parameters
[in]tagThe tag of the constraints which will be removed
Precondition
The Object has been initialized.

Definition at line 166 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::RemoveConstraints().

Here is the call graph for this function:

void Dali::Handle::RemovePropertyNotification ( Dali::PropertyNotification  propertyNotification)

Remove a property notification from this object.

.0

Parameters
[in]propertyNotificationThe propertyNotification to be removed.

Definition at line 151 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::RemovePropertyNotification().

Referenced by Dali::Toolkit::Internal::ScrollOvershootEffectRipple::Remove(), Dali::Internal::ShaderEffect::RemovePropertyNotification(), Dali::Toolkit::Internal::ScrollBar::SetScrollPositionIntervals(), Dali::Toolkit::Text::Decorator::Impl::SetupActiveLayerPropertyNotifications(), and Dali::Toolkit::Internal::ScrollOvershootEffectRipple::UpdatePropertyNotifications().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Handle::RemovePropertyNotifications ( )

Remove all property notifications from this object.

.0

Definition at line 156 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::RemovePropertyNotifications().

Referenced by Dali::Internal::ShaderEffect::RemovePropertyNotifications().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Handle::SetProperty ( Property::Index  index,
const Property::Value propertyValue 
)

Set the value of an existing property.

Property should be write-able. Setting a read-only property is a no-op. .0

Parameters
[in]indexThe index of the property.
[in]propertyValueThe new value of the property.
Precondition
The property types match i.e. propertyValue.GetType() is equal to GetPropertyType(index).

Definition at line 113 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::SetProperty().

Referenced by Dali::Toolkit::Internal::TextSelectionPopup::AddOption(), Dali::Toolkit::Internal::TextSelectionPopup::AddPopupOptionsToToolbar(), Dali::Toolkit::Internal::TextSelectionToolbar::ConfigureScrollview(), Dali::Toolkit::Internal::PushButton::ConfigureSizeNegotiation(), Dali::Toolkit::Internal::Popup::CreateBacking(), Dali::Toolkit::CreateDissolveLocalEffect(), Dali::Toolkit::Internal::Slider::CreateHandleValueDisplay(), Dali::Toolkit::Internal::Model3dView::CreateMaterial(), Dali::Toolkit::Text::AtlasRenderer::Impl::CreateMeshActor(), Dali::Toolkit::Internal::Slider::CreatePopupText(), Dali::Toolkit::Internal::anonymous_namespace{popup-impl.cpp}::CreateToast(), Dali::Toolkit::Internal::Slider::DisplayPopup(), Dali::Toolkit::Internal::Slider::DisplayValue(), Dali::Toolkit::Internal::ScrollView::FinishTransform(), Dali::Toolkit::Internal::Builder::GetLinearConstrainer(), Dali::Toolkit::Internal::Builder::GetPathConstrainer(), Dali::Toolkit::Internal::CubeTransitionEffect::Initialize(), Dali::Toolkit::Internal::Button::ModifyLabel(), Dali::Toolkit::TextLabel::New(), Dali::Toolkit::Model3dView::New(), Dali::Scripting::NewActor(), Dali::Scripting::NewShaderEffect(), Dali::Toolkit::Internal::ScrollView::OnGestureEx(), Dali::Toolkit::Internal::ItemView::OnItemsRemoved(), Dali::Toolkit::Internal::PushButton::OnLabelSet(), Dali::Toolkit::Internal::ScrollBar::OnPanGestureProcessTick(), Dali::Toolkit::Internal::CubeTransitionEffect::OnRelayout(), Dali::Toolkit::Internal::ScrollView::OnScrollAnimationFinished(), Dali::Toolkit::Internal::CubeTransitionEffect::OnStageConnection(), Dali::Toolkit::Internal::ScrollView::OnTouchDownTimeout(), PropertyController::OnTouched(), Dali::Toolkit::Internal::ItemView::OnTouchEvent(), anonymous_namespace{builder-signals.cpp}::PropertySetAction::operator()(), Dali::Toolkit::Internal::ScrollView::PreAnimatedScrollSetup(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::Reset(), Dali::Toolkit::Internal::ScrollViewPagePathEffect::ScrollViewPagePathEffect(), Dali::Toolkit::Internal::SuperBlurView::SetBlurStrength(), Dali::Toolkit::Internal::TextSelectionPopup::SetDimensionToCustomise(), Dali::Toolkit::Internal::BubbleActor::SetDynamicScale(), Dali::Toolkit::Internal::AccessibilityManager::SetFocusOrder(), Dali::Toolkit::Internal::BubbleActor::SetGravity(), Dali::Toolkit::Internal::BubbleActor::SetMovementArea(), Dali::Toolkit::Internal::ScrollOvershootEffectRipple::SetOvershoot(), Dali::Toolkit::Internal::BubbleActor::SetPercentage(), Dali::Toolkit::Internal::Builder::SetProperties(), anonymous_namespace{automation.cpp}::SetProperty(), Dali::Internal::ShaderEffect::SetProperty(), SetPropertyMapRetrieved(), Dali::Toolkit::Internal::BubbleActor::SetStartAndEndPosition(), Dali::Toolkit::Internal::CheckBoxButton::SetTickUVEffect(), anonymous_namespace{utc-Dali-Constrainer.cpp}::SetupLinearConstrainerNonUniformProgress(), anonymous_namespace{utc-Dali-Constrainer.cpp}::SetupLinearConstrainerUniformProgress(), anonymous_namespace{utc-Dali-Constrainer.cpp}::SetupPathConstrainer(), Dali::Toolkit::Internal::ScrollView::SetWrapMode(), Dali::Toolkit::Internal::CubeTransitionEffect::StartTransition(), Dali::Toolkit::Internal::Popup::StartTransitionAnimation(), UtcDaliAccessibilityManagerMoveFocusBackward(), UtcDaliAccessibilityManagerMoveFocusForward(), UtcDaliAccessibilityManagerSetAndGetCurrentFocusActor(), UtcDaliAnimationSetLoopCountP4(), UtcDaliButtonSetProperty(), UtcDaliCameraActorDefaultProperties(), UtcDaliCameraActorGetCamera(), UtcDaliCameraActorSetFarClippingPlaneP(), UtcDaliCameraActorSetInvertYAxisP(), UtcDaliCameraActorSetNearClippingPlaneP(), UtcDaliCameraActorSetOrthographicProjectionP3(), UtcDaliCameraActorSetProjectionModeP(), UtcDaliCameraActorSetTargetPositionP(), UtcDaliConfirmationPopupDynamicSignalGenerationN(), UtcDaliConfirmationPopupDynamicSignalGenerationP(), UtcDaliConfirmationPopupTypeRegistryCreation(), UtcDaliControlBackgroundProperties(), UtcDaliControlKeyProperties(), UtcDaliGeometryPropertyRequiresDepthTest(), UtcDaliHandleCustomProperty(), UtcDaliHandleNonAnimtableProperties(), UtcDaliHandleSetProperty01(), UtcDaliHandleSetProperty02(), UtcDaliImageActorDefaultProperties(), UtcDaliImageViewResourceUrlP(), UtcDaliImageViewSetGetProperty01(), UtcDaliImageViewSetGetProperty02(), UtcDaliImageViewSetGetProperty03(), UtcDaliImageViewSetImageBufferImageWithCustomShaderToNativeImage(), UtcDaliImageViewSetImageNativeImageWithCustomShader(), UtcDaliItemViewSetGetProperty(), UtcDaliLayerDefaultProperties(), UtcDaliMagnifierFrameVisibility(), UtcDaliMagnifierMagnificationFactor(), UtcDaliMagnifierSourcePosition(), UtcDaliModelViewPropertyNames(), UtcDaliPageTurnPortraitViewSignals(), UtcDaliPageTurnViewSetGetProperty(), UtcDaliPopupDisplayStateSignal(), UtcDaliPopupOnControlChildAdd(), UtcDaliPopupOnKeyEvent(), UtcDaliPopupOnTouchedOutsideSignal(), UtcDaliPopupPropertyAnimationMode(), UtcDaliPopupPropertyAutoHide(), UtcDaliPopupPropertyBackgroundImage(), UtcDaliPopupPropertyBacking(), UtcDaliPopupPropertyContent(), UtcDaliPopupPropertyContextualMode(), UtcDaliPopupPropertyCustomAnimation(), UtcDaliPopupPropertyFooter(), UtcDaliPopupPropertyTail(), UtcDaliPopupPropertyTailVisibility(), UtcDaliPopupPropertyTitle(), UtcDaliPopupPropertyTouchTransparent(), UtcDaliPopupSetContentP(), UtcDaliPopupSetControlFooterMultiple(), UtcDaliPopupSetFooterP(), UtcDaliPopupSetPropertyP(), UtcDaliPopupSetStateN(), UtcDaliPopupSetStateP(), UtcDaliPopupSetTitleP(), UtcDaliPopupTypeRegistryCreation(), UtcDaliPopupTypeToast(), UtcDaliPropertyRegistrationInvalidGetAndSet(), UtcDaliPushButtonAlignmentLayout(), UtcDaliPushButtonPaddingLayout(), UtcDaliPushButtonProperties(), UtcDaliPushButtonPropertySetIconAlignment(), UtcDaliPushButtonPropertySetIconPadding(), UtcDaliPushButtonPropertySetLabelPadding(), UtcDaliRadioButtonSelectedProperty(), UtcDaliRelayoutProperties_DimensionDependency(), UtcDaliRelayoutProperties_MinimumMaximumSize(), UtcDaliRelayoutProperties_Padding(), UtcDaliRelayoutProperties_ResizePolicies(), UtcDaliRelayoutProperties_SizeModeFactor(), UtcDaliRelayoutProperties_SizeScalePolicy(), UtcDaliRendererGetBlendColor(), UtcDaliRendererGetBlendMode(), UtcDaliRendererPreMultipledAlpha(), UtcDaliRendererRenderOrder2DLayerMultipleRenderers(), UtcDaliRendererSetBlendColor(), UtcDaliRendererSetBlendMode01(), UtcDaliRendererSetBlendMode02(), UtcDaliRendererSetBlendMode03(), UtcDaliRendererSetBlendMode04(), UtcDaliRendererSetBlendMode04b(), UtcDaliRendererSetBlendMode04c(), UtcDaliRendererSetBlendMode05(), UtcDaliRendererSetBlendMode06(), UtcDaliRendererSetBlendMode07(), UtcDaliRendererSetGetDepthIndex(), UtcDaliRendererSetGetFaceCullingMode(), UtcDaliRenderTaskSetClearColorP(), UtcDaliRenderTaskSetViewportPosition(), UtcDaliRenderTaskSetViewportSize(), UtcDaliScrollViewPagePathEffectTest(), UtcDaliScrollViewSetGetProperty(), UtcDaliShaderEffectFromProperties2N(), UtcDaliShaderEffectFromPropertiesN(), UtcDaliShaderEffectFromPropertiesP(), UtcDaliShaderProgramProperty(), UtcDaliSliderSignals(), UtcDaliTableViewSetGetProperty(), utcDaliTextEditorAtlasRenderP(), utcDaliTextEditorEvent02(), utcDaliTextEditorEvent03(), UtcDaliTextEditorSetPropertyP(), utcDaliTextEditorTextChangedP(), utcDaliTextFieldAtlasRenderP(), utcDaliTextFieldEvent02(), utcDaliTextFieldEvent03(), utcDaliTextFieldMaxCharactersReachedN(), utcDaliTextFieldMaxCharactersReachedP(), UtcDaliTextFieldSetPropertyP(), utcDaliTextFieldTextChangedN(), utcDaliTextFieldTextChangedP(), UtcDaliToolkitScrollBarAssignmentOperatorP(), UtcDaliToolkitScrollBarCopyConstructorP(), UtcDaliToolkitScrollBarSetScrollPropertySourceP(), UtcDaliToolkitScrollViewAssignmentOperatorP(), UtcDaliToolkitScrollViewCopyConstructorP(), UtcDaliToolkitTextEditorAssignmentOperatorP(), UtcDaliToolkitTextEditorCopyConstructorP(), UtcDaliToolkitTextFieldAssignmentOperatorP(), UtcDaliToolkitTextFieldCopyConstructorP(), UtcDaliToolkitTextLabelAssignmentOperatorP(), UtcDaliToolkitTextlabelAtlasRenderP(), UtcDaliToolkitTextLabelCopyConstructorP(), UtcDaliToolkitTextLabelLanguagesP(), UtcDaliToolkitTextLabelSetPropertyP(), UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationP(), UtcDaliTypeRegistryAnimatablePropertyRegistrationP(), UtcDaliTypeRegistryPropertyRegistrationP(), UtcLinearConstrainerApply(), UtcLinearConstrainerDestroy(), UtcLinearConstrainerRemove(), UtcPathConstrainerDestroy(), and UtcPathConstrainerRemove().

Here is the call graph for this function:

bool Dali::Handle::Supports ( Capability  capability) const

Query whether an handle supports a given capability.

.0

Parameters
[in]capabilityThe queried capability.
Returns
True if the capability is supported.

Definition at line 73 of file handle.cpp.

References Dali::GetImplementation(), and Dali::Internal::Object::Supports().

Referenced by UtcDaliHandleSupports().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali