SoftButton button = (SoftButton) en.nextElement(); if (button.getType() == SoftButton.TYPE_COMMAND && button.getCommand() == null && button.preferredCommandType((Command) commandsTable.elementAt(i))) { button.setCommand((Command) commandsTable.elementAt(i)); SoftButton button = (SoftButton) en.nextElement(); if (button.getType() == SoftButton.TYPE_COMMAND && button.getCommand() == null) { button.setCommand((Command) commandsTable.elementAt(i)); commandsTable.removeElementAt(i); if (hiddenButton.getType() == SoftButton.TYPE_COMMAND && hiddenButton.getPaintable() == null && hiddenButton.getCommand() != null) { Enumeration en = buttons.elements(); while (en.hasMoreElements()) { if (button.getType() == SoftButton.TYPE_COMMAND && button.getPaintable() != null && button.getCommand() == null) { button.setCommand(hiddenButton.getCommand()); break;
Command cmd = ((SoftButton) button).getCommand(); if (cmd != null) { MIDletAccess ma = MIDletBridge.getMIDletAccess();
if (pressedButton != null) { if (pressedButton instanceof SoftButton && !rawSoftKeys) { Command cmd = ((SoftButton) pressedButton).getCommand(); if (cmd != null) { CommandManager.getInstance().commandAction(cmd);
Command cmd = initialPressedSoftButton.getCommand(); if (cmd != null) { if (cmd.equals(CommandManager.CMD_MENU)) {
if (pressedButton != null) { if (pressedButton instanceof SoftButton && !fullScreenMode) { Command cmd = ((SoftButton) pressedButton).getCommand(); if (cmd != null) { MIDletAccess ma = MIDletBridge.getMIDletAccess();
if (pressedButton != null) { if (pressedButton instanceof SoftButton && !fullScreenMode) { Command cmd = ((SoftButton) pressedButton).getCommand(); if (cmd != null) { CommandManager.getInstance().commandAction(cmd);
dc.repaintRequest(pb.x, pb.y, pb.width, pb.height); if (pb.contains(e.x - rect.x, e.y - rect.y)) { Command cmd = initialPressedSoftButton.getCommand(); if (cmd != null) { CommandManager.getInstance().commandAction(cmd);