org.gwtbootstrap3.client.ui.Button.isActive()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(143)

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

Button.isActive介绍

暂无

代码示例

代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-server-ui-client

@EventHandler("container-config-stop-scanner")
public void stopScanner(final ClickEvent e) {
  if (stopScanner.isActive()) {
    return;
  }
  stopScannerActive.execute();
  presenter.stopScanner();
}

代码示例来源:origin: kiegroup/appformer

public void onClick(ClickEvent event) {
    if (!button.isActive()) {
      showColumnPickerPopup(button.getAbsoluteLeft() + button.getOffsetWidth(),
                 button.getAbsoluteTop() + button.getOffsetHeight());
    } else {
      popup.hide(false);
    }
  }
});

代码示例来源:origin: kiegroup/appformer

@Test
public void testToggleButton() {
  columnPicker.createToggleButton();
  clickHandler.onClick(new ClickEvent() {
  });
  verify(popup).show();
  when(toggleButton.isActive()).thenReturn(true);
  clickHandler.onClick(new ClickEvent() {
  });
  verify(popup).hide(false);
}

代码示例来源:origin: org.uberfire/uberfire-widgets-table

public void onClick(ClickEvent event) {
    if (!button.isActive()) {
      showColumnPickerPopup(button.getAbsoluteLeft() + button.getOffsetWidth(),
                 button.getAbsoluteTop() + button.getOffsetHeight());
    } else {
      popup.hide(false);
    }
  }
});

代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-server-ui-client

@EventHandler("container-config-start-scanner")
public void startScanner(final ClickEvent event) {
  if (startScanner.isActive()) {
    return;
  }
  try {
    presenter.startScanner(getInterval(),
                intervalTimeUnit.getSelectedItem().getValue());
  } catch (final IllegalArgumentException ex) {
    StyleHelper.addUniqueEnumStyleName(scannerForm,
                      ValidationState.class,
                      ValidationState.ERROR);
    stopScannerActive.execute();
  }
}

相关文章