org.jboss.errai.ui.shared.api.annotations.EventHandler类的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(106)

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

EventHandler介绍

暂无

代码示例

代码示例来源: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.kie.workbench.screens/kie-wb-common-library-client

@EventHandler("current-page")
public void currentPageTextChange(final KeyUpEvent event) {
  String pageNumber = currentPage.value;
  if (pageNumber.matches("\\d+")) {
    presenter.setCurrentPage(Integer.valueOf(pageNumber));
  }
}

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

@EventHandler("filter-text")
  public void onFilterText(KeyUpEvent keyUpEvent) {
    this.presenter.setFilter(this.filterText.value);
  }
}

代码示例来源:origin: dashbuilder/dashbuilder

@EventHandler("closeButton")
  private void onClose(ClickEvent event) {
    presenter.close();
  }
}

代码示例来源:origin: dashbuilder/dashbuilder

@EventHandler("clearAll")
  private void onClearAll(ClickEvent event) {
    presenter.onClearAll();
  }
}

代码示例来源:origin: org.dashbuilder/dashbuilder-common-client

@EventHandler("clearAll")
  private void onClearAll(ClickEvent event) {
    presenter.onClearAll();
  }
}

代码示例来源:origin: org.dashbuilder/dashbuilder-renderer-default

@EventHandler("item")
  public void onItemClick(ClickEvent event) {
    presenter.onItemClick();
  }
}

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

@EventHandler("link")
  public void onClick(final ClickEvent event) {
    presenter.onSelect();
  }
}

代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client

@EventHandler("addVarButton")
  public void handleAddVarButton(final ClickEvent e) {
    presenter.handleAddClick();
  }
}

代码示例来源:origin: org.kie.workbench.forms/kie-wb-common-forms-editor-client

@EventHandler("prettyRadio")
  public void onPretty(ClickEvent clickEvent) {
    formRenderer.switchToMode(RenderMode.PRETTY_MODE);
  }
}

代码示例来源:origin: org.dashbuilder/dashbuilder-navigation-client

@EventHandler("mainDiv")
  public void onMainDivClick(ClickEvent event) {
    presenter.onClick();
  }
}

代码示例来源:origin: org.jbpm/jbpm-wb-executor-service-client

@EventHandler("run-now")
public void onRunNow(@ForEvent("change") final Event event) {
  selectedDate = new Date();
  dateFiltersInput.setHidden(true);
}

相关文章

EventHandler类方法