Constructor and Description |
---|
Location(BridgeContext ctx)
Creates a new Location.
|
Modifier and Type | Method and Description |
---|---|
void |
assign(java.lang.String url)
Invocation of this method causes the user agent to navigate to the
supplied location.
|
void |
reload()
The user agent reloads the current document.
|
java.lang.String |
toString()
Returns the URL of this location as a String.
|
public Location(BridgeContext ctx)
ctx
- the bridge contextpublic void assign(java.lang.String url)
public void reload()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Apache Software Foundation. All Rights Reserved.