gui.dialog
Class JAPDialog.AbstractLinkedURLAdapter
java.lang.Object
gui.dialog.JAPDialog.LinkedInformationAdapter
gui.dialog.JAPDialog.AbstractLinkedURLAdapter
- All Implemented Interfaces:
- JAPDialog.ILinkedInformation
- Enclosing class:
- JAPDialog
public abstract static class JAPDialog.AbstractLinkedURLAdapter
- extends JAPDialog.LinkedInformationAdapter
May be used to show a URL.
Field Summary |
private static java.lang.String |
MAILTO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAILTO
private static final java.lang.String MAILTO
- See Also:
- Constant Field Values
JAPDialog.AbstractLinkedURLAdapter
public JAPDialog.AbstractLinkedURLAdapter()
getUrl
public abstract java.net.URL getUrl()
getTooltipText
public java.lang.String getTooltipText()
- Specified by:
getTooltipText
in interface JAPDialog.ILinkedInformation
- Overrides:
getTooltipText
in class JAPDialog.LinkedInformationAdapter
getMessage
public java.lang.String getMessage()
- Returns the URL that may be clicked.
- Specified by:
getMessage
in interface JAPDialog.ILinkedInformation
- Overrides:
getMessage
in class JAPDialog.LinkedInformationAdapter
- Returns:
- the URL that may be clicked
clicked
public void clicked(boolean a_bState)
- Opens the URL.
- Specified by:
clicked
in interface JAPDialog.ILinkedInformation
- Overrides:
clicked
in class JAPDialog.LinkedInformationAdapter
- Parameters:
a_bState
- is ignored
getType
public final int getType()
- Returns TYPE_LINK.
- Specified by:
getType
in interface JAPDialog.ILinkedInformation
- Overrides:
getType
in class JAPDialog.LinkedInformationAdapter
- Returns:
- TYPE_LINK
isApplicationModalityForced
public boolean isApplicationModalityForced()
- Returns false by default
- Specified by:
isApplicationModalityForced
in interface JAPDialog.ILinkedInformation
- Overrides:
isApplicationModalityForced
in class JAPDialog.LinkedInformationAdapter
- Returns:
- false