|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.inet.editor.HyperlinkInputDialog
public class HyperlinkInputDialog
Displays a dialog to add, edit or remove the hyperlink property from a text part.
Field Summary | |
---|---|
static int |
CANCEL_OPTION
|
static int |
OK_OPTION
|
static int |
REMOVE_LINK_OPTION
|
Constructor Summary | |
---|---|
HyperlinkInputDialog(java.lang.String url,
java.lang.String displaytext)
Create the dialog with a preset URL and a preset display string |
Method Summary | |
---|---|
java.lang.String |
getDisplaytext()
Returns the hover text defined by the user |
java.lang.String |
getUrl()
Returns the URL defined by the user |
int |
showDialog(java.awt.Component caller)
Shows the dialog |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CANCEL_OPTION
public static final int OK_OPTION
public static final int REMOVE_LINK_OPTION
Constructor Detail |
---|
public HyperlinkInputDialog(java.lang.String url, java.lang.String displaytext)
url
- the URL to link to, may be nulldisplaytext
- the hover text, may be nullMethod Detail |
---|
public int showDialog(java.awt.Component caller)
caller
- the parent component
CANCEL_OPTION
,
OK_OPTION
,
REMOVE_LINK_OPTION
public java.lang.String getUrl()
public java.lang.String getDisplaytext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |