本文整理了Java中org.jboss.errai.ui.shared.api.annotations.EventHandler.<init>()
方法的一些代码示例,展示了EventHandler.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。EventHandler.<init>()
方法的具体详情如下:
包路径:org.jboss.errai.ui.shared.api.annotations.EventHandler
类名称:EventHandler
方法名:<init>
暂无
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("listItem")
@SuppressWarnings("unused")
public void onClickListItem(final ClickEvent event) {
if (clickHandler != null) {
clickHandler.onClick(event);
}
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("resetAnchor")
public void onResetPressed(ClickEvent clickEvent) {
presenter.onResetPressed();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("dropDownButton")
void onDropDownClick(ClickEvent event) {
presenter.onItemsShown();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("option")
public void onClick(ClickEvent clickEvent) {
this.presenter.select();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("searchInput")
void onSearchClick(ClickEvent event) {
// Capture and ignore in order to avoid the drop-down to hide
event.stopPropagation();
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("searchInput")
void onSearchOver(KeyDownEvent event) {
// Capture and ignore in order to avoid the js errors
event.stopPropagation();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-renderer-default
@EventHandler("itemAnchor")
public void onItemClick(ClickEvent event) {
presenter.onItemClick();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-security-management
@EventHandler("headerPanel")
private void onHeaderMouseOut(MouseOutEvent event) {
if (mouseOver) {
headerPanel.setClassName("acl-header-panel");
mouseOver = false;
}
}
}
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-common-ui
@EventHandler("cancelButton")
public void cancelButtonClicked( final ClickEvent clickEvent ) {
presenter.onCancelButtonClicked();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("searchInput")
void onSearchChanged(KeyUpEvent event) {
String pattern = searchInput.getValue();
presenter.search(pattern);
}
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-metadata-widget
@EventHandler("editButton")
@SinkNative(Event.ONCLICK)
public void onEdit(Event event) {
presenter.onEdit();
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("itemAnchor")
public void onItemClick(ClickEvent event) {
presenter.onItemClick();
if(multiSelect) {
event.stopPropagation();
}
}
}
代码示例来源:origin: org.uberfire/uberfire-widgets-commons
@EventHandler("newEntryAnchor")
public void onNewEntryPresed(ClickEvent clickEvent) {
clickEvent.stopPropagation();
presenter.onNewEntryPressed();
}
代码示例来源:origin: org.uberfire/uberfire-runtime-plugins-client
@SinkNative(Event.ONCLICK)
@EventHandler("cancelButton")
public void cancelClick(final Event event) {
buttonPressed = ButtonPressed.CANCEL;
presenter.cancelClick();
}
}
代码示例来源:origin: org.uberfire/uberfire-experimental-client
@SinkNative(Event.ONMOUSEOVER)
@EventHandler("description")
public void onLoadDescription(Event event) {
maybeAddTitle(description);
}
代码示例来源:origin: org.uberfire/uberfire-experimental-client
@EventHandler("enabled")
public void onToggleChange(ChangeEvent event) {
presenter.notifyChange(enabled.getValue());
}
}
代码示例来源:origin: org.uberfire/uberfire-experimental-client
@EventHandler("enableAll")
public void onEnableAll(ClickEvent clickEvent) {
presenter.doEnableAll();
enableAll.blur();
}
代码示例来源:origin: org.uberfire/uberfire-layout-editor-client
@SinkNative(Event.ONCLICK)
@EventHandler("edit")
public void editClick(Event e) {
editCommand.execute();
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-workbench-client
@EventHandler("copy-details-button")
private void onCopyDetailsButtonClicked(final @ForEvent("click") elemental2.dom.Event e) {
final boolean copySucceeded = clipboard.copy(errorDetails);
if (copySucceeded) {
notificationEvent.fire(new NotificationEvent(DefaultWorkbenchConstants.INSTANCE.ErrorDetailsSuccessfullyCopiedToClipboard(), SUCCESS));
} else {
notificationEvent.fire(new NotificationEvent(DefaultWorkbenchConstants.INSTANCE.ErrorDetailsFailedToBeCopiedToClipboard(), WARNING));
}
console.error(errorDetails.textContent);
hide();
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@EventHandler("icon")
public void onMouseDown(final MouseDownEvent mouseDownEvent) {
presenter.onMouseDown(mouseDownEvent.getClientX(),
mouseDownEvent.getClientY(),
mouseDownEvent.getX(),
mouseDownEvent.getY());
}
内容来源于网络,如有侵权,请联系作者删除!