An ApplyPropertyAction sets a property to the requested value for as long as the condition is met in the DataTrigger that sets off this action. More...
Static Public Member Functions | |
static ObjectRef< ApplyPropertyAction > | create (Domain domain, String name) |
Creates an instance of ApplyPropertyAction. | |
Static Public Attributes | |
static final Metaclass | metaclass |
The Metaclass for the class. | |
![]() | |
static final Metaclass | metaclass |
The Metaclass for the class. | |
![]() | |
static final Metaclass | metaclass |
The Metaclass for the class. | |
![]() | |
static final Metaclass | metaclass = new AbstractMetaclass("Kanzi.Object") |
The Metaclass for the class. | |
Additional Inherited Members | |
![]() | |
String | getName () |
Gets the name of an action. | |
![]() | |
boolean | equals (Object object) |
Domain | getDomain () |
Returns the domain the object belongs to. | |
Metaclass | getDynamicMetaclass () |
Returns the metaclass of the dynamic type of the object. | |
long | getNative () |
Gets a pointer to the backing C++ instance. | |
TDataType | getOptionalProperty (PropertyType< TDataType > propertyType) |
Returns the current value of a property type, but does not use the default value if there are no inputs to the property value. | |
TDataType | getProperty (PropertyType< TDataType > propertyType) |
Returns the current value of a property type. | |
int | hashCode () |
boolean | hasValue (PropertyType< TDataType > propertyType) |
Evaluates whether there are any inputs into the property value. | |
boolean | isStale () |
Test if the object is stale i.e. | |
void | removeLocalValue (PropertyType< TDataType > propertyType) |
Removes the local value associated with the property. | |
void | setProperty (PropertyType< TDataType > propertyType, TDataType value) |
Sets the local value of a property type. | |
ObjectRef< TType > | tryCreateObjectRef (Class< TType > clazz) |
Tries to create an owning ObjectRef instance to this KanziObject. | |
![]() | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ActionBase") |
Metaclass for ActionBase. | |
![]() | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ApplyAction") |
Metaclass for ApplyAction. | |
![]() | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ApplyPropertyAction") |
Metaclass for ApplyPropertyAction. | |
DynamicPropertyType< String > | TargetPathProperty |
Sets the path to the Node or the Render Pass that contains the target property. | |
An ApplyPropertyAction sets a property to the requested value for as long as the condition is met in the DataTrigger that sets off this action.
When the trigger condition is no longer met, Kanzi rolls back the value of that property to the value before the action was applied, or to the value set while Kanzi was applying an ApplyPropertyAction. Use the ApplyPropertyAction only with a DataTrigger.
|
static |
Creates an instance of ApplyPropertyAction.
domain | Pointer to domain. |
name | Name of this action instance. |
|
static |
The Metaclass for the class.