Kanzi  3.9.4
Java API
PropertyTypeChangeFlag Enum Reference

Each property type has a set of property change flags that indicate the effects that changing a property has. More...

Inheritance diagram for PropertyTypeChangeFlag:
[legend]

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 =(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.
 

Detailed Description

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.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static PropertyTypeChangeFlag toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ PropertyTypeChangeFlagArrange

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

PropertyTypeChangeFlagFinalTransformation =(1 << 1)

Property type with this flag affects final transformation of a node and all its children.


Causes updateRender() to be ran.

◆ PropertyTypeChangeFlagMeasure

PropertyTypeChangeFlagMeasure =(1 << 2)

Property type with this flag causes layout measure() to be ran.


Set by property changes that affect layout.