|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.westofj.wui.Widget org.westofj.wui.WAbstractButton org.westofj.wui.WLink org.westofj.wui.WExternalLink
Presents a link that forwards the user to the specified URL. Processing for this
redirection is first passed through the WUI event framework. The rendered HTML
link returns the user to the WUI framework which processes all active listeners.
The user is then presented with a redirection page which forwards them to the
specified URL. For a more direct link that does not involve server side procesing
use WAnchor
.
Constructor Summary | |
WExternalLink()
Constructs an external link. |
|
WExternalLink(String text,
String url)
Constructs an external link with the specified label and URL. |
|
WExternalLink(WDisplayable text,
String url)
Constructs an external link with the specified label and URL. |
Method Summary | |
String |
getUrl()
Returns the target of the external link. |
void |
setUrl(String url)
Sets the target of the external link. |
Methods inherited from class org.westofj.wui.WLink |
getColor, getFont, getLinkColor, render, setColor, setFont, setLinkColor |
Methods inherited from class org.westofj.wui.WAbstractButton |
addActionListener, getActionCommand, getText, getText, handleParams, hasActionListeners, isEnabled, press, removeActionListener, setActionCommand, setEnabled, setText, setText |
Methods inherited from class org.westofj.wui.Widget |
addChangeListener, getRunner, handleNoParams, hasChangeListeners, removeChangeListener, stateChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WExternalLink()
public WExternalLink(String text, String url)
text
- the label of the external link.url
- the target of the external link.public WExternalLink(WDisplayable text, String url)
text
- the label of the external link.url
- the target of the external link.Method Detail |
public String getUrl()
public void setUrl(String url)
url
- the target of the external link.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |