Ontimize 5.2072EN

com.ontimize.gui.field
Class ReferenceExtDataField.MultipleResultWindow

java.lang.Object
  extended bycom.ontimize.gui.field.ReferenceExtDataField.MultipleResultWindow
Enclosing class:
ReferenceExtDataField

protected static class ReferenceExtDataField.MultipleResultWindow
extends java.lang.Object

The main class to manage a multiple result window in a Reference Ext datafield.

Author:
Imatia Innovation

Field Summary
protected  javax.swing.JTextField auxCodeField
          An auxiliary code field.
protected  javax.swing.JLabel auxCodeLabel
          An auxiliary code label.
protected  javax.swing.JButton cancelBt
          The cancel button.
protected  javax.swing.JPanel codeFieldPanel
          A JPanel reference to code field panel.
protected  java.lang.Object codSelectionValue
          The cod selection value.
protected  EntityResult currentEntityResult
          The reference to an entity result.
protected  EJDialog dSelec
          A reference for a dialog.
protected  javax.swing.JLabel lInfo
          A reference with selection info.
protected  Table multipleResultTable
          The reference to multiple result table.
protected  javax.swing.JButton okButton
          The ok button.
protected  javax.swing.JButton queryButton
          The reference to query button.
 
Constructor Summary
ReferenceExtDataField.MultipleResultWindow(Table t, ReferenceDataComponent referenceDataComponent, java.util.ResourceBundle resources)
           
 
Method Summary
 java.lang.String getResultDialogSizePreferenceKey(ReferenceDataComponent datafield)
           
protected  java.lang.Object showResultSelectionWindow(EntityResult res, ReferenceDataComponent referenceDataField, java.util.ResourceBundle resources)
          Shows the window with result selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

multipleResultTable

protected Table multipleResultTable
The reference to multiple result table. By default, null.


auxCodeField

protected javax.swing.JTextField auxCodeField
An auxiliary code field. By default, null.


auxCodeLabel

protected javax.swing.JLabel auxCodeLabel
An auxiliary code label. By default, null.


queryButton

protected javax.swing.JButton queryButton
The reference to query button. By default, null.


codeFieldPanel

protected javax.swing.JPanel codeFieldPanel
A JPanel reference to code field panel. A default FlowLayout with left alignment is created.


dSelec

protected EJDialog dSelec
A reference for a dialog.


lInfo

protected javax.swing.JLabel lInfo
A reference with selection info.


codSelectionValue

protected java.lang.Object codSelectionValue
The cod selection value. By default, null.


okButton

protected javax.swing.JButton okButton
The ok button.


cancelBt

protected javax.swing.JButton cancelBt
The cancel button.


currentEntityResult

protected EntityResult currentEntityResult
The reference to an entity result. By default, null.

Constructor Detail

ReferenceExtDataField.MultipleResultWindow

public ReferenceExtDataField.MultipleResultWindow(Table t,
                                                  ReferenceDataComponent referenceDataComponent,
                                                  java.util.ResourceBundle resources)
Method Detail

getResultDialogSizePreferenceKey

public java.lang.String getResultDialogSizePreferenceKey(ReferenceDataComponent datafield)

showResultSelectionWindow

protected java.lang.Object showResultSelectionWindow(EntityResult res,
                                                     ReferenceDataComponent referenceDataField,
                                                     java.util.ResourceBundle resources)
Shows the window with result selection.

Parameters:
res - the result to show
Returns:
the codSelectionValue

Ontimize