Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.datautil.gui
Class DefaultBuilderDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--oracle.bali.ewt.wizard.WizardDialog
                                      |
                                      +--oracle.dss.datautil.gui.DefaultBuilderDialog
All Implemented Interfaces:
javax.accessibility.Accessible, BuilderDialog, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
Direct Known Subclasses:
CalcBuilderDialog

public class DefaultBuilderDialog
extends oracle.bali.ewt.wizard.WizardDialog
implements BuilderDialog

Default implementation of a container for multiple panels.

See Also:
Serialized Form

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
DefaultBuilderDialog(BuilderContext builderContext, java.awt.Dialog parentDialog, java.lang.String strTitle)
          Constructor that specifies the dialog that serves as the parent for the DefaultBuilderDialog object.
DefaultBuilderDialog(BuilderContext builderContext, java.awt.Frame parentFrame, java.lang.String strTitle)
          Constructor that specifies the frame that serves as the parent for the DefaultBuilderDialog object.

 

Method Summary
 BuilderContext getBuilderContext()
          Retrieves the BuilderContext that is associated with the this BuilderDialog.
 java.awt.Component getComponent()
          Retrieves the component that is associated with the BuilderDialog.
 java.lang.String getDefaultTitle()
          Retrieves the default title for the BuilderDialog.
 StandardPanel getPanel(int nIndex)
          Retrieves the panel for the specified index.
 StandardPanel getPanel(java.lang.String panelId)
          Retrieves the panel with the specified identifier
 java.lang.String getPanelId(int nIndex)
          Retrieves the panel identifier at the specified index.
 int getPanelIndex(java.lang.String panelId)
          Retrieves the index of the panel in the wizard.
 oracle.bali.ewt.wizard.WizardPage getWizardPage(int nIndex)
          Retrieves the wizard page for the specified index.
 oracle.bali.ewt.wizard.WizardPage getWizardPage(java.lang.String panelId)
          Retrieves the wizard page for the specified panel identifier.
 boolean initialize()
          Initializes the contents of the BuilderDialog.
 boolean refresh()
          Refreshes the contents of the BuilderDialog.
 boolean run()
          Signals the BuilderDialog to run the dialog.
 boolean runDialog()
           
 boolean setPanelVisible(java.lang.String panelId, boolean bVisible)
          Specifies whether the specified panel is to be shown or hidden.

 

Methods inherited from class oracle.bali.ewt.wizard.WizardDialog
dispose, getCenterOver, getLocale, getPreferredSize, getWelcomeWizardPage, getWizard, getWizardTitle, isCancelled, isFinishPageIncluded, isWelcomePageIncluded, setCenterOver, setFinishPageIncluded, setLocale, setWelcomePageIncluded, setWelcomeWizardPage, setWizard, setWizardTitle

 

Methods inherited from class javax.swing.JDialog
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, update

 

Methods inherited from class java.awt.Dialog
addNotify, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show

 

Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, removeWindowListener, setCursor, toBack, toFront

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setFont, validate

 

Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

DefaultBuilderDialog

public DefaultBuilderDialog(BuilderContext builderContext,
                            java.awt.Dialog parentDialog,
                            java.lang.String strTitle)
Constructor that specifies the dialog that serves as the parent for the DefaultBuilderDialog object.
Parameters:
builderContext - The BuilderContext object that is associated with this Builder object.
parentDialog - The parent dialog of the builder.
strTitle - The title of the dialog.

DefaultBuilderDialog

public DefaultBuilderDialog(BuilderContext builderContext,
                            java.awt.Frame parentFrame,
                            java.lang.String strTitle)
Constructor that specifies the frame that serves as the parent for the DefaultBuilderDialog object.
Parameters:
builderContext - The BuilderContext object that is associated with this Builder object.
parentFrame - The parent frame of the builder.
strTitle - The title of the dialog.
Method Detail

getDefaultTitle

public java.lang.String getDefaultTitle()
Retrieves the default title for the BuilderDialog.
Returns:
The default title.

getPanel

public StandardPanel getPanel(int nIndex)
Retrieves the panel for the specified index.
Parameters:
nIndex - The index of the specified panel.

getPanel

public StandardPanel getPanel(java.lang.String panelId)
Retrieves the panel with the specified identifier
Parameters:
panelId - The identifier of the specified panel.

getPanelId

public java.lang.String getPanelId(int nIndex)
Retrieves the panel identifier at the specified index.
Parameters:
nIndex - The index of the specified panel.
Returns:
The identifier of the specified panel.

getPanelIndex

public int getPanelIndex(java.lang.String panelId)
Retrieves the index of the panel in the wizard.
Parameters:
panelId - The identifier of the specified panel.
Returns:
The index of the panel with the specified panel identifier.

getWizardPage

public oracle.bali.ewt.wizard.WizardPage getWizardPage(int nIndex)
Retrieves the wizard page for the specified index.
Parameters:
nIndex - The index of the panel in the wizard.
Returns:
The WizardPage object for the specified index.

getWizardPage

public oracle.bali.ewt.wizard.WizardPage getWizardPage(java.lang.String panelId)
Retrieves the wizard page for the specified panel identifier.
Parameters:
panelId - The panel identifier of the wizard page.
Returns:
The WizardPage object for the specified panel identifier.

getBuilderContext

public BuilderContext getBuilderContext()
Retrieves the BuilderContext that is associated with the this BuilderDialog.
Specified by:
getBuilderContext in interface BuilderDialog
Returns:
A reference to the BuilderContext interface.

getComponent

public java.awt.Component getComponent()
Retrieves the component that is associated with the BuilderDialog.
Specified by:
getComponent in interface BuilderDialog
Returns:
A reference to the component.

initialize

public boolean initialize()
Initializes the contents of the BuilderDialog.
Specified by:
initialize in interface BuilderDialog
Returns:
true if the operation was successful; false if the operation was not successful.

refresh

public boolean refresh()
Refreshes the contents of the BuilderDialog.
Specified by:
refresh in interface BuilderDialog
Returns:
true if the operation was successful; false if the operation was nut successful.

run

public boolean run()
            throws DataUtilException
Signals the BuilderDialog to run the dialog.
Specified by:
run in interface BuilderDialog
Returns:
true if the dialog was dismissed with an OK command; false if the dialog was cancelled.
Throws:
DataUtilException - if an error is encountered.

runDialog

public boolean runDialog()
Overrides:
runDialog in class oracle.bali.ewt.wizard.WizardDialog

setPanelVisible

public boolean setPanelVisible(java.lang.String panelId,
                               boolean bVisible)
Specifies whether the specified panel is to be shown or hidden.
Specified by:
setPanelVisible in interface BuilderDialog
Parameters:
panelId - The identifier of the specified panel.
bVisible - true if the panel is to be marked visible, false if the panel is to be hidden.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.