Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


oracle.jbo.uicli.jui
Interface JULovPanelInterface


public interface JULovPanelInterface

Implements creation of a LOV dialog bound to a BC4J RowSet to display data. Also performs the display of help on the Lov Dialog (if the default LOV dialog is used). In the framework, an inner class implements this interface and displays itself in a JULovDialog. Applications should create their own implementation of this interface to customize the LOV Dialog display/functionality.


Method Summary
 void bindRowSetIterator(RowSetIterator rsi, java.lang.String[] lovVODisplayedAttrNames)
          Sets display using data from this RowSet Iterator.
 JULovDialogInterface createLovDialog(javax.swing.JComponent control)
          Creates a JDialog and returns a JULovDialogInterface that performs interaction with the JULovButtonBinding for display of LOV data.
 javax.swing.JPanel getPanel()
          Returns an instance of JPanel to add into an LOV dialog.
 java.lang.String getPanelTitle()
          Returns a String that is displayed in the default JULovDialog as the title of the LOV dialog.
 Row getSelectedRow()
          Returns the currently selected Row in the Lov Panel, so that the binding uses this row to update the target values.
 void helpAction(java.awt.event.ActionEvent ev)
          This method is invoked by the framework to display help on the LOV dialog.

 

Method Detail

bindRowSetIterator

public void bindRowSetIterator(RowSetIterator rsi,
                               java.lang.String[] lovVODisplayedAttrNames)
Sets display using data from this RowSet Iterator. Note that on LOV action, this RowSet Iterator's current Row will be used to set the target Row's attributes.

getPanel

public javax.swing.JPanel getPanel()
Returns an instance of JPanel to add into an LOV dialog. This method may return null if createLovDialog() is creating and adding a LOV panel into itself.

helpAction

public void helpAction(java.awt.event.ActionEvent ev)
This method is invoked by the framework to display help on the LOV dialog. If applications customize the Lov Panel interface and not the dialog, then this method will get invoked if no helpActionListener is established with the LovButtonBinding to control the help display.

createLovDialog

public JULovDialogInterface createLovDialog(javax.swing.JComponent control)
Creates a JDialog and returns a JULovDialogInterface that performs interaction with the JULovButtonBinding for display of LOV data.

getPanelTitle

public java.lang.String getPanelTitle()
Returns a String that is displayed in the default JULovDialog as the title of the LOV dialog.

getSelectedRow

public Row getSelectedRow()
Returns the currently selected Row in the Lov Panel, so that the binding uses this row to update the target values.

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

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