public abstract class JboDialog
extends oracle.bali.ewt.dialog.JEWTDialog
implements oracle.bali.ewt.help.HelpProvider
javax.swing.JDialog.AccessibleJDialogjava.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityTypejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bApply |
protected java.awt.Component |
focusOwner |
protected java.awt.Frame |
ideFrame |
ACTION_APPLY, BUTTON_APPLY, BUTTON_CANCEL, BUTTON_CLOSE, BUTTON_DEFAULT, BUTTON_HELP, BUTTON_NONE, BUTTON_OK, PROPERTY_CLOSEDaccessibleContext, rootPane, rootPaneCheckingEnabledBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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() |
addActionListener, addCustomButton, addNotify, addPropertyChangeListener, addVetoableChangeListener, closeDialog, createDialog, dialogInit, dispose, firePropertyChange, fireVetoableChange, getAccessibleContext, getButtonMask, getButtonMnemonic, getCancelButtonMnemonic, getCancelButtonText, getCenterOver, getContent, getCustomButton, getCustomButtonCount, getDefaultButton, getDefaultCustomButton, getDialogHeader, getInitialFocus, getMaximumInitialSize, getMaximunInitialSize, getMinimumSize, getOKButtonMnemonic, getOKButtonText, getPreferredSize, getValidationMessagePane, isCancelled, isDialogClosingEvent, isOKButtonEnabled, isOked, pack, processActionEvent, processComponentEvent, processEvent, processWindowEvent, removeActionListener, removeCustomButton, removePropertyChangeListener, removeVetoableChangeListener, runDialog, runDialog, setButtonMask, setCancelButtonMnemonic, setCancelButtonText, setCenterOver, setContent, setDefaultButton, setDefaultCustomButton, setDialogHeader, setInitialFocus, setInitialFocus, setMaximumInitialSize, setMaximumInitialSize, setMinimumSize, setMinimumSize, setOKButtonEnabled, setOKButtonMnemonic, setOKButtonText, setPreferredSize, setPreferredSize, setValidationMessagePaneaddImpl, createRootPane, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updategetModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBackaddPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setModalExclusionType, setSize, setSize, setType, toFrontadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, 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, 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, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected boolean bApply
protected java.awt.Frame ideFrame
protected java.awt.Component focusOwner
public JboDialog(java.awt.Frame aFrame,
java.lang.String name)
aFrame - the owner of the dialogname - to display in the titlestripe of the dialog.public JboDialog(java.awt.Dialog parentDlg,
java.awt.Frame aFrame,
java.lang.String name)
public JboDialog(java.awt.Frame aFrame,
java.lang.String name,
int btnFlags)
protected void doDlgInit(java.awt.Frame aFrame,
java.lang.String name)
protected void dlgWinInit()
public void setSubDlg(boolean isSubDialog)
public boolean showSubDialog()
public boolean showDialog()
public void setVisible(boolean bVis)
setVisible in class java.awt.Dialogprotected void initDlgHelp()
protected abstract javax.swing.JComponent getHelpComponent()
public java.awt.Frame getIdeFrame()
public void setFinishButtonEnabled(boolean bEnable)
public boolean getApply()
public boolean okAction()
public void cancelAction()
public java.lang.String getHelpUrl()
public static java.lang.String getClassHelpUrl(java.lang.String className)
public void dismissDialog(boolean cancelled)
dismissDialog in class oracle.bali.ewt.dialog.JEWTDialogpublic void showHelp(java.awt.Component component)
showHelp in interface oracle.bali.ewt.help.HelpProviderpublic void helpAction()
public javax.swing.JDialog getDialog()
protected static void getDialogSizeInfo(JboDialog dlg, java.awt.Dimension origSize)
protected static void saveDialogSizeInfo(JboDialog dlg, java.awt.Dimension origSize)
protected static java.lang.String getBaseSizeKey(JboDialog dlg)
protected static java.lang.String getWidthKey(JboDialog dlg)
protected static java.lang.String getHeightKey(JboDialog dlg)
public javax.swing.border.Border createComponentBorder()
public javax.swing.border.Border createComponentBorder(java.lang.String title)
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwableprotected void closeDialog()