Each property type has a set of property change flags that indicate the effects that changing a property has. More...
Public Member Functions | |
final int | swigValue () |
Static Public Member Functions | |
static PropertyTypeChangeFlag | swigToEnum (int swigValue) |
Public Attributes | |
PropertyTypeChangeFlagArrange =(1 << 3) | |
Property type with this flag causes layout arrange() to be ran. More... | |
PropertyTypeChangeFlagConstraint =(1 << 18) | |
Property type with this flag informs that constraints are in use. | |
PropertyTypeChangeFlagDraw =(1 << 5) | |
Change flag set when updateRender() is ran, causes node to be drawn. | |
PropertyTypeChangeFlagFinalTransformation =(1 << 1) | |
Property type with this flag affects final transformation of a node and all its children. More... | |
PropertyTypeChangeFlagMeasure =(1 << 2) | |
Property type with this flag causes layout measure() to be ran. More... | |
PropertyTypeChangeFlagParentMeasure =(1 << 7) | |
Property type with this flag affects measure requirement of node's parent. | |
PropertyTypeChangeFlagRender =(1 << 4) | |
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.
PropertyTypeChangeFlagArrange =(1 << 3) |
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 =(1 << 1) |
Property type with this flag affects final transformation of a node and all its children.
Causes updateRender() to be ran.
PropertyTypeChangeFlagMeasure =(1 << 2) |
Property type with this flag causes layout measure() to be ran.
Set by property changes that affect layout.