Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.javatools.dialogs
Class DetailDialog

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.javatools.dialogs.DetailDialog
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class DetailDialog
extends oracle.bali.ewt.dialog.JEWTDialog

A JEWTDialog subclass that can be used when you want to include a "Details" button in the buttonbar of a dialog that can be expanded to show more information.

Call the method setDetailContent() to set the component that is shown when the details button is clicked.

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
static int BUTTON_DETAILS
          Constant for displaying the details button.
 
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
DetailDialog(java.awt.Dialog owner, java.lang.String title, int buttonMask)
           
DetailDialog(java.awt.Frame owner, java.lang.String title, int buttonMask)
           
 
Method Summary
static DetailDialog createDetailDialog(java.awt.Component owner, java.lang.String title, int buttonMask)
           
protected  void dialogInit()
           
 void setButtonAlignment(int buttonAlignment)
           
 void setButtonTextWhenDetailsHidden(java.lang.String textWhenDetailsHidden, boolean showByDefault)
           
 void setButtonTextWhenDetailsShown(java.lang.String textWhenDetailsShown, boolean showByDefault)
           
 void setContent(java.awt.Component c)
           
 void setDetailContent(java.awt.Component content)
          Set the component to display when the user clicks the Details button in this dialog.
 void setDetailsButtonEnabled(boolean enabled)
          Toggles the enablement of the "details" button.
 void setDetailsStatusLabel(javax.swing.JLabel statusLabel)
           
 void setDetailVisible(boolean isVisible)
          Set whether the details area of this dialog is visible.
 void setHelpTopicId(java.lang.String helpTopicId)
           
 
Methods inherited from class oracle.bali.ewt.dialog.JEWTDialog
addActionListener, addCustomButton, addNotify, addPropertyChangeListener, addVetoableChangeListener, closeDialog, createDialog, dismissDialog, 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, 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, setVisible, 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, 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, paint, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUTTON_DETAILS

public static final int BUTTON_DETAILS
Constant for displaying the details button. If this button is not included, the details panel is always visible, and the user can't hide it.

See Also:
Constant Field Values
Constructor Detail

DetailDialog

public DetailDialog(java.awt.Dialog owner,
                    java.lang.String title,
                    int buttonMask)

DetailDialog

public DetailDialog(java.awt.Frame owner,
                    java.lang.String title,
                    int buttonMask)
Method Detail

setContent

public void setContent(java.awt.Component c)
Overrides:
setContent in class oracle.bali.ewt.dialog.JEWTDialog

setDetailsStatusLabel

public void setDetailsStatusLabel(javax.swing.JLabel statusLabel)

setButtonTextWhenDetailsHidden

public void setButtonTextWhenDetailsHidden(java.lang.String textWhenDetailsHidden,
                                           boolean showByDefault)

setButtonTextWhenDetailsShown

public void setButtonTextWhenDetailsShown(java.lang.String textWhenDetailsShown,
                                          boolean showByDefault)

setDetailsButtonEnabled

public void setDetailsButtonEnabled(boolean enabled)
Toggles the enablement of the "details" button.

Parameters:
enabled - whether the details button is visible

createDetailDialog

public static DetailDialog createDetailDialog(java.awt.Component owner,
                                              java.lang.String title,
                                              int buttonMask)

dialogInit

protected void dialogInit()
Overrides:
dialogInit in class oracle.bali.ewt.dialog.JEWTDialog

setButtonAlignment

public void setButtonAlignment(int buttonAlignment)

setDetailContent

public void setDetailContent(java.awt.Component content)
Set the component to display when the user clicks the Details button in this dialog.

Parameters:
content - a component to display in the details area.

setDetailVisible

public void setDetailVisible(boolean isVisible)
Set whether the details area of this dialog is visible.

Parameters:
isVisible - true if the details area is visible.

setHelpTopicId

public void setHelpTopicId(java.lang.String helpTopicId)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

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