Each property type has a set of property change flags that indicate the effects that changing a property has. More...
Public Member Functions | |
PropertyTypeChangeFlag (int mValue) | |
PropertyTypeChangeFlag (PropertyTypeChangeFlag enum_) | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Static Public Member Functions | |
static PropertyTypeChangeFlag | swigToEnum (int swigValue) |
static PropertyTypeChangeFlag | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
PropertyTypeChangeFlagArrange =(8) | |
Property type with this flag causes layout arrange() to be ran. More... | |
PropertyTypeChangeFlagConstraint =(262144) | |
Property type with this flag informs that constraints are in use. | |
PropertyTypeChangeFlagDraw =(32) | |
Change flag set when updateRender() is ran, causes node to be drawn. | |
PropertyTypeChangeFlagFinalTransformation =(2) | |
Property type with this flag affects final transformation of a node and all its children. More... | |
PropertyTypeChangeFlagMeasure =(4) | |
Property type with this flag causes layout measure() to be ran. More... | |
PropertyTypeChangeFlagParentMeasure =(128) | |
Property type with this flag affects measure requirement of node's parent. | |
PropertyTypeChangeFlagRender =(16) | |
Property type with this flag affects rendering and causes updateRender() to be ran. | |
Each property type has a set of property change flags that indicate the effects that changing a property has.
For example, when the Text property of a Text Block node changes, the layout of that Text Block must be recalculated, which is why
the Text property type has the PropertyTypeChangeFlagMeasure.
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
PropertyTypeChangeFlagArrange =(8) |
Property type with this flag causes layout arrange() to be ran.
Flag is also set by measure pass on nodes where measurements were changed.
PropertyTypeChangeFlagFinalTransformation =(2) |
Property type with this flag affects final transformation of a node and all its children.
Causes updateRender() to be ran.
PropertyTypeChangeFlagMeasure =(4) |
Property type with this flag causes layout measure() to be ran.
Set by property changes that affect layout.