com.google.gwt.user.client.ui.CheckBox.isEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(160)

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

CheckBox.isEnabled介绍

暂无

代码示例

代码示例来源:origin: bedatadriven/activityinfo

@Override
public boolean isReadOnly() {
  return !checkBox.isEnabled();
}

代码示例来源:origin: com.google.gwt/gwt-servlet

boolean enabled = isEnabled();
String formValue = getFormValue();
String uid = inputElem.getId();

代码示例来源:origin: oVirt/ovirt-engine

@Override
public boolean isEnabled() {
  return asCheckBox().isEnabled();
}

代码示例来源:origin: fjfd/microscope

private void addLogscales(final StringBuilder url) {
  if (ylog.getValue()) {
    url.append("&ylog");
  }
  if (y2log.isEnabled() && y2log.getValue()) {
    url.append("&y2log");
  }
}

代码示例来源:origin: org.geomajas.plugin/geomajas-client-gwt2-plugin-corewidget

public void onClick(ClickEvent event) {
    if (visibilityToggle.isEnabled()) {
      presenter.toggleLayerVisibility();
      visibilityToggle.setEnabled(true); // Works because JavaScript is single threaded...
    }
  }
});

代码示例来源:origin: fjfd/microscope

public void onClick(final ClickEvent event) {
  if (box.isEnabled() && box.getValue()
      && "[0:]".equals(range.getValue())) {
    range.setValue("[1:]");
  } else if (box.isEnabled() && !box.getValue()
      && "[1:]".equals(range.getValue())) {
    range.setValue("[0:]");
  }
}

代码示例来源:origin: com.blackducksoftware.tools/common-framework

/**
   * Load field from cookie.
   *
   * @param field
   *            the field
   * @param cookieName
   *            the cookie name
   * @param memorize
   *            the memorize
   */
  private void loadFieldFromCookie(TextBox field, String cookieName,
      boolean memorize) {
    String cookieValue = Cookies.getCookie(cookieName);
    if (memorize) {
      if (rememberMeCheckBox.isEnabled()) {
        Cookies.setCookie(cookieName, field.getValue());
      }
    } else if (cookieValue != null) {
      field.setValue(cookieValue);
    }
  }
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

boolean enabled = isEnabled();
String formValue = getFormValue();
String uid = inputElem.getId();

代码示例来源:origin: net.wetheinter/gwt-user

boolean enabled = isEnabled();
String formValue = getFormValue();
String uid = inputElem.getId();

相关文章