Oracle JEWT API Reference
Release 4.2.24.0.0
B12199-01

oracle.bali.ewt.wizard
Class WizardEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--oracle.bali.ewt.wizard.WizardEvent
All Implemented Interfaces:
java.io.Serializable

public class WizardEvent
extends java.awt.AWTEvent

The WizardEvent class extends the AWTEvent class by defining new event id constants for events delivered by the Wizard component.

See Also:
BaseWizard, WizardListener, Serialized Form

Field Summary
static int APPLY_STATE
          Event sent when the user asks to apply the current state of the wizard.
static int CANCELED
          Event sent when the user cancels the wizard.
static int FINISHED
          Event sent when the user has finished the wizard.
static int SELECTION_CHANGED
          Event sent after a WizardPage has been selected.
static int VALIDATE_PAGE
          Event sent when the user is about to finish the wizard, apply the current state, or switch to another page.
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WizardEvent(java.lang.Object source, int id, WizardPage page)
          Constructs a WizardEvent with the specified source, id, and page.
 
Method Summary
 WizardPage getPage()
          Retrieves the page associated with this event.
 
Methods inherited from class java.awt.AWTEvent
consume, finalize, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALIDATE_PAGE

public static final int VALIDATE_PAGE
Event sent when the user is about to finish the wizard, apply the current state, or switch to another page. Generally, this event is not delivered when the user hits the "Previous" button, but see the ReentrantWizard.

This event supports the Cancelable interface; the client can be forced to remain on the current page by calling the cancel() method on the event. The associated WizardPage object is always the currently selected page.


SELECTION_CHANGED

public static final int SELECTION_CHANGED
Event sent after a WizardPage has been selected. This event is delivered after any VALIDATE_PAGE events have been delivered, and only if those validate events aren't cancelled.

APPLY_STATE

public static final int APPLY_STATE
Event sent when the user asks to apply the current state of the wizard. The associated page is the currently selected page. This event is delivered after a VALIDATE_PAGE event has been delivered, and only if that validate event isn't cancelled.

CANCELED

public static final int CANCELED
Event sent when the user cancels the wizard. No VALIDATE_PAGE event is delivered.

FINISHED

public static final int FINISHED
Event sent when the user has finished the wizard. This event is delivered after a VALIDATE_PAGE event has been delivered, and only if that validate event isn't cancelled.
Constructor Detail

WizardEvent

public WizardEvent(java.lang.Object source,
                   int id,
                   WizardPage page)
Constructs a WizardEvent with the specified source, id, and page.
Parameters:
source - The object source. The WizardPage for VALIDATE_PAGE events, otherwise the Wizard.
id - The event type
page - The page associated with the event
Method Detail

getPage

public WizardPage getPage()
Retrieves the page associated with this event.

Oracle JEWT 4.2.24

Copyright © [xxxx],2003, Oracle. All Rights Reserved.