|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HasHref
Interface for widgets that can work as a link.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 URLString getHref()
void setTargetHistoryToken(String targetHistoryToken)
href property of the anchor tag to
"#" + targetHistoryToken.
targetHistoryToken - the history tokenString getTargetHistoryToken()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||