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

Method findNextFocusUp

CodenameOne/src/com/codename1/ui/Form.java:4387–4395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4385 /// Finds next focusable component in upward direction. This will first check `Component#getNextFocusUp()`
4386 /// on the currently focused component. Failing that it will scan the form based on Y-coord.
4387 Component findNextFocusUp() {
4388 if (focused != null) {
4389 if (focused.getNextFocusUp() != null) {
4390 return focused.getNextFocusUp();
4391 }
4392 return findNextFocusVertical(false);
4393 }
4394 return null;
4395 }
4396
4397 /// Finds next focusable component in rightward direction. This will first check `Component#getNextFocusRight()`
4398 /// on the currently focused component. Failing that it will scan the form based on X-coord.

Callers 2

updateFocusMethod · 0.95
moveScrollTowardsMethod · 0.95

Calls 2

findNextFocusVerticalMethod · 0.95
getNextFocusUpMethod · 0.45

Tested by

no test coverage detected