Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.dt.common.ui
Class LovPanel

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.common.ui.LovPanel

public class LovPanel
extends java.lang.Object

Helper class to create an LOV Panel.

Author:
Michael Luetchford <michael.luetchford@oracle.com>

Nested Class Summary
 class LovPanel.SearchRunnable
          Inner class for implementing the thread for search processing.
 
Field Summary
protected  LovDataProvider _dataProvider
           
protected  SearchField _lovField
           
protected  JMultiLineLabel _lovHintText
           
protected  javax.swing.JScrollPane _lovScrollPane
           
protected  javax.swing.JPanel _mainPanel
           
protected  NiceTable _table
           
protected  javax.swing.table.DefaultTableModel _tableModel
           
protected  java.lang.String _textValue
           
protected  java.lang.String _value
           
 
Constructor Summary
LovPanel(LovDataProvider dataProvider)
          Construct an LOV Panel.
 
Method Summary
 javax.swing.JPanel getLovPanel()
          Retrieve the custom editor component.
 java.util.List getLovSelection()
          Retrieve the current selected row in the LOV.
protected  void populateFromCriteria(LovDataProviderColumn column, java.lang.Object value)
           
 void setLovSelection(int columnIndex, java.lang.Object value)
          Set the LOV Selection supplying a column, value pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dataProvider

protected LovDataProvider _dataProvider

_mainPanel

protected javax.swing.JPanel _mainPanel

_tableModel

protected javax.swing.table.DefaultTableModel _tableModel

_table

protected NiceTable _table

_lovHintText

protected JMultiLineLabel _lovHintText

_lovField

protected SearchField _lovField

_lovScrollPane

protected javax.swing.JScrollPane _lovScrollPane

_value

protected java.lang.String _value

_textValue

protected java.lang.String _textValue
Constructor Detail

LovPanel

public LovPanel(LovDataProvider dataProvider)
Construct an LOV Panel.

Parameters:
dataProvider - The data provider for this LOV.
Method Detail

getLovPanel

public javax.swing.JPanel getLovPanel()
Retrieve the custom editor component.

Returns:
the editor component.

populateFromCriteria

protected void populateFromCriteria(LovDataProviderColumn column,
                                    java.lang.Object value)

getLovSelection

public java.util.List getLovSelection()
Retrieve the current selected row in the LOV.

Returns:
the current selected row in the LOV.

setLovSelection

public void setLovSelection(int columnIndex,
                            java.lang.Object value)
Set the LOV Selection supplying a column, value pair.

Parameters:
columnIndex - The index of the column for the value.
value - The value for this column.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.