gui.dialog
Class JAPDialog.AbstractLinkedURLAdapter

java.lang.Object
  extended by gui.dialog.JAPDialog.LinkedInformationAdapter
      extended by 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
           
 
Fields inherited from interface gui.dialog.JAPDialog.ILinkedInformation
MSG_MORE_INFO, TYPE_CHECKBOX_FALSE, TYPE_CHECKBOX_TRUE, TYPE_DEFAULT, TYPE_LINK, TYPE_SELECTABLE_LINK
 
Constructor Summary
JAPDialog.AbstractLinkedURLAdapter()
           
 
Method Summary
 void clicked(boolean a_bState)
          Opens the URL.
 java.lang.String getMessage()
          Returns the URL that may be clicked.
 java.lang.String getTooltipText()
           
 int getType()
          Returns TYPE_LINK.
abstract  java.net.URL getUrl()
           
 boolean isApplicationModalityForced()
          Returns false by default
 
Methods inherited from class gui.dialog.JAPDialog.LinkedInformationAdapter
isCloseWindowActive, isModal, isOnTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAILTO

private static final java.lang.String MAILTO
See Also:
Constant Field Values
Constructor Detail

JAPDialog.AbstractLinkedURLAdapter

public JAPDialog.AbstractLinkedURLAdapter()
Method Detail

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