MetaDone
metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E > Class Reference
Inheritance diagram for metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E >:
Collaboration diagram for metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E >:

List of all members.

Public Member Functions

 SelectOneInComboBox (String comment, Frame parent, Vector< E > vector, ListCellRenderer renderer)
getSelection ()

Private Attributes

selected = null

Detailed Description

Author:
Vincent

Date=10 mars 2010 - 10:31:06

A generic dialog box that propose a selection of items in a combobox for a single selection. The dialog box is displayed with OK and CANCEL buttons.

Usage: create the object, and then call getSelection.


Constructor & Destructor Documentation

metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E >.SelectOneInComboBox ( String  comment,
Frame  parent,
Vector< E >  vector,
ListCellRenderer  renderer 
)
Parameters:
commentThe text of the label in the dialog box
parentthe parent frame
vectorthe list of values to display
rendererthe renderer for the objects in vector

Member Function Documentation

E metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E >.getSelection ( )
Returns:
the selected item and null if Cancel has been pressed.

Member Data Documentation

E metadone.client.dialog.swing.genConcreteObject.SelectOneInComboBox< E >.selected = null [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations