javax.swing.JCheckBox.setVerticalAlignment()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(7.5k)|赞(0)|评价(0)|浏览(210)

本文整理了Java中javax.swing.JCheckBox.setVerticalAlignment()方法的一些代码示例,展示了JCheckBox.setVerticalAlignment()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.setVerticalAlignment()方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:setVerticalAlignment

JCheckBox.setVerticalAlignment介绍

暂无

代码示例

代码示例来源:origin: magefree/mage

checkboxRedownload.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);
panelRedownload.add(checkboxRedownload, java.awt.BorderLayout.CENTER);
panelRedownload.add(filler1, java.awt.BorderLayout.PAGE_END);

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkProcessImages() {
  if (chkProcessImages == null) {
    chkProcessImages = new JCheckBox();
    chkProcessImages.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkProcessImages.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkProcessImages;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkWmUiHandling() {
  if (chkWmUiHandling == null) {
    chkWmUiHandling = new JCheckBox();
    chkWmUiHandling.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkWmUiHandling.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkWmUiHandling;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkShowMainToolbar() {
  if (chkShowMainToolbar == null) {
    chkShowMainToolbar = new JCheckBox();
    chkShowMainToolbar.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkShowMainToolbar.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkShowMainToolbar;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkAskOnExit() {
  if (chkAskOnExit == null) {
    chkAskOnExit = new JCheckBox();
    chkAskOnExit.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkAskOnExit.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkAskOnExit;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkAdvancedView() {
  if (chkAdvancedView == null) {
    chkAdvancedView = new JCheckBox();
    chkAdvancedView.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkAdvancedView.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  
  return chkAdvancedView;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getShowTabNames() {
  if (chkShowTabNames == null) {
    chkShowTabNames = new JCheckBox();
    chkShowTabNames.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkShowTabNames.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkShowTabNames;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getShowSplashScreen() {
  if (chkShowSplashScreen == null) {
    chkShowSplashScreen = new JCheckBox();
    chkShowSplashScreen.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkShowSplashScreen.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkShowSplashScreen;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkOutputTabTimeStamps() {
  if (chkOutputTabTimeStamping == null) {
    chkOutputTabTimeStamping = new JCheckBox();
    chkOutputTabTimeStamping.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkOutputTabTimeStamping.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
    chkOutputTabTimeStamping.addItemListener(new java.awt.event.ItemListener(){
      @Override
      public void itemStateChanged(ItemEvent e) {
          timeStampsFormatSelect.setEnabled(e.getStateChange() == ItemEvent.SELECTED);
      };
    });
  }
  return chkOutputTabTimeStamping;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getEnableJSONP() {
  if (enableJSONP == null) {
    enableJSONP = new JCheckBox();
    enableJSONP.setText(Constant.messages.getString("api.options.enableJSONP"));
    enableJSONP.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    enableJSONP.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return enableJSONP;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getIncErrorDetails() {
  if (incErrorDetails == null) {
    incErrorDetails = new JCheckBox();
    incErrorDetails.setText(Constant.messages.getString("api.options.incErrors"));
    incErrorDetails.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    incErrorDetails.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return incErrorDetails;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getNoKeyForSafeOps() {
  if (noKeyForSafeOps == null) {
    noKeyForSafeOps = new JCheckBox();
    noKeyForSafeOps.setText(Constant.messages.getString("api.options.noKeyForSafeOps"));
    noKeyForSafeOps.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    noKeyForSafeOps.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return noKeyForSafeOps;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getAutofillKey() {
  if (autofillKey == null) {
    autofillKey = new JCheckBox();
    autofillKey.setText(Constant.messages.getString("api.options.autofillKey"));
    autofillKey.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    autofillKey.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return autofillKey;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getInMemoryStatsEnabledField() {
  if (inMemoryStatsEnabledField == null) {
    inMemoryStatsEnabledField = new JCheckBox();
    inMemoryStatsEnabledField.setText(Constant.messages.getString("stats.options.mem.enabled"));
    inMemoryStatsEnabledField.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    inMemoryStatsEnabledField.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return inMemoryStatsEnabledField;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkUiEnabled() {
  if (chkUiEnabled == null) {
    chkUiEnabled = new JCheckBox();
    chkUiEnabled.setText(Constant.messages.getString("api.options.uiEnabled"));
    chkUiEnabled.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkUiEnabled.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkUiEnabled;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkSecureOnly() {
  if (chkSecureOnly == null) {
    chkSecureOnly = new JCheckBox();
    chkSecureOnly.setText(Constant.messages.getString("api.options.secure"));
    chkSecureOnly.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkSecureOnly.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkSecureOnly;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getReportPermErrors() {
  if (reportPermErrors == null) {
    reportPermErrors = new JCheckBox();
    reportPermErrors.setText(Constant.messages.getString("api.options.reportPermErrors"));
    reportPermErrors.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    reportPermErrors.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return reportPermErrors;
}

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkInstallAddonUpdates() {
  if (chkInstallAddonUpdates == null) {
    chkInstallAddonUpdates = new JCheckBox();
    chkInstallAddonUpdates.setText(Constant.messages.getString("cfu.options.installAddonUpdates"));
    chkInstallAddonUpdates.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkInstallAddonUpdates.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkInstallAddonUpdates;
}
private JCheckBox getChkInstallScannerRules() {

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkInstallScannerRules() {
  if (chkInstallScannerRules == null) {
    chkInstallScannerRules = new JCheckBox();
    chkInstallScannerRules.setText(Constant.messages.getString("cfu.options.installScannerRules"));
    chkInstallScannerRules.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkInstallScannerRules.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkInstallScannerRules;
}
private JCheckBox getChkReportReleaseAddons() {

代码示例来源:origin: org.zaproxy/zap

private JCheckBox getChkReportAlphaAddons() {
  if (chkReportAlphaAddons == null) {
    chkReportAlphaAddons = new JCheckBox();
    chkReportAlphaAddons.setText(Constant.messages.getString("cfu.options.reportAlphaAddons"));
    chkReportAlphaAddons.setVerticalAlignment(javax.swing.SwingConstants.TOP);
    chkReportAlphaAddons.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
  }
  return chkReportAlphaAddons;
}

相关文章

JCheckBox类方法