MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / checkAnimation

Method checkAnimation

CodenameOne/src/com/codename1/ui/Label.java:650–661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

648 }
649
650 @Override
651 void checkAnimation() {
652 super.checkAnimation();
653 if (icon != null && icon.isAnimation()) {
654 Form parent = getComponentForm();
655 if (parent != null) {
656 // animations are always running so the internal animation isn't
657 // good enough. We never want to stop this sort of animation
658 parent.registerAnimated(this);
659 }
660 }
661 }
662
663 /// Returns the labels icon
664 ///

Callers 2

initComponentImplMethod · 0.95
setIconMethod · 0.95

Calls 3

registerAnimatedMethod · 0.95
isAnimationMethod · 0.45
getComponentFormMethod · 0.45

Tested by

no test coverage detected