本文整理了Java中org.gwtbootstrap3.client.ui.Button.addDomHandler()
方法的一些代码示例,展示了Button.addDomHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.addDomHandler()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Button
类名称:Button
方法名:addDomHandler
暂无
代码示例来源:origin: kiegroup/appformer
public void init(ColumnFilterEditor presenter) {
this.presenter = checkNotNull("presenter",
presenter);
initWidget(uiBinder.createAndBindUi(this));
filterExpandIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onExpandCollapseDetails();
}
},
ClickEvent.getType());
filterDeleteIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onDeleteFilter();
}
},
ClickEvent.getType());
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
public DataSetFilterEditorView() {
initWidget(uiBinder.createAndBindUi(this));
filterDeleteIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onNewFilterClosed(event);
}
}, ClickEvent.getType());
}
代码示例来源:origin: kiegroup/appformer
public DataSetFilterEditorView() {
initWidget(uiBinder.createAndBindUi(this));
filterDeleteIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onNewFilterClosed(event);
}
}, ClickEvent.getType());
}
代码示例来源:origin: org.dashbuilder/dashbuilder-displayer-client
public void init(ColumnFilterEditor presenter) {
this.presenter = checkNotNull("presenter",
presenter);
initWidget(uiBinder.createAndBindUi(this));
filterExpandIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onExpandCollapseDetails();
}
},
ClickEvent.getType());
filterDeleteIcon.addDomHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
onDeleteFilter();
}
},
ClickEvent.getType());
}
代码示例来源:origin: kiegroup/appformer
@Override
public EntitiesExplorerView configure(final String entityType,
final EntitiesList.View entitiesListView) {
this.entitiesListView = entitiesListView;
this.entityType = entityType;
initWidget(uiBinder.createAndBindUi(this));
searchBox.addKeyDownHandler(new KeyDownHandler() {
@Override
public void onKeyDown(KeyDownEvent event) {
if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) {
doSearch(searchBox.getText());
}
}
});
searchButton.addClickHandler(e -> doSearch(searchBox.getText()));
clearSearchButton.addDomHandler(new ClickHandler() {
@Override
public void onClick(final ClickEvent clickEvent) {
doSearch("");
}
},
ClickEvent.getType());
clearSearch();
return this;
}
代码示例来源:origin: org.uberfire/uberfire-widgets-security-management
@Override
public EntitiesExplorerView configure(final String entityType,
final EntitiesList.View entitiesListView) {
this.entitiesListView = entitiesListView;
this.entityType = entityType;
initWidget(uiBinder.createAndBindUi(this));
searchBox.addKeyDownHandler(new KeyDownHandler() {
@Override
public void onKeyDown(KeyDownEvent event) {
if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) {
doSearch(searchBox.getText());
}
}
});
searchButton.addClickHandler(e -> doSearch(searchBox.getText()));
clearSearchButton.addDomHandler(new ClickHandler() {
@Override
public void onClick(final ClickEvent clickEvent) {
doSearch("");
}
},
ClickEvent.getType());
clearSearch();
return this;
}
代码示例来源:origin: org.uberfire/uberfire-simple-docks-client
void createButton() {
itemButton.setSize(ButtonSize.SMALL);
itemButton.setType(ButtonType.LINK);
configureIcon(itemButton,
getDock().getImageIcon());
mouseEventHandler = new MouseEventHandler();
itemButton.addDomHandler(mouseEventHandler,
MouseOverEvent.getType());
itemButton.addStyleName(CSS.CSS().sideDockItem());
itemButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
if (!isOpened()) {
openAndExecuteExpandCommand();
} else {
closeAndExecuteCommand();
}
}
});
}
代码示例来源:origin: kiegroup/appformer
void createButton() {
itemButton.setSize(ButtonSize.SMALL);
itemButton.setType(ButtonType.LINK);
configureIcon(itemButton,
getDock().getImageIcon());
mouseEventHandler = new MouseEventHandler();
itemButton.addDomHandler(mouseEventHandler,
MouseOverEvent.getType());
itemButton.addStyleName(CSS.CSS().sideDockItem());
itemButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
if (!isOpened()) {
openAndExecuteExpandCommand();
} else {
closeAndExecuteCommand();
}
}
});
}
内容来源于网络,如有侵权,请联系作者删除!