Class LicenseAgreement
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwindx.applications.sar.LicenseAgreement
-
- All Implemented Interfaces:
AVList
,MessageListener
,WWObject
,java.beans.PropertyChangeListener
,java.util.EventListener
public class LicenseAgreement extends WWObjectImpl
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DIALOG_PREFERRED_SIZE
static java.lang.String
DIALOG_TITLE
static java.lang.String
LICENSE_ACCEPTED
static java.lang.String
LICENSE_ACCEPTED_AND_INSTALLED
static java.lang.String
LICENSE_CONTENT_TYPE
static java.lang.String
LICENSE_DECLINED
static java.lang.String
LICENSE_KEY_CACHE_NAME
-
Constructor Summary
Constructors Constructor Description LicenseAgreement(java.lang.Object license, java.lang.String licenseKey)
LicenseAgreement(java.lang.Object license, java.lang.String licenseKey, AVList params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
checkForLicenseAgreement(java.awt.Component parentComponent)
int
displayLicenseAgreement(java.awt.Component parentComponent)
java.lang.Object
getLicense()
java.lang.String
getLicenseKey()
boolean
isLicenseInstalled()
-
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
-
-
-
Field Detail
-
LICENSE_KEY_CACHE_NAME
public static final java.lang.String LICENSE_KEY_CACHE_NAME
- See Also:
- Constant Field Values
-
LICENSE_CONTENT_TYPE
public static final java.lang.String LICENSE_CONTENT_TYPE
- See Also:
- Constant Field Values
-
DIALOG_PREFERRED_SIZE
public static final java.lang.String DIALOG_PREFERRED_SIZE
- See Also:
- Constant Field Values
-
DIALOG_TITLE
public static final java.lang.String DIALOG_TITLE
- See Also:
- Constant Field Values
-
LICENSE_ACCEPTED
public static final java.lang.String LICENSE_ACCEPTED
- See Also:
- Constant Field Values
-
LICENSE_ACCEPTED_AND_INSTALLED
public static final java.lang.String LICENSE_ACCEPTED_AND_INSTALLED
- See Also:
- Constant Field Values
-
LICENSE_DECLINED
public static final java.lang.String LICENSE_DECLINED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LicenseAgreement
public LicenseAgreement(java.lang.Object license, java.lang.String licenseKey)
-
LicenseAgreement
public LicenseAgreement(java.lang.Object license, java.lang.String licenseKey, AVList params)
-
-
Method Detail
-
getLicense
public final java.lang.Object getLicense()
-
getLicenseKey
public final java.lang.String getLicenseKey()
-
checkForLicenseAgreement
public java.lang.String checkForLicenseAgreement(java.awt.Component parentComponent)
-
displayLicenseAgreement
public int displayLicenseAgreement(java.awt.Component parentComponent)
-
isLicenseInstalled
public boolean isLicenseInstalled()
-
-