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

Method findNextFocusRight

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

Source from the content-addressed store, hash-verified

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.
4399 Component findNextFocusRight() {
4400 if (focused != null) {
4401 if (focused.getNextFocusRight() != null) {
4402 return focused.getNextFocusRight();
4403 }
4404 return findNextFocusHorizontal(true);
4405 }
4406 return null;
4407 }
4408
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.

Callers 2

updateFocusMethod · 0.95
moveScrollTowardsMethod · 0.95

Calls 2

getNextFocusRightMethod · 0.45

Tested by

no test coverage detected