Was this helpful?
MatrixField Class
The MatrixField class is a collection of component fields that are organized as a two-dimensional stack field. Matrix fields maintain the relative alignment of their component fields even when the component fields change size. Matrix fields are useful for building applications that are portable across different environments.
If you associate a matrix field with a reference variable, its component fields must map to the attributes of that reference variable's class. If the MatrixField is named but not associated with a named class definition, OpenROAD creates a special unnamed class for the matrix field for use only in the frame that contains it. You cannot associate a matrix field with an array variable.
If you name a matrix field, you must use dot notation to access its component fields.
If you do not name a matrix field, all of its component fields are considered part of the top form or the composite field that contains the matrix field and the matrix field acts only as a convenience while editing the form.
For an example of dynamically creating a matrix field, see the Programming Guide.
Inherits From
Inherited By
None
Attributes
ChildBottomMargin
ChildGravity
ChildLeftMargin
ChildRightMargin
ChildTopMargin
CollapsePolicy
Columns
Rows
SeparatorColor
SeparatorStyle
SeparatorWidth
Methods
FieldByPosition
InsertChild
WhichCell
Last modified date: 12/20/2023