public final class CalendarFX extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_LICENSEE
Represents the "Licensee" feature.
|
static String |
FEATURE_PRODUCT
Represents the "Product" feature.
|
static String |
FEATURE_RUNTIME
Represents the "Runtime" feature.
|
static String |
FEATURE_VENDOR
Represents the "Vendor" feature.
|
static String |
FEATURE_VERSION
Represents the "Version" feature.
|
Constructor and Description |
---|
CalendarFX() |
Modifier and Type | Method and Description |
---|---|
static com.smardec.license4j.License |
getLicense()
Returns the license object.
|
static String |
getLicensedVersion()
Returns the version (e.g.
|
static String |
getLicensee()
Returns the name of the licensee.
|
static String |
getProduct()
Returns the product type (e.g.
|
static String |
getPublicKey()
Returns the public key used for decoding the license key.
|
static String |
getVendor()
Returns the name of the vendor (e.g.
|
static String |
getVersion()
Returns the CalendarFX version number in the format major.minor.bug
(1.0.0).
|
static boolean |
isDevelopmentLicense()
Determines if the product uses a development license.
|
static boolean |
isLicenseKeySet()
Determines if the
setLicenseKey(String) method has been called. |
static boolean |
isRuntimeLicense()
Determines if the product uses a runtime license.
|
static boolean |
isTrialLicense()
Determines if the product is run as a trial.
|
static void |
setLicenseKey(String key)
Sets the license key used for FlexGantt.
|
public static final String FEATURE_LICENSEE
public static final String FEATURE_PRODUCT
public static final String FEATURE_RUNTIME
public static final String FEATURE_VENDOR
public static final String FEATURE_VERSION
public static String getVersion()
public static String getLicensee()
public static String getProduct()
public static String getPublicKey()
public static String getVendor()
public static String getLicensedVersion()
getVersion()
.public static boolean isDevelopmentLicense()
public static boolean isRuntimeLicense()
public static boolean isTrialLicense()
public static boolean isLicenseKeySet()
setLicenseKey(String)
method has been called.public static void setLicenseKey(String key)
key
- the license keyIllegalStateException
- if the license key gets set more than oncepublic static com.smardec.license4j.License getLicense()
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.