Condition for triggers. More...
Public Member Functions | |
| boolean | check () |
| Check function for condition. | |
| void | close () |
| Close the object, and release native resources. | |
| Trigger | getTrigger () |
| Returns the pointer to a trigger to which an condition is attached. | |
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 |
| The Metaclass for the class. | |
Static Public Attributes inherited from KanziObject | |
| static final Metaclass | metaclass = new AbstractMetaclass("Kanzi.Object") |
| The Metaclass for the class. | |
Protected Member Functions | |
| Condition (Domain domain, long handle, Metaclass metaclass) | |
| Wraps a given native Condition. | |
| void | initialize () |
| Initializes the Condition. | |
| void | onAttach () |
| Callback called by Kanzi during attach. | |
| abstract boolean | onCheck () |
| Check function for condition. | |
| void | onDetach () |
| Callback called by Kanzi during detach. | |
Static Protected Member Functions | |
| static< Derived extends Condition > ObjectRef< Derived > | createDerived (Domain domain, Metaclass metaclass) |
| Creates a derived class instance. | |
Additional Inherited Members | |
Public Attributes inherited from ConditionMetadata | |
| AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.Condition") |
| Metaclass for Condition. | |
Condition for triggers.
Wraps a given native Condition.
Called by KanziObject.connectObject(ObjectWrapper) when connecting to a native condition.
| domain | UI Domain where this condition belongs. |
| handle | Native object that is backing this condition. |
| metaclass | Metaclass data for this condition. |
|
staticprotected |
Creates a derived class instance.
Call this method as part of the create method for a derived class.
| domain | UI Domain where this condition belongs. |
| metaclass | Metaclass data of the condition. |
| Trigger getTrigger | ( | ) |
Returns the pointer to a trigger to which an condition is attached.
Check function for condition.