(int type)
| 128 | } |
| 129 | |
| 130 | MenuCommand findCommand(int type) { |
| 131 | int size = menuCommands.size(); |
| 132 | for (int i = 0; i < size; i++) { |
| 133 | MenuCommand item = (MenuCommand) menuCommands.elementAt(i); |
| 134 | if (item != null) { |
| 135 | if (item.map == type) { |
| 136 | return (MenuCommand) menuCommands.elementAt(i); |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | return null; |
| 141 | } |
| 142 | |
| 143 | public void captionPressed() {} |
| 144 |
no test coverage detected