Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Tester
11g Release 2 (11.1.2.2.0)

E17487-03


oracle.jbo.ui.main
Class JboDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by oracle.bali.ewt.dialog.JEWTDialog
                          extended by oracle.jbo.ui.main.JboDialog

All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, oracle.bali.ewt.help.HelpProvider

public abstract class JboDialog
extends oracle.bali.ewt.dialog.JEWTDialog
implements oracle.bali.ewt.help.HelpProvider

A jbo designtime base class for jbo dialogs.

Version:
INTERNAL
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog

 

Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType

 

Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
protected  boolean bApply
           
protected  java.awt.Component focusOwner
           
protected  java.awt.Frame ideFrame
           

 

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 javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled

 

Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE

 

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, EXIT_ON_CLOSE, HIDE_ON_CLOSE

 

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

 

Constructor Summary
JboDialog(java.awt.Dialog parentDlg, java.awt.Frame aFrame, java.lang.String name)
           
JboDialog(java.awt.Frame aFrame, java.lang.String name)
          Constructs the wizard class.
JboDialog(java.awt.Frame aFrame, java.lang.String name, int btnFlags)
           

 

Method Summary
 void cancelAction()
          Default action for the cancel button.
protected  void closeDialog()
           
 javax.swing.border.Border createComponentBorder()
           
 javax.swing.border.Border createComponentBorder(java.lang.String title)
           
 void dismissDialog(boolean cancelled)
           
protected  void dlgWinInit()
           
protected  void doDlgInit(java.awt.Frame aFrame, java.lang.String name)
           
 void finalize()
           
 boolean getApply()
          Retrieves the apply flag for the dialog.
protected static java.lang.String getBaseSizeKey(JboDialog dlg)
           
static java.lang.String getClassHelpUrl(java.lang.String className)
           
 javax.swing.JDialog getDialog()
           
protected static void getDialogSizeInfo(JboDialog dlg, java.awt.Dimension origSize)
           
protected static java.lang.String getHeightKey(JboDialog dlg)
           
protected abstract  javax.swing.JComponent getHelpComponent()
          All subcomponents should return their centerPanel or their main panel that the help describes.
 java.lang.String getHelpUrl()
           
 java.awt.Frame getIdeFrame()
           
protected static java.lang.String getWidthKey(JboDialog dlg)
           
 void helpAction()
           
protected  void initDlgHelp()
           
 boolean okAction()
          Default action for the OK button.
protected static void saveDialogSizeInfo(JboDialog dlg, java.awt.Dimension origSize)
           
 void setFinishButtonEnabled(boolean bEnable)
           
 void setSubDlg(boolean isSubDialog)
           
 void setVisible(boolean bVis)
          Overrides base class method on the dialog display.
 boolean showDialog()
          Displays the wizard and returns flag for whether the finish or cancel button closed the dialog.
 void showHelp(java.awt.Component component)
           
 boolean showSubDialog()
           

 

Methods inherited from class oracle.bali.ewt.dialog.JEWTDialog
addActionListener, addCustomButton, addNotify, addPropertyChangeListener, addVetoableChangeListener, closeDialog, createDialog, dialogInit, dispose, firePropertyChange, fireVetoableChange, getAccessibleContext, getButtonMask, getButtonMnemonic, getCancelButtonMnemonic, getCancelButtonText, getCenterOver, getContent, getCustomButton, getCustomButtonCount, getDefaultButton, getDialogHeader, getInitialFocus, getMaximumInitialSize, getMaximunInitialSize, getMinimumSize, getOKButtonMnemonic, getOKButtonText, getPreferredSize, getValidationMessagePane, isCancelled, isDialogClosingEvent, isOKButtonEnabled, pack, processActionEvent, processComponentEvent, processEvent, processWindowEvent, removeActionListener, removeCustomButton, removePropertyChangeListener, removeVetoableChangeListener, runDialog, runDialog, setButtonMask, setCancelButtonMnemonic, setCancelButtonText, setCenterOver, setContent, setDefaultButton, setDialogHeader, setInitialFocus, setInitialFocus, setMaximumInitialSize, setMaximumInitialSize, setMinimumSize, setMinimumSize, setOKButtonEnabled, setOKButtonMnemonic, setOKButtonText, setPreferredSize, setPreferredSize, setValidationMessagePane

 

Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update

 

Methods inherited from class java.awt.Dialog
getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack

 

Methods inherited from class java.awt.Window
addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, paint, postEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setModalExclusionType, setSize, setSize, toFront

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, show, size, toString, transferFocus, transferFocusUpCycle

 

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

 

Field Detail

bApply

protected boolean bApply

ideFrame

protected java.awt.Frame ideFrame

focusOwner

protected java.awt.Component focusOwner

Constructor Detail

JboDialog

public JboDialog(java.awt.Frame aFrame,
                 java.lang.String name)
Constructs the wizard class.
Parameters:
aFrame - the owner of the dialog
name - to display in the titlestripe of the dialog.

JboDialog

public JboDialog(java.awt.Dialog parentDlg,
                 java.awt.Frame aFrame,
                 java.lang.String name)

JboDialog

public JboDialog(java.awt.Frame aFrame,
                 java.lang.String name,
                 int btnFlags)

Method Detail

doDlgInit

protected void doDlgInit(java.awt.Frame aFrame,
                         java.lang.String name)

dlgWinInit

protected void dlgWinInit()

setSubDlg

public void setSubDlg(boolean isSubDialog)

showSubDialog

public boolean showSubDialog()

showDialog

public boolean showDialog()
Displays the wizard and returns flag for whether the finish or cancel button closed the dialog.

setVisible

public void setVisible(boolean bVis)
Overrides base class method on the dialog display. Sets up the pages display before showing the dialog.
Overrides:
setVisible in class java.awt.Dialog

initDlgHelp

protected void initDlgHelp()

getHelpComponent

protected abstract javax.swing.JComponent getHelpComponent()
All subcomponents should return their centerPanel or their main panel that the help describes.

getIdeFrame

public java.awt.Frame getIdeFrame()

setFinishButtonEnabled

public void setFinishButtonEnabled(boolean bEnable)

getApply

public boolean getApply()
Retrieves the apply flag for the dialog.

okAction

public boolean okAction()
Default action for the OK button.

cancelAction

public void cancelAction()
Default action for the cancel button.

getHelpUrl

public java.lang.String getHelpUrl()

getClassHelpUrl

public static java.lang.String getClassHelpUrl(java.lang.String className)

dismissDialog

public void dismissDialog(boolean cancelled)
Overrides:
dismissDialog in class oracle.bali.ewt.dialog.JEWTDialog

showHelp

public void showHelp(java.awt.Component component)
Specified by:
showHelp in interface oracle.bali.ewt.help.HelpProvider

helpAction

public void helpAction()

getDialog

public javax.swing.JDialog getDialog()

getDialogSizeInfo

protected static void getDialogSizeInfo(JboDialog dlg,
                                        java.awt.Dimension origSize)

saveDialogSizeInfo

protected static void saveDialogSizeInfo(JboDialog dlg,
                                         java.awt.Dimension origSize)

getBaseSizeKey

protected static java.lang.String getBaseSizeKey(JboDialog dlg)

getWidthKey

protected static java.lang.String getWidthKey(JboDialog dlg)

getHeightKey

protected static java.lang.String getHeightKey(JboDialog dlg)

createComponentBorder

public javax.swing.border.Border createComponentBorder()

createComponentBorder

public javax.swing.border.Border createComponentBorder(java.lang.String title)

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

closeDialog

protected void closeDialog()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Tester
11g Release 2 (11.1.2.2.0)

E17487-03


Copyright © 1997, 2012, Oracle. All rights reserved.