public interface HasHref
Modifier and Type | Method and Description |
---|---|
String |
getHref()
Gets the URL of the website, the link is pointing to.
|
String |
getTargetHistoryToken()
Gets the history token this link points to
|
void |
setHref(String href)
Sets the
href property of the anchor tag. |
void |
setTargetHistoryToken(String targetHistoryToken)
Sets the
href property of the anchor tag to
"#" + targetHistoryToken . |
void setHref(String href)
href
property of the anchor tag.
Use it only to set links to another page. Links on the same page or GWT
tokens should be set with #setTargetHistoryToken(String)
href
- the website URLvoid setTargetHistoryToken(String targetHistoryToken)
href
property of the anchor tag to
"#" + targetHistoryToken
.targetHistoryToken
- the history tokenString getTargetHistoryToken()
Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.