org.openbp.swing.components.wizard
Class WizardEvent

java.lang.Object
  extended by org.openbp.swing.components.wizard.WizardEvent

public class WizardEvent
extends java.lang.Object

Wizard event.

Author:
Heiko Erhardt

Field Summary
static int BACK
          Event type: 'Back' button pressed
 boolean cancel
          Cancel flag
static int CANCEL
          Event type: 'Cancel' button pressed
static int CLOSE
          Event type: 'Close' button pressed
 int eventType
          Event type (see the constants of this class)
static int FINISH
          Event type: 'Finish' button pressed
static int FIRST
          Event type: First page displayed
static int NEXT
          Event type: 'Next' button pressed
static int SHOW
          Event type: Page is being shown
 Wizard wizard
          Wizard that caused the event
 
Constructor Summary
WizardEvent(Wizard wizard, int eventType)
          Default constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW

public static final int SHOW
Event type: Page is being shown

See Also:
Constant Field Values

CANCEL

public static final int CANCEL
Event type: 'Cancel' button pressed

See Also:
Constant Field Values

FINISH

public static final int FINISH
Event type: 'Finish' button pressed

See Also:
Constant Field Values

NEXT

public static final int NEXT
Event type: 'Next' button pressed

See Also:
Constant Field Values

BACK

public static final int BACK
Event type: 'Back' button pressed

See Also:
Constant Field Values

FIRST

public static final int FIRST
Event type: First page displayed

See Also:
Constant Field Values

CLOSE

public static final int CLOSE
Event type: 'Close' button pressed

See Also:
Constant Field Values

wizard

public Wizard wizard
Wizard that caused the event


eventType

public int eventType
Event type (see the constants of this class)


cancel

public boolean cancel
Cancel flag

Constructor Detail

WizardEvent

public WizardEvent(Wizard wizard,
                   int eventType)
Default constructor.

Parameters:
wizard - Wizard that caused the event
eventType - Event type (see the constants of this class)


Copyright © 2011. All Rights Reserved.