本文整理了Java中com.vaadin.ui.Panel.addActionHandler()
方法的一些代码示例,展示了Panel.addActionHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Panel.addActionHandler()
方法的具体详情如下:
包路径:com.vaadin.ui.Panel
类名称:Panel
方法名:addActionHandler
暂无
代码示例来源:origin: org.activiti/activiti-explorer
protected void initAddSubTaskPanelKeyboardActions() {
addSubTaskPanel.addActionHandler(new Handler() {
public void handleAction(Action action, Object sender, Object target) {
if ("escape".equals(action.getCaption())) {
代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin
@Override
public PanelBuilder withActionHandler(Handler actionHandler) {
getInstance().addActionHandler(actionHandler);
return builder();
}
代码示例来源:origin: com.holon-platform.vaadin/holon-vaadin
@Override
public PanelBuilder withActionHandler(Handler actionHandler) {
getInstance().addActionHandler(actionHandler);
return builder();
}
代码示例来源:origin: org.opencms/opencms-core
/**
* Creates the main component of the editor with all sub-components.
* @return the completely filled main component of the editor.
* @throws IOException thrown if setting the table's content data source fails.
* @throws CmsException thrown if setting the table's content data source fails.
*/
private Component createMainComponent() throws IOException, CmsException {
VerticalLayout mainComponent = new VerticalLayout();
mainComponent.setSizeFull();
mainComponent.addStyleName("o-message-bundle-editor");
m_table = createTable();
Panel navigator = new Panel();
navigator.setSizeFull();
navigator.setContent(m_table);
navigator.addActionHandler(new CmsMessageBundleEditorTypes.TableKeyboardHandler(m_table));
navigator.addStyleName("v-panel-borderless");
mainComponent.addComponent(m_options.getOptionsComponent());
mainComponent.addComponent(navigator);
mainComponent.setExpandRatio(navigator, 1f);
m_options.updateShownOptions(m_model.hasMasterMode(), m_model.canAddKeys());
return mainComponent;
}
代码示例来源:origin: org.activiti/activiti-explorer
textFieldPanel.addActionHandler(new Handler() {
public void handleAction(Action action, Object sender, Object target) {
addNewComment(commentInputField.getValue().toString());
代码示例来源:origin: eclipse/hawkbit
tablePanel.setHeight(100.0F, Unit.PERCENTAGE);
tablePanel.setContent(table);
tablePanel.addActionHandler(getShortCutKeysHandler(i18n));
tablePanel.addStyleName(ValoTheme.PANEL_BORDERLESS);
tableHeaderLayout.addComponent(tablePanel);
代码示例来源:origin: org.eclipse.hawkbit/hawkbit-ui
tablePanel.setHeight(100.0F, Unit.PERCENTAGE);
tablePanel.setContent(table);
tablePanel.addActionHandler(getShortCutKeysHandler(i18n));
tablePanel.addStyleName(ValoTheme.PANEL_BORDERLESS);
tableHeaderLayout.addComponent(tablePanel);
内容来源于网络,如有侵权,请联系作者删除!