public final class LicenseManagementWizard extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCEL_RETURN_CODE
Indicates that the "Cancel" component was pressed to close the dialog.
|
static int |
FINISH_RETURN_CODE
Indicates that the "Finish" component was pressed to close the dialog.
|
| Constructor and Description |
|---|
LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager)
Constructs a license wizard.
|
LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager,
Dialog owner)
Constructs a license wizard for the given owner dialog.
|
LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager,
Frame owner)
Constructs a license wizard for the given owner frame.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReturnCode()
Retrieves the last return code set by the dialog.
|
boolean |
isUninstallButtonVisible()
Returns
true if and only if the uninstall-button is visible on
the welcome panel. |
void |
setUninstallButtonVisible(boolean visible)
Sets the visibility of the uninstall-button.
|
int |
showModalDialog()
Packs and displays the modal wizard dialog.
|
public static final int CANCEL_RETURN_CODE
public static final int FINISH_RETURN_CODE
public LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager)
manager - the consumer license manager.public LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager,
Dialog owner)
manager - the consumer license manager.owner - the owner dialog.public LicenseManagementWizard(net.truelicense.api.ConsumerLicenseManager manager,
Frame owner)
manager - the consumer license manager.owner - the owner frame.public int getReturnCode()
public boolean isUninstallButtonVisible()
true if and only if the uninstall-button is visible on
the welcome panel.
By default, this button is not visible.public void setUninstallButtonVisible(boolean visible)
public int showModalDialog()
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.