()
| 559 | } |
| 560 | |
| 561 | private handleRollOver(): void { |
| 562 | if ( |
| 563 | !this._buttonController || |
| 564 | !this._buttonController.hasPage(GButton.OVER) |
| 565 | ) { |
| 566 | return; |
| 567 | } |
| 568 | |
| 569 | this._over = true; |
| 570 | if (this._down) { |
| 571 | return; |
| 572 | } |
| 573 | |
| 574 | if (this.grayed && this._buttonController.hasPage(GButton.DISABLED)) { |
| 575 | return; |
| 576 | } |
| 577 | |
| 578 | this.setState(this._selected ? GButton.SELECTED_OVER : GButton.OVER); |
| 579 | } |
| 580 | |
| 581 | private handleRollOut(): void { |
| 582 | if ( |