()
| 523 | } |
| 524 | |
| 525 | @Override |
| 526 | void checkAnimation() { |
| 527 | super.checkAnimation(); |
| 528 | if ((pressedIcon != null && pressedIcon.isAnimation()) || |
| 529 | (rolloverIcon != null && rolloverIcon.isAnimation()) || |
| 530 | (disabledIcon != null && disabledIcon.isAnimation())) { |
| 531 | Form parent = getComponentForm(); |
| 532 | if (parent != null) { |
| 533 | // animations are always running so the internal animation isn't |
| 534 | // good enough. We never want to stop this sort of animation |
| 535 | parent.registerAnimated(this); |
| 536 | } |
| 537 | } |
| 538 | } |
| 539 | |
| 540 | /// Adds a listener to be notified when the button state changes. |
| 541 | /// |
no test coverage detected