Business Components

oracle.jbo.uicli.jui
Interface JULovPanelInterface


public interface JULovPanelInterface

Implements creation of a LOV dialog, binding a rowset to it to display data, and performing 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
TypeMethod
 void bindRowSetIterator(RowSetIterator rsi, java.lang.String[] lovVODisplayedAttrNames)
          Sets display using data from this RSI.
 JULovDialogInterface createLovDialog()
          Create a JDialog and return 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 LovDialog.
 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 RSI. Note that on LOV action, this RSI'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, this method will get invoked if no helpActionListener is established with the LovButtonBinding to control the help display.

createLovDialog

public JULovDialogInterface createLovDialog()
Create a JDialog and return 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 LovDialog.

Business Components