Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.customcontrols.wizard
Class WizardEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.impl.gui.customcontrols.wizard.WizardEvent
All Implemented Interfaces:
Serializable

public class WizardEvent
extends EventObject

See Also:
Serialized Form

Field Summary
static int CANCEL
          Indicates that the wizard was canceled.
static int ERROR
          Indicates that an error occured and the wizard hasn't been able to finish.
static int SUCCESS
          Indicates that the wizard triggering this event has finished successfully.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WizardEvent(Object source, int eventCode)
          Creates a new WizardEvent according to the given source and event code.
 
Method Summary
 int getEventCode()
          Returns the event code of this event : SUCCESS or ERRROR.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
Indicates that the wizard triggering this event has finished successfully.

See Also:
Constant Field Values

CANCEL

public static final int CANCEL
Indicates that the wizard was canceled.

See Also:
Constant Field Values

ERROR

public static final int ERROR
Indicates that an error occured and the wizard hasn't been able to finish.

See Also:
Constant Field Values
Constructor Detail

WizardEvent

public WizardEvent(Object source,
                   int eventCode)
Creates a new WizardEvent according to the given source and event code.

Parameters:
source - the source where this event occurred
eventCode - the event code : SUCCESS or ERROR
Method Detail

getEventCode

public int getEventCode()
Returns the event code of this event : SUCCESS or ERRROR.

Returns:
the event code of this event : SUCCESS or ERRROR

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.