package com.ufgov.zc.client.zc.expertevaluate;
Esempio n. 2
0
/**
  @Override
  protected void addToolBarComponent(JFuncToolBar toolBar) {

    toolBar.setModuleCode("ZC");

    toolBar.setCompoId(getCompoId());

    toolBar.add(addButton);

    //    toolBar.add(deleteButton);

    //    toolBar.add(sendButton);

    //    toolBar.add(isSendToNextButton);

    //    toolBar.add(auditPassButton);

    //    toolBar.add(suggestPassButton);

    //    toolBar.add(auditFinalButton);

    //    toolBar.add(callbackButton);

    //    toolBar.add(unTreadButton);//退回

    //    toolBar.add(traceButton);

    // toolBar.add(printButton);

    // toolBar.add(printPreviewButton);

    // toolBar.add(printSettingButton);

    //    toolBar.add(helpButton);

    //    toolBar.add(traceDataButton);

    // 初始化按钮的action事件

    addButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doAdd();
          }
        });

    sendButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doSend();
          }
        });

    isSendToNextButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doSendNext();
          }
        });

    auditPassButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doAuditPass();
          }
        });

    suggestPassButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doSuggestPass();
          }
        });

    deleteButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doDelete();
          }
        });

    traceButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doTrace();
          }
        });

    callbackButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doCallBack();
          }
        });

    unTreadButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doUnTread();
          }
        });

    printButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent arg0) {

            doPrint();
          }
        });

    printPreviewButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent arg0) {

            doPrintPreview();
          }
        });

    printSettingButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent arg0) {

            doPrintSetting();
          }
        });

    auditFinalButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {

            doAuditFinal();
          }
        });

    traceDataButton.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent arg0) {

            doTraceDataButton();
          }
        });
  }
package com.ufgov.zc.client.zc.auditsheet;