Actions are small operations that Kanzi executes when the trigger event that contains that action occurs and the trigger conditions are met. More...
Public Member Functions | |
| Trigger | getTrigger () |
| Returns the handle to a Trigger to which an Action is attached. | |
| void | invoke () |
| Invokes the Action. | |
Public Member Functions inherited from ActionBaseProxy | |
| String | getName () |
| Returns the name of the action. | |
Public Member Functions inherited from KanziObject | |
| 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 | setFlagKeepDuringPatching (PropertyType< TDataType > propertyType) |
| Sets the flag to indicate that the property was loaded from KZB. | |
| 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. | |
Static Public Attributes | |
| static final Metaclass | metaclass = com.rightware.kanzi.metadata.ActionMetadata.metaclass |
| The Metaclass for the class. | |
Static Public Attributes inherited from ActionBase | |
| static final Metaclass | metaclass = ActionBaseProxy.metaclass |
| The Metaclass for the class. | |
Static Public Attributes inherited from ActionBaseProxy | |
| static final Metaclass | metaclass |
| The Metaclass for the class. | |
Static Public Attributes inherited from KanziObject | |
| static final Metaclass | metaclass = new AbstractMetaclass("Kanzi.Object") |
| The Metaclass for the class. | |
Additional Inherited Members | |
Public Attributes inherited from ActionBaseMetadata | |
| AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ActionBase") |
| Metaclass for ActionBase. | |
Public Attributes inherited from ActionMetadata | |
| DynamicPropertyType< Integer > | DelayProperty |
| The time in milliseconds after which Kanzi invokes the action. | |
| AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.Action") |
| Metaclass for Action. | |
Actions are small operations that Kanzi executes when the trigger event that contains that action occurs and the trigger conditions are met.
Action is the base class for actions. For example, if you want to perform a simple operation, such as set a value of a property, you can use a trigger with the SetPropertyAction action.
| Trigger getTrigger | ( | ) |
Returns the handle to a Trigger to which an Action is attached.