@JsType(isNative=true, name="Location", namespace="<global>") public class Location extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Location.Protocol |
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
void |
assign(String url) |
String |
getHash() |
String |
getHost() |
String |
getHostName() |
String |
getHRef() |
String |
getNativeProtocol() |
String |
getOrigin() |
String |
getPassword() |
String |
getPathName() |
String |
getPort() |
Location.Protocol |
getProtocol() |
String |
getSearch() |
String |
getUserName() |
void |
reload(boolean forcedReload) |
void |
replace(String url) |
void |
setHash(String hash) |
void |
setHost(String host) |
void |
setHostName(String hostName) |
void |
setHRef(String href) |
void |
setNativeProtocol(String protocol) |
void |
setPassword(String password) |
void |
setPathName(String pathName) |
void |
setPort(String port) |
Location |
setProtocol(Location.Protocol protocol) |
void |
setSearch(String search) |
void |
setUserName(String userName) |
String |
toString() |
@JsProperty(name="href") public String getHRef()
@JsProperty(name="href") public void setHRef(String href)
@JsProperty(name="protocol") public String getNativeProtocol()
@JsProperty(name="protocol") public void setNativeProtocol(String protocol)
@JsOverlay public final Location.Protocol getProtocol()
@JsOverlay public final Location setProtocol(Location.Protocol protocol)
@JsProperty(name="host") public String getHost()
@JsProperty(name="host") public void setHost(String host)
@JsProperty(name="hostname") public String getHostName()
@JsProperty(name="hostname") public void setHostName(String hostName)
@JsProperty(name="port") public String getPort()
@JsProperty(name="port") public void setPort(String port)
@JsProperty(name="pathname") public String getPathName()
@JsProperty(name="pathname") public void setPathName(String pathName)
@JsProperty(name="search") public String getSearch()
@JsProperty(name="search") public void setSearch(String search)
@JsProperty(name="hash") public String getHash()
@JsProperty(name="hash") public void setHash(String hash)
@JsProperty(name="username") public String getUserName()
@JsProperty(name="username") public void setUserName(String userName)
@JsProperty(name="password") public String getPassword()
@JsProperty(name="password") public void setPassword(String password)
@JsProperty(name="origin") public String getOrigin()
public void assign(String url)
public void reload(boolean forcedReload)
public void replace(String url)
Copyright © 2018 Xalys. All rights reserved.