* Returns the Child at the specified index * @param {number} index - The index of the child * @returns {Renderable} the child at the specified index
(index)
| 556 | * @returns {Renderable} the child at the specified index |
| 557 | */ |
| 558 | getChildAt(index) { |
| 559 | if (index >= 0 && index < this.getChildren().length) { |
| 560 | return this.getChildren()[index]; |
| 561 | } else { |
| 562 | throw new Error("Index (" + index + ") Out Of Bounds for getChildAt()"); |
| 563 | } |
| 564 | } |
| 565 | |
| 566 | /** |
| 567 | * Returns the index of the given Child |
no test coverage detected