本文整理了Java中com.smartgwt.client.widgets.Window.destroy()
方法的一些代码示例,展示了Window.destroy()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.destroy()
方法的具体详情如下:
包路径:com.smartgwt.client.widgets.Window
类名称:Window
方法名:destroy
暂无
代码示例来源:origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt
private void destroyWindow() {
if (window != null) {
window.destroy();
window = null;
}
}
代码示例来源:origin: org.geomajas.plugin/geomajas-plugin-geocoder-gwt
private void removeAltWindow() {
if (null != altWindow) {
altWindow.destroy();
altWindow = null;
}
}
代码示例来源:origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt
public void onClick(ClickEvent event) {
addWindow.destroy();
}
});
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
@Override
public void destroy() {
if (styleHelper != null) {
styleHelper.destroy();
}
super.destroy();
}
代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt
public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {
callback.onTokenChanged(role.getKey(), role.getValue());
winModal.destroy();
}
});
代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer
@Override
public void onCloseClick(CloseClickEvent event) {
//service call to remove sessionId temp direcotry
JcrExplorer.service.addNewNode("", "", "", null, "", true, new AsyncCallback<String>() {
@Override
public void onSuccess(String result) {
}
@Override
public void onFailure(Throwable caught) {
}
});
addNewNodeWindow.destroy();
}
});
代码示例来源:origin: org.n52.sensorweb/sensorwebclient-ui
public void onClick(ClickEvent event) {
if (form.validate(false)) {
String userName = (String) userNameItem.getValue();
String name = (String) nameItem.getValue();
// String password = (String) passwordItem.getValue();
String email = (String) emailItem.getValue();
UserRole role;
String roleString = (String) roleItem.getValue();
if (roleString.equals(UserRole.ADMIN.toString())) {
role = UserRole.ADMIN;
} else {
role = UserRole.USER;
}
// create new User
UserDTO user = new UserDTO(Integer.valueOf(EditUserWindow.record.getId()), userName, name, null, email, role, new Date());
user.setActivated(true);
EventBus.getMainEventBus().fireEvent(new UpdateUserEvent(currentSession(), user));
EditUserWindow.window.destroy();
}
}
});
内容来源于网络,如有侵权,请联系作者删除!