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

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

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

JCheckBox.isVisible介绍

暂无

代码示例

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-insync

public boolean isUpdateReferences() {
  if (updateReferencesCheckBox.isVisible() && updateReferencesCheckBox.isSelected())
    return false;
  return true;
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-refactoring

public boolean isUpdateReferences() {
  if (updateReferencesCheckBox.isVisible() && updateReferencesCheckBox.isSelected()) {
    return false;
  }
  return true;
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-insync

public boolean isUpdateReferences() {
  if (updateReferencesCheckBox.isVisible() && updateReferencesCheckBox.isSelected())
    return false;
  return true;
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-css-prep

public boolean isUpdateReferences() {
  if (updateReferencesCheckBox.isVisible() && updateReferencesCheckBox.isSelected())
    return false;
  return true;
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-javascript-refactoring

public boolean isUpdateReferences() {
  if (updateReferencesCheckBox.isVisible() && updateReferencesCheckBox.isSelected())
    return false;
  return true;
}

代码示例来源:origin: org.bidib.org.oxbow/swingbits

@Override
public boolean isCheckBoxSelected() {
  return cbFooterCheck.isVisible() && cbFooterCheck.isSelected();
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop

public boolean isRememberPassword() {
return saveCB.isVisible() && saveCB.isSelected();
}

代码示例来源:origin: eugener/oxbow

@Override
public boolean isCheckBoxSelected() {
  return cbFooterCheck.isVisible() && cbFooterCheck.isSelected();
}

代码示例来源:origin: org.swinglabs.swingx/swingx-core

public boolean isRememberPassword() {
return saveCB.isVisible() && saveCB.isSelected();
}

代码示例来源:origin: org.swinglabs.swingx/swingx-all

public boolean isRememberPassword() {
return saveCB.isVisible() && saveCB.isSelected();
}

代码示例来源:origin: dcaoyuan/nbscala

public String[] getClassExcludeFilter() {
  String filterStr;
  if (classFilterCheckBox.isVisible() && classFilterCheckBox.isSelected() ||
    classExcludeFilterCheckBox.isVisible() && classExcludeFilterCheckBox.isSelected()) {
    filterStr = classExcludeFilterTextField.getText().trim();
  } else {
    filterStr = "";
  }
  return getFilter(filterStr);
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-swingapp

private void backgroundTaskCheckboxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_backgroundTaskCheckboxActionPerformed
  if(backgroundTaskCheckbox.isVisible()) {
    blockingType.setEnabled(backgroundTaskCheckbox.isSelected());
    blockingDialogText.setEnabled(backgroundTaskCheckbox.isSelected());
    blockingDialogTitle.setEnabled(backgroundTaskCheckbox.isSelected());
  }
}//GEN-LAST:event_backgroundTaskCheckboxActionPerformed

代码示例来源:origin: org.apache.jmeter/ApacheJMeter_components

/**
 * @return Returns the showNegate.
 */
public boolean isShowNegated() {
  return this.getNegatedCheckBox().isVisible();
}

代码示例来源:origin: org.netbeans.api/org-netbeans-modules-j2me-cdc-project

@Override
void store( WizardDescriptor d ) {
  d.putProperty(MAIN_CLASS, createMainCheckBox.isSelected() && createMainCheckBox.isVisible() ? mainClassTextField.getText() : null );
}

代码示例来源:origin: robward-scisys/sldeditor

/** Handle optional value. */
private void handleOptionalValue() {
  boolean enabled = true;
  if ((optionalCheckbox != null) && optionalCheckbox.isVisible()) {
    enabled = optionalCheckbox.isSelected();
  }
  if (thisObj != null) {
    thisObj.setEnabled(enabled);
  }
}

代码示例来源:origin: dcaoyuan/nbscala

public void setClassExcludeFilter(String[] filter) {
  String filterStr = getFilterStr(filter);
  classExcludeFilterTextField.setText(filterStr);
  if (classFilterCheckBox.isVisible()) {
    classFilterCheckBox.setSelected(filterStr.length() > 0 || classIncludeFilterTextField.getText().length() > 0);
    classFilterCheckBoxActionPerformed(null);
  }
  if (classExcludeFilterCheckBox.isVisible()) {
    classExcludeFilterCheckBox.setSelected(filterStr.length() > 0);
    classExcludeFilterCheckBoxActionPerformed(null);
  }
}

代码示例来源:origin: dcaoyuan/nbscala

void store( WizardDescriptor d ) {
  d.putProperty( /*XXX Define somewhere */ "setAsMain", setAsMainCheckBox.isSelected() && setAsMainCheckBox.isVisible() ? Boolean.TRUE : Boolean.FALSE ); // NOI18N
  d.putProperty( /*XXX Define somewhere */ "mainClass", createMainCheckBox.isSelected() && createMainCheckBox.isVisible() ? mainClassTextField.getText() : null ); // NOI18N
  d.putProperty( SHARED_LIBRARIES, cbSharable.isSelected() ? txtLibFolder.getText() : null ); // NOI18N
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-ruby-project

void store( WizardDescriptor d ) {
  d.putProperty( /*XXX Define somewhere */ "setAsMain", Boolean.FALSE); // NOI18N
  d.putProperty( /*XXX Define somewhere */ "mainClass", createMainCheckBox.isSelected() && createMainCheckBox.isVisible() ? mainClassTextField.getText() : null ); // NOI18N
  d.putProperty("platform", PlatformComponentFactory.getPlatform(platforms));
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-ruby-railsprojects

void store(WizardDescriptor d) {
  d.putProperty( /*XXX Define somewhere */ "setAsMain", Boolean.FALSE); // NOI18N
  d.putProperty(NewRailsProjectWizardIterator.WAR_SUPPORT, warCheckBox.isSelected() && warCheckBox.isVisible() ? Boolean.TRUE : Boolean.FALSE ); // NOI18N
  d.putProperty(NewRailsProjectWizardIterator.PLATFORM, platforms.getModel().getSelectedItem());
  d.putProperty(NewRailsProjectWizardIterator.SERVER_INSTANCE, serverComboBox.getModel().getSelectedItem());
}

代码示例来源:origin: it.tidalwave.metadata/it-tidalwave-metadata-viewer

@Test
public void testSetAvailabilityOptionVisible()
 {
  pane.setAvailabilityOptionVisible(true);
  assertTrue(pane.isAvailabilityOptionVisible());
  assertTrue(pane.cbNameAvailable.isVisible());
  pane.setAvailabilityOptionVisible(false);
  assertFalse(pane.isAvailabilityOptionVisible());
  assertFalse(pane.cbNameAvailable.isVisible());
 }

相关文章

JCheckBox类方法