Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.popup
Class ApplicationsPopupPageProvider

java.lang.Object
  extended by oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
      extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.popup.ApplicationsPopupPageProvider
All Implemented Interfaces:
java.util.EventListener, oracle.bali.ewt.wizard.WizardListener, oracle.bali.ewt.wizard.WizardValidateListener, oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider

public class ApplicationsPopupPageProvider
extends oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter

Class that acts as a provider for the applicationsPopup wizard. It supplies everything needed for the wizard to run.

Author:
David Groves <david.groves@oracle.com>

Field Summary
 
Fields inherited from interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
PROPERTY_CAN_FINISH, PROPERTY_NEXT_ENABLED
 
Constructor Summary
ApplicationsPopupPageProvider()
          Construct this provide.
ApplicationsPopupPageProvider(ApplicationsPopupModel model)
          Construct this creator.
 
Method Summary
protected  oracle.bali.ewt.wizard.WizardPage createPage(int i)
          Create our WizardPage for index i.
 void dispose(boolean finished)
          Dispose this wizard.
 boolean getCanFinish()
          Can the user finish this wizard?
 oracle.bali.xml.model.XmlContext getContext()
          Get the xmlContext.
protected  oracle.bali.ewt.wizard.WizardPage getFinishPage()
           
protected  int getPageCount()
          Get the number of pages to show.
 oracle.bali.ewt.wizard.WizardPage getWizardPage(int i)
          Get the wizard page at index i (0 based).
 int getWizardPageCount()
          Get the wizard page count.
 java.lang.String getWizardTitle()
          Get the wizard title.
 void initializePages()
          Initialize the pages.
 boolean isFinishPageIncluded()
          Is a finish page to be included?
 void wizardFinished(oracle.bali.ewt.wizard.WizardEvent e)
          Perform action on "Finish" of wizard.
 
Methods inherited from class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
addPropertyChangeListener, firePropertyChange, getNode, getWelcomePage, getWizardListener, getWizardValidateListener, getXmlKey, isCreation, isNextEnabled, removePropertyChangeListener, setCanFinish, setContext, setNextEnabled, wizardApplyState, wizardCanceled, wizardSelectionChanged, wizardValidatePage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsPopupPageProvider

public ApplicationsPopupPageProvider()
Construct this provide. This default constructor will be called by the creator when called from Jdev infrastructure.


ApplicationsPopupPageProvider

public ApplicationsPopupPageProvider(ApplicationsPopupModel model)
Construct this creator. This constructor will be called by the creator when called by other code that wishs to inject a model pre-populated with rules.

Parameters:
model - pre-populated model object.
Method Detail

getWizardPageCount

public int getWizardPageCount()
Get the wizard page count.

Specified by:
getWizardPageCount in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
getWizardPageCount in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Returns:
number of pages in wizard.

getWizardPage

public oracle.bali.ewt.wizard.WizardPage getWizardPage(int i)
Get the wizard page at index i (0 based).

Specified by:
getWizardPage in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
getWizardPage in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Parameters:
i - zero based index [0 - getWizardPageCount() - 1]
Returns:
relevant wizard page.

dispose

public void dispose(boolean finished)
Dispose this wizard.

Specified by:
dispose in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
dispose in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Parameters:
finished - was the wizard finished

wizardFinished

public void wizardFinished(oracle.bali.ewt.wizard.WizardEvent e)
Perform action on "Finish" of wizard.

Specified by:
wizardFinished in interface oracle.bali.ewt.wizard.WizardListener
Overrides:
wizardFinished in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Parameters:
e - wizard event

isFinishPageIncluded

public boolean isFinishPageIncluded()
Is a finish page to be included?

Specified by:
isFinishPageIncluded in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
isFinishPageIncluded in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Returns:
true if finish page is to be included, false otherwise.

getFinishPage

protected oracle.bali.ewt.wizard.WizardPage getFinishPage()

getContext

public oracle.bali.xml.model.XmlContext getContext()
Get the xmlContext.

Overrides:
getContext in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Returns:
xmlContext constructed with.

initializePages

public void initializePages()
Initialize the pages.

Overrides:
initializePages in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter

getPageCount

protected int getPageCount()
Get the number of pages to show.

Returns:
number of pages.

createPage

protected oracle.bali.ewt.wizard.WizardPage createPage(int i)
Create our WizardPage for index i.

Parameters:
i - index of page, starts at zero and does not include the welcome or finish pages.
Returns:
relevant wizard page

getWizardTitle

public java.lang.String getWizardTitle()
Get the wizard title.

Specified by:
getWizardTitle in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
getWizardTitle in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Returns:
wizard title

getCanFinish

public boolean getCanFinish()
Can the user finish this wizard?

Specified by:
getCanFinish in interface oracle.bali.xml.gui.swing.wizard.NodeWizardPageProvider
Overrides:
getCanFinish in class oracle.bali.xml.gui.swing.wizard.NodeWizardPageAdapter
Returns:
true in call cases, this wizard can be finished at any time.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.