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

Method findNextFocusLeft

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

Source from the content-addressed store, hash-verified

4409 /// Finds next focusable component in leftward direction. This will first check `Component#getNextFocusLeft()`
4410 /// on the currently focused component. Failing that it will scan the form based on X-coord.
4411 Component findNextFocusLeft() {
4412 if (focused != null) {
4413 if (focused.getNextFocusLeft() != null) {
4414 return focused.getNextFocusLeft();
4415 }
4416 return findNextFocusHorizontal(false);
4417 }
4418 return null;
4419 }
4420
4421 /// Indicates whether focus should cycle within the form
4422 ///

Callers 2

updateFocusMethod · 0.95
moveScrollTowardsMethod · 0.95

Calls 2

getNextFocusLeftMethod · 0.45

Tested by

no test coverage detected