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

Method registerAnimated

CodenameOne/src/com/codename1/ui/Form.java:2175–2184  ·  view source on GitHub ↗
(Animation cmp)

Source from the content-addressed store, hash-verified

2173 ///
2174 /// - `cmp`: component that would be animated
2175 public final void registerAnimated(Animation cmp) {
2176 if (animatableComponents == null) {
2177 animatableComponents = new ArrayList<Animation>();
2178 }
2179 if (!animatableComponents.contains(cmp)) {
2180 animatableComponents.add(cmp);
2181 }
2182 onRegisterAnimated(cmp);
2183 Display.getInstance().notifyDisplay();
2184 }
2185
2186 /// Callback that's invoked by registerAnimated to let subclasses keep
2187 /// track of animation registration.

Callers 15

checkAnimationMethod · 0.95
setImageMethod · 0.95
initComponentMethod · 0.95
checkAnimationMethod · 0.95
closeMethod · 0.95
initComponentImplMethod · 0.95
initComponentImplMethod · 0.95
checkAnimationMethod · 0.95
checkAnimationMethod · 0.95
checkAnimationMethod · 0.95
setComponentValueMethod · 0.95

Calls 5

onRegisterAnimatedMethod · 0.95
getInstanceMethod · 0.95
notifyDisplayMethod · 0.80
containsMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected