java.lang.Objectjava.util.EventObject
com.install4j.api.InstallerEvent
public class InstallerEvent
This class represents an application event and is dispatched to listeners of type InstallerEventListener. Event listeners are registered in the InstallerWizardContext. All custom screens implement this interface and are automatically registered with their associated context.
| Field Summary | |
|---|---|
static int |
EVENT_AFTER_INSTALLATION
This event type notifies listeners that the installer has just finished the installation. |
static int |
EVENT_BEFORE_INSTALLATION
This event type notifies listeners that the installer is just about to begin the installation. |
static int |
EVENT_CANCELED
This event type notifies listeners that the installer has been canceled and is just about to exit. |
static int |
EVENT_FINISHED
This event type notifies listeners that the installer has completed is just about to exit. |
static int |
EVENT_START
This event type notifies listeners that the installer has been initialized and the wizard is just about to be shown. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
InstallerEvent(InstallerWizardContext context,
int type)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getType()
Get the type of the event. |
java.lang.String |
toString()
Return a verbose decription of this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EVENT_START
public static final int EVENT_BEFORE_INSTALLATION
public static final int EVENT_AFTER_INSTALLATION
public static final int EVENT_FINISHED
public static final int EVENT_CANCELED
| Constructor Detail |
|---|
public InstallerEvent(InstallerWizardContext context,
int type)
context - the contexttype - the event type.| Method Detail |
|---|
public int getType()
public java.lang.String toString()
toString in class java.util.EventObject