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


oracle.dss.datautil.gui
Class StandardDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--oracle.bali.ewt.dialog.JEWTDialog
                                      |
                                      +--oracle.dss.datautil.gui.StandardDialog
All Implemented Interfaces:
javax.accessibility.Accessible, HelpContext, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
Direct Known Subclasses:
DimensionListDialog, MeasureListDialog

public class StandardDialog
extends oracle.bali.ewt.dialog.JEWTDialog
implements HelpContext

Standard builder class.

See Also:
Serialized Form

Field Summary
static int CANCEL
          The Cancel return value.
static int OK
          The OK return value.
static int UNDEFINED
          The undefined return value.

 

Fields inherited from class oracle.bali.ewt.dialog.JEWTDialog
ACTION_APPLY, BUTTON_APPLY, BUTTON_CANCEL, BUTTON_CLOSE, BUTTON_DEFAULT, BUTTON_HELP, BUTTON_NONE, BUTTON_OK, PROPERTY_CLOSED

 

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
StandardDialog(java.awt.Dialog dlgParent, java.lang.String strTitle, boolean blnModal, java.awt.Component comp)
          Constructor that specifies the dialog that serves as the parent for the StandardDialog.
StandardDialog(java.awt.Frame fraParent, boolean blnModal)
          Deprecated. As of 2.6.0.21, replaced by StandardDialog(Frame, String, boolean, Component).
StandardDialog(java.awt.Frame fraParent, java.lang.String title, boolean blnModal)
          Deprecated. As of 2.6.0.21, replaced by StandardDialog(Frame, String, boolean, Component).
StandardDialog(java.awt.Frame fraParent, java.lang.String strTitle, boolean blnModal, java.awt.Component comp)
          Constructor that specifies the frame that serves as the parent for the StandardDialog.

 

Method Summary
 int display(java.awt.Component centerOver)
          Displays this dialog so that it is centered over the component that invokes it, which is often a button.
 java.lang.String getHelpContextID()
          Retrieves the Help context ID that is associated with this dialog.
 oracle.bali.ewt.help.HelpProvider getHelpProvider()
          Retrieves the HelpProvider for this dialog.
 int getReturnCode()
          Retrieves the current return code value.
 void setContent(java.awt.Component comp)
          Specifies the component that holds the content in this dialog.
 void setHelpContextID(java.lang.String strHelpContextID)
          Specifies the Help context ID that is associated with this dialog.
 void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
          Specifies the HelpProvider.

 

Methods inherited from class oracle.bali.ewt.dialog.JEWTDialog
addActionListener, addCustomButton, addNotify, addPropertyChangeListener, addVetoableChangeListener, createDialog, dispose, getAccessibleContext, getButtonMask, getButtonMnemonic, getCancelButtonMnemonic, getCancelButtonText, getCenterOver, getContent, getCustomButton, getCustomButtonCount, getDefaultButton, getInitialFocus, getMaximunInitialSize, getMinimumSize, getOKButtonMnemonic, getOKButtonText, getPreferredSize, isCancelled, isDialogClosingEvent, isOKButtonEnabled, pack, removeActionListener, removeCustomButton, removePropertyChangeListener, removeVetoableChangeListener, runDialog, setButtonMask, setCancelButtonMnemonic, setCancelButtonText, setCenterOver, setDefaultButton, setInitialFocus, setMaximumInitialSize, setMaximumInitialSize, setMinimumSize, setMinimumSize, setOKButtonEnabled, setOKButtonMnemonic, setOKButtonText, setPreferredSize, setPreferredSize

 

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

 

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

 

Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, 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, 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, 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, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, 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

 

Field Detail

UNDEFINED

public static final int UNDEFINED
The undefined return value.

OK

public static final int OK
The OK return value.

CANCEL

public static final int CANCEL
The Cancel return value.
Constructor Detail

StandardDialog

public StandardDialog(java.awt.Dialog dlgParent,
                      java.lang.String strTitle,
                      boolean blnModal,
                      java.awt.Component comp)
Constructor that specifies the dialog that serves as the parent for the StandardDialog.
Parameters:
dlgParent - The parent dialog.
strTitle - The title for the dialog.
blnModal - true if the dialog is modal, false if the dialog is not modal.
comp - The component that is placed in the center of the dialog.

StandardDialog

public StandardDialog(java.awt.Frame fraParent,
                      java.lang.String strTitle,
                      boolean blnModal,
                      java.awt.Component comp)
Constructor that specifies the frame that serves as the parent for the StandardDialog.
Parameters:
fraParent - The parent frame.
strTitle - The title for the dialog.
blnModal - true if the dialog is modal, false if the dialog is not modal.
comp - The component that is placed in the center of the dialog.

StandardDialog

public StandardDialog(java.awt.Frame fraParent,
                      boolean blnModal)
Deprecated. As of 2.6.0.21, replaced by StandardDialog(Frame, String, boolean, Component).
A StandardDialog should be created using all the arguments available for the constructor.
Parameters:
fraParent - The parent frame.
blnModal - true if the dialog is modal, false if the dialog is not modal.

StandardDialog

public StandardDialog(java.awt.Frame fraParent,
                      java.lang.String title,
                      boolean blnModal)
Deprecated. As of 2.6.0.21, replaced by StandardDialog(Frame, String, boolean, Component).
A StandardDialog should be created using all the arguments available for the constructor.
Parameters:
fraParent - The parent frame.
strTitle - The title for the dialog.
blnModal - true if the dialog is modal, false if the dialog is not modal.
Method Detail

display

public int display(java.awt.Component centerOver)
Displays this dialog so that it is centered over the component that invokes it, which is often a button.
Parameters:
centerOver - The component over which to center the dialog. If this parameter is null, then the dialog is centered on the screen.
Returns:
A constant that represents the return code.
See Also:
OK, CANCEL

setContent

public void setContent(java.awt.Component comp)
Specifies the component that holds the content in this dialog.
Overrides:
setContent in class oracle.bali.ewt.dialog.JEWTDialog
Parameters:
Component - The component.

getReturnCode

public int getReturnCode()
Retrieves the current return code value.
Returns:
A constant that represents the return code.
See Also:
UNDEFINED, OK, CANCEL

getHelpProvider

public oracle.bali.ewt.help.HelpProvider getHelpProvider()
Retrieves the HelpProvider for this dialog.
Returns:
The HelpProvider for this dialog.

setHelpProvider

public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
Specifies the HelpProvider.
Parameters:
helpProvider - The HelpProvider.

getHelpContextID

public java.lang.String getHelpContextID()
Retrieves the Help context ID that is associated with this dialog. This Help context ID is used to enable Help systems to map a particular component to the proper help topic.
Specified by:
getHelpContextID in interface HelpContext
Returns:
A string that represents the Help context ID.

setHelpContextID

public void setHelpContextID(java.lang.String strHelpContextID)
Specifies the Help context ID that is associated with this dialog. Note: This method is not actually implemented in this class. It is only here to satisfy the interface requirements.
Specified by:
setHelpContextID in interface HelpContext
Parameters:
strHelpContextID - A string value that represents the Help context ID.

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


Copyright © 2003, Oracle. All Rights Reserved.