Oracle Data-aware Controls Reference

oracle.dacf.control.swing.lov
Class DefaultLOVDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--oracle.dacf.control.swing.lov.DefaultLOVDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, LOVDialog, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class DefaultLOVDialog
extends javax.swing.JDialog
implements LOVDialog

A default implementation for the LOV dialog.

Version:
Internal
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
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
DefaultLOVDialog()
           
DefaultLOVDialog(java.lang.String title)
           
 
Method Summary
 javax.swing.JPanel _initBottomPanel()
           
 javax.swing.JPanel _initCenterPanel()
           
 java.lang.String getDataItemName()
          get the name of the data item currently in use
 java.lang.String getTitle()
          get title for the dialog
 void setDataItemName(java.lang.String dataItemName)
          set the data item name for the ScrollableRowset interface.
 void setFindItemModel(FindItemModel findItemModel)
          specify FindItemModel
 void setParent(LOVInterface lov)
          specify the LOVInterface which uses this dialog
 void setSelectionListener(LOVSelectionListener listener)
          define a selection Listener
 void setSize(int w, int h)
          pass through to JDialog's setSize;
 void setTitle(java.lang.String title)
          set title for the dialog
 void show()
          display the dialog.
 void show(java.lang.Object intitalValue)
          display the dialog.
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, hide, isModal, isResizable, setModal, setResizable
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, 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, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, 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, setLocale, setLocation, setLocation, setName, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultLOVDialog

public DefaultLOVDialog()

DefaultLOVDialog

public DefaultLOVDialog(java.lang.String title)
Method Detail

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: LOVDialog
set title for the dialog
Specified by:
setTitle in interface LOVDialog
Overrides:
setTitle in class java.awt.Dialog
Following copied from interface: oracle.dacf.control.swing.lov.LOVDialog
Parameters:
title - for the dialog

getTitle

public java.lang.String getTitle()
get title for the dialog
Specified by:
getTitle in interface LOVDialog
Overrides:
getTitle in class java.awt.Dialog
Returns:
title for the dialog

setParent

public void setParent(LOVInterface lov)
specify the LOVInterface which uses this dialog
Specified by:
setParent in interface LOVDialog

setFindItemModel

public void setFindItemModel(FindItemModel findItemModel)
specify FindItemModel
Specified by:
setFindItemModel in interface LOVDialog

show

public void show()
display the dialog.
Specified by:
show in interface LOVDialog
Overrides:
show in class java.awt.Dialog

show

public void show(java.lang.Object intitalValue)
display the dialog.
Specified by:
show in interface LOVDialog
Parameters:
initialValue - to be displayed

setSize

public void setSize(int w,
                    int h)
pass through to JDialog's setSize;
Specified by:
setSize in interface LOVDialog
Overrides:
setSize in class java.awt.Component
Parameters:
w - width
h - height

setDataItemName

public void setDataItemName(java.lang.String dataItemName)
set the data item name for the ScrollableRowset interface. The LOV dialog should make use of the ScrollableRowsetAccess to display the data values.
Specified by:
setDataItemName in interface LOVDialog
Parameters:
dataItemName - name of the data item

getDataItemName

public java.lang.String getDataItemName()
get the name of the data item currently in use
Specified by:
getDataItemName in interface LOVDialog
Returns:
name of the data item currently in use

setSelectionListener

public void setSelectionListener(LOVSelectionListener listener)
define a selection Listener
Specified by:
setSelectionListener in interface LOVDialog

_initCenterPanel

public javax.swing.JPanel _initCenterPanel()

_initBottomPanel

public javax.swing.JPanel _initBottomPanel()

Oracle Data-aware Controls Reference