|
Oracle JEWT API Reference Release 4.2.24.0.0 B12199-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.bali.ewt.wizard.WizardPage | +--oracle.bali.ewt.wizard.ImageWizardPage | +--oracle.bali.ewt.wizard.TitledWizardPage | +--oracle.bali.ewt.wizard.WelcomeWizardPage
WelcomeWizardPage is a TitleWizardPage subclass that conforms to the Oracle Wizard UI Spec section 4.1 on welcome pages. This is based on version 3.0 of the Oracle Wizards User Interface Specification.
A WelcomeWizardPage consists of a title that is in a larger font at the top of the page with a description in the middle of the page and a check box that lets the user decide if the welcome page should be displayed the next time the wizard is invoked.
After each invocation of the wizard clients should store the return value of isSkipNextTime(). If isSkipNextTime() is true clients should start the wizard on the second page and not the welcome page. The welcome page should not be disabled or removed.
Also the state of isSkipNextTime() should be stored during runs of an application. JEWT cannot provide a persistence mechanism so it is up to clients to store that information in their applications persistent state.
Clients can listen for changes to the skipNextTime property by adding a PropertyChangeListener to the WizardPage and listen for PROPERTY_SKIP_NEXT_TIME PropertyChangeEvents.
Field Summary | |
static java.lang.String |
PROPERTY_SHOW_NEXT_TIME
Deprecated. use PROPERTY_SKIP_NEXT_TIME instead of this. |
static java.lang.String |
PROPERTY_SKIP_NEXT_TIME
The property to listen for when the skipNextTime property changes. |
Fields inherited from class oracle.bali.ewt.wizard.WizardPage |
NOT_ADDED_INDEX |
Constructor Summary | |
WelcomeWizardPage(java.awt.Image image,
java.lang.String title,
java.lang.String description)
Construct a wizard welcome page with the given image, title, and description. |
Method Summary | |
java.lang.String |
getAccessibleDescription()
If setAccessibleDescription() has not been called than simply return getTitle(). |
java.lang.String |
getDescription()
Get the description for the welcome page |
boolean |
isShowNextTime()
Deprecated. use isSkipNextTime() instead of this. |
boolean |
isSkipNextTime()
Get if the welcome page should be skipped the next time the wizard is invoked. |
void |
setDescription(java.lang.String description)
Set the description for the welcome page |
void |
setShowNextTime(boolean showNextTime)
Deprecated. use setSkipNextTime() instead of this. |
void |
setSkipNextTime(boolean skipNextTime)
Set if the welcome page should be skipped the next time the wizard is invoked. |
Methods inherited from class oracle.bali.ewt.wizard.TitledWizardPage |
getInteractiveArea, getTitle, setInteractiveArea, setTitle |
Methods inherited from class oracle.bali.ewt.wizard.ImageWizardPage |
getImage, setImage |
Methods inherited from class oracle.bali.ewt.wizard.WizardPage |
addPropertyChangeListener, addWizardValidateListener, firePropertyChange, getCanAdvance, getCanGoBack, getContent, getIndex, getInitialFocus, getLabel, getParent, isEnabled, isSelected, isVisible, processWizardValidateEvent, removePropertyChangeListener, removeWizardValidateListener, setAccessibleDescription, setCanAdvance, setCanGoBack, setContent, setEnabled, setInitialFocus, setLabel, setVisible, toString, validatePage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String PROPERTY_SHOW_NEXT_TIME
public static final java.lang.String PROPERTY_SKIP_NEXT_TIME
Constructor Detail |
public WelcomeWizardPage(java.awt.Image image, java.lang.String title, java.lang.String description)
Method Detail |
public boolean isShowNextTime()
public void setShowNextTime(boolean showNextTime)
public boolean isSkipNextTime()
public void setSkipNextTime(boolean skipNextTime)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getAccessibleDescription()
getAccessibleDescription
in class TitledWizardPage
oracle.bali.ewt.wizard.WizardPage
WizardPage.setAccessibleDescription(java.lang.String)
|
Oracle JEWT 4.2.24 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |