|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uifextras.convenience.SetupManager
public final class SetupManager
Manages the setup procedure: checks whether the user has accepted an appropriate license agreement, opens a license acceptance dialog, and stores the result in the user preferences.
Nested Class Summary | |
---|---|
static interface |
SetupManager.WizardPanel
An interface that describes the welcome and license agreement panels. |
Method Summary | |
---|---|
static boolean |
checkLicense()
Checks and answers whether the user has accepted the current license agreement. |
static String |
getAcceptedLicense()
Returns the accepted license. |
static boolean |
hasAcceptedVersion(String version)
Checks and answers if the user has ever accepted the given version. |
static void |
incrementUsageCounter()
Increments the usage counter by one. |
static void |
setAcceptedLicense(String version)
Sets the accepted license to the specified version string. |
static void |
setLicensePanel(SetupLicensePanel panel)
Sets a license panel and overrides the default license panel. |
static void |
setWelcomePanel(SetupManager.WizardPanel panel)
Sets a welcome panel and overrides the default welcome panel. |
static int |
usageCount()
Answers how often the tool has been startet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean hasAcceptedVersion(String version)
public static String getAcceptedLicense()
public static void setAcceptedLicense(String version)
public static boolean checkLicense()
public static void setWelcomePanel(SetupManager.WizardPanel panel)
public static void setLicensePanel(SetupLicensePanel panel)
public static int usageCount()
public static void incrementUsageCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |