getMyIndex

Returns the index of this component in its parent's children list.

Return

the index of this component, or -1 if it has no parent or is not a child of its parent.

Since

1.9.3