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

Method addCommand

CodenameOne/src/com/codename1/ui/Form.java:4143–4145  ·  view source on GitHub ↗
(Command cmd, int offset)

Source from the content-addressed store, hash-verified

4141 ///
4142 /// Please use `Toolbar#addCommandToLeftBar(com.codename1.ui.Command)` or similar methods
4143 public void addCommand(Command cmd, int offset) {
4144 menuBar.addCommand(cmd, offset);
4145 }
4146
4147 /// A helper method to check the amount of commands within the form menu
4148 ///

Callers 15

showRSSEntryMethod · 0.95
showLogMethod · 0.95
showAuthenticationMethod · 0.95
refreshThemeMethod · 0.95
installCommandsMethod · 0.95
removeCommandsMethod · 0.95
reloadFormMethod · 0.95
runTestMethod · 0.95
capturePhotoMethod · 0.95
testMenuTransitionMethod · 0.95

Calls

no outgoing calls

Tested by 9

runTestMethod · 0.76
testMenuTransitionMethod · 0.76
runMethod · 0.76
UserFormMethod · 0.36
UserFormMethod · 0.36