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

Method setBackCommand

CodenameOne/src/com/codename1/ui/Form.java:1517–1521  ·  view source on GitHub ↗
(String name, Image icon, ActionListener ev)

Source from the content-addressed store, hash-verified

1515 ///
1516 /// a newly created Command instance
1517 public Command setBackCommand(String name, Image icon, ActionListener ev) {
1518 Command cmd = Command.create(name, icon, ev);
1519 menuBar.setBackCommand(cmd);
1520 return cmd;
1521 }
1522
1523 /// Indicates the command that is defined as the back command out of this form.
1524 /// A back command can be used both to map to a hardware button (e.g. on the Sony Ericsson devices)

Callers 15

showRSSEntryMethod · 0.95
showLogMethod · 0.95
showAuthenticationMethod · 0.95
refreshThemeMethod · 0.95
createMenuMethod · 0.95
runTransitionsDemoMethod · 0.95
playMethod · 0.95
captureAudioMethod · 0.95
startMethod · 0.95
testUIFragmentMethod · 0.95

Calls 1

createMethod · 0.95

Tested by 3

UserFormMethod · 0.36
ShaiFormMethod · 0.36