Esempio n. 1
0
  /**
   * ファイル参照ボタンを取得します。
   *
   * @return ファイル参照ボタン
   */
  public ACButton getDbFileSelectFileCompareButton() {
    if (dbFileSelectFileCompareButton == null) {

      dbFileSelectFileCompareButton = new ACButton();

      dbFileSelectFileCompareButton.setText("参照(L)");

      dbFileSelectFileCompareButton.setToolTipText("FDBファイル選択画面を表示します。");

      dbFileSelectFileCompareButton.setMnemonic('L');

      addDbFileSelectFileCompareButton();
    }
    return dbFileSelectFileCompareButton;
  }
Esempio n. 2
0
  /**
   * PDFファイル参照ボタンを取得します。
   *
   * @return PDFファイル参照ボタン
   */
  public ACButton getPdfFileSelectFileCompareButton() {
    if (pdfFileSelectFileCompareButton == null) {

      pdfFileSelectFileCompareButton = new ACButton();

      pdfFileSelectFileCompareButton.setText("参照(P)");

      pdfFileSelectFileCompareButton.setToolTipText("AcrobatReader選択画面を表示します。");

      pdfFileSelectFileCompareButton.setMnemonic('P');

      addPdfFileSelectFileCompareButton();
    }
    return pdfFileSelectFileCompareButton;
  }
  private void jbInit() throws Exception {
    contentPane = (JPanel) this.getContentPane();
    contentPane.add(client);

    VRLayout clientLayout = new VRLayout();
    clientLayout.setHgap(2);
    clientLayout.setVgap(2);
    client.setLayout(clientLayout);
    client.add(insurerNmContainer, VRLayout.FLOW_INSETLINE);
    client.add(insurerNoPnl, VRLayout.FLOW_RETURN);
    client.add(jigyoushoNoContainer, VRLayout.FLOW_INSETLINE);
    client.add(btnPnl, VRLayout.FLOW_RETURN);

    insurerNmContainer.setText("保険者番号");
    insurerNmContainer.add(insurerNm, null);
    insurerNm.setEditable(false);
    insurerNm.setPreferredSize(new Dimension(280, 19));
    insurerNm.setBindPath("INSURER_NM");

    VRLayout insurerNoPnlLayout = new VRLayout();
    insurerNoPnlLayout.setHgap(0);
    insurerNoPnlLayout.setVgap(0);
    insurerNoPnlLayout.setAutoWrap(false);
    insurerNoPnl.setLayout(insurerNoPnlLayout);
    insurerNoPnl.add(insurerNoCaption1, VRLayout.FLOW);
    insurerNoPnl.add(insurerNoField, VRLayout.FLOW);
    insurerNoPnl.add(insurerNoCaption2, VRLayout.FLOW);
    insurerNoCaption1.setText("(");
    insurerNoField.setColumns(6);
    insurerNoField.setEditable(false);
    insurerNoField.setBindPath("INSURER_NO");
    insurerNoCaption2.setText(")");

    jigyoushoNoContainer.setText("事業所番号");
    VRLayout jigyoushoNoContainerLayout = new VRLayout();
    jigyoushoNoContainerLayout.setHgap(0);
    jigyoushoNoContainerLayout.setVgap(1);
    jigyoushoNoContainerLayout.setAutoWrap(false);
    jigyoushoNoContainer.add(jigyoushoNoField, VRLayout.FLOW);
    jigyoushoNoContainer.add(jigyoushoNoCaption, VRLayout.FLOW);
    jigyoushoNoField.setColumns(10);
    jigyoushoNoField.setMaxLength(10);
    jigyoushoNoField.setIMEMode(InputSubset.LATIN_DIGITS);
    jigyoushoNoField.setCharType(VRCharType.ONLY_DIGIT);
    // jigyoushoNoField.setCharType(VRCharType.ONLY_ALNUM);
    jigyoushoNoField.setBindPath("JIGYOUSHA_NO");
    jigyoushoNoCaption.setText("(数字10桁)");
    jigyoushoNoCaption.setForeground(IkenshoConstants.COLOR_MESSAGE_TEXT_FOREGROUND);

    VRLayout btnPnlLayout = new VRLayout();
    btnPnlLayout.setHgap(0);
    btnPnlLayout.setVgap(0);
    btnPnlLayout.setAutoWrap(false);
    btnPnl.setLayout(btnPnlLayout);
    btnPnl.add(submit, VRLayout.FLOW);
    btnPnl.add(close, VRLayout.FLOW);
    submit.setText("登録(S)");
    submit.setMnemonic('S');
    close.setText("閉じる(C)");
    close.setMnemonic('C');
  }