本文整理汇总了Java中com.google.gwt.user.client.Window.Location.assign方法的典型用法代码示例。如果您正苦于以下问题:Java Location.assign方法的具体用法?Java Location.assign怎么用?Java Location.assign使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.gwt.user.client.Window.Location
的用法示例。
在下文中一共展示了Location.assign方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: buildUrlAndGoToGraphPage
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
private void buildUrlAndGoToGraphPage(List<ResourceListItem> reports) {
StringBuilder sb = new StringBuilder();
sb.append(m_baseUrl + "graph/results.htm?reports=all&resourceId=");
boolean first = true;
for(ResourceListItem item : reports) {
if(!first) {
sb.append("&resourceId=");
}
sb.append(item.getId());
first = false;
}
Location.assign(sb.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:18,代码来源:ReportSelectListPresenter.java示例2: onResourceItemSelected
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onResourceItemSelected() {
StringBuilder url = new StringBuilder(getBaseUrl());
url.append("graph/chooseresource.htm");
url.append("?reports=all");
url.append("&parentResourceId=" + getView().getSelectedResource().getId());
Location.assign(url.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:10,代码来源:DefaultResourceListPresenter.java示例3: onResourceItemSelected
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onResourceItemSelected() {
StringBuilder urlBuilder = new StringBuilder();
urlBuilder.append(getBaseUrl() + "/KSC/customView.htm");
urlBuilder.append("?type=" + getView().getSelectedResource().getType());
urlBuilder.append("&report=" + getView().getSelectedResource().getId());
Location.assign(urlBuilder.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:10,代码来源:KscReportListPresenter.java示例4: onPhysicalInterfaceSelected
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onPhysicalInterfaceSelected(PhysicalInterfaceSelectionEvent event) {
StringBuilder urlBuilder = new StringBuilder();
urlBuilder.append(getBaseHref() + "element/snmpinterface.jsp");
urlBuilder.append("?node=" + getNodeId());
urlBuilder.append("&ifindex=" + event.getIfIndex());
Location.assign(urlBuilder.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:10,代码来源:PageableNodeList.java示例5: onIpInterfaceSelection
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onIpInterfaceSelection(IpInterfaceSelectionEvent event) {
StringBuilder urlBuilder = new StringBuilder();
urlBuilder.append(getBaseHref() + "element/interface.jsp");
urlBuilder.append("?ipinterfaceid=" + event.getIpInterfaceId());
Location.assign(urlBuilder.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:9,代码来源:PageableNodeList.java示例6: onNodeSelected
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onNodeSelected() {
StringBuilder builder = new StringBuilder();
builder.append(getBaseHref() + "graph/chooseresource.htm");
builder.append("?reports=all");
builder.append("&parentResourceType=node");
builder.append("&parentResource=" + m_view.getSelectedNode().getId());
Location.assign(builder.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:11,代码来源:SuggestionComboboxPresenter.java示例7: onKscReportSelected
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
@Override
public void onKscReportSelected() {
StringBuilder urlBuilder = new StringBuilder();
urlBuilder.append(getBaseHref() + "KSC/customView.htm");
urlBuilder.append("?type=custom");
urlBuilder.append("&report=" + m_view.getSelectedReport().getId());
Location.assign(urlBuilder.toString());
}
开发者ID:qoswork,项目名称:opennmszh,代码行数:9,代码来源:KscComboboxPresenter.java示例8: doSignIn
import com.google.gwt.user.client.Window.Location; //导入方法依赖的package包/类
/** Sign the user into the application. */
public static void doSignIn(String token) {
Location.assign(loginRedirect(token));
}
开发者ID:gerrit-review,项目名称:gerrit,代码行数:5,代码来源:Gerrit.java本文标签属性:
示例:示例的拼音
代码:代码生成器
java:java自行车
Location:location是什么意思
assign:assigning