*/
void SetCustomShader( const Property::Map& propertyMap );
+ /**
+ * @copydoc Toolkit::Visual::Base::SetProperty
+ */
+ void SetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue );
+
+ /**
+ * @copydoc Toolkit::Visual::Base::GetProperty
+ */
+ Dali::Property::Value GetProperty( Dali::Property::Index index );
+
protected:
/**
*/
bool GetIsFromCache() const;
+protected:
+ /**
+ * @brief Called by SetProperty(). To be overriden by derived clases in order to set properties.
+ *
+ * @param [in] index The index of the property.
+ * @param [in] propertyValue The new value of the property.
+ */
+ virtual void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ) = 0;
+
+ /**
+ * @brief Called by GetProperty(). To be overriden by derived classes in order to retrieve properties.
+ *
+ * @param [in] index The index of the property.
+ *
+ * @return The property value.
+ */
+ virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ) = 0;
+
private:
// Undefined