⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trafficviolationsconditions.java

📁 j2me实现的移动警务的大概框架
💻 JAVA
字号:
package PoliceSearch.TrafficIncident.CarDriver;import javax.microedition.lcdui.*;import PoliceSearch.*;import PoliceSearch.Com.*;import PoliceSearch.IntegratedInformation.*;/** * <p>Title: 公安查询系统</p> * <p>Description: 章桂华</p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: otheno</p> * @author 章桂华等 * @version 1.0 */public class TrafficViolationsConditions    extends Form    implements CommandListener {  private IntegratedInfMenu parent;  private TextField tfTrifficViolationsNo; //"交通违章编号"//  private TextField tfDriverOwner; //"车主"  private TextField tfCarNo; //"车牌号"  private TextField tfDriverSerialNo; //"驾驶证号"  private TextField tfTrifficViolationDate; //"交通违章发生日期"  public TrafficViolationsConditions(IntegratedInfMenu iiMenu) {    super("交通违章查询");    parent = iiMenu;    try {      jbInit();    }    catch (Exception e) {      Log.except(e.toString());    }  }  private void jbInit() throws Exception {    this.append(tfTrifficViolationsNo = new TextField("交通违章编号","*WZ87691*", 30,TextField.ANY)); //"交通违章编号"//    this.append(tfDriverOwner = new TextField("车主","王海", 30,TextField.ANY)); //"车主"    this.append(tfCarNo = new TextField("车牌号","赣A*652*", 30,TextField.ANY)); //"车牌号"    this.append(tfDriverSerialNo = new TextField("驾驶证号","*87365332928*", 30,TextField.ANY)); //"驾驶证号"    this.append(tfTrifficViolationDate = new TextField("交通违章发生日期","20050304", 30,TextField.ANY)); //"交通违章发生日期"    addCommand(Resources.Cmd_Queren);    addCommand(Resources.Cmd_Back);    setCommandListener(this);    display();  }  /**   * 功能:显示当前页面   */  public void display() {    Display.getDisplay(PoliceMain.instance).setCurrent(this);  }  /**   * 事件监听函数   * @param command-按纽号ID   * @param displayable-显示设备ID   */  public void commandAction(Command command, Displayable displayable) {    if (displayable.equals(this)) {      if (command.equals(Resources.Cmd_Back)) {        parent.displaySubMenu();      }      if (command.equals(Resources.Cmd_Queren)) {      (new TrafficViolationsResults(parent)).display();      }    }  } //}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -