本文整理了Java中org.gwtbootstrap3.client.ui.Button.isActive()
方法的一些代码示例,展示了Button.isActive()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.isActive()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Button
类名称: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();
}
}
内容来源于网络,如有侵权,请联系作者删除!