All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.gui.ListDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----org.jfouffa.jslider.gui.ListDialog

public class ListDialog
extends Dialog
This class is a Dialog that enables list selection for different properties.


Constructor index

 o ListDialog(Frame, String, String[], TextField)
Constructs a new ListDialog with the specified Frame as parent and the specified items.

Method index

 o getText()
Gets the selected text in the list.

Constructors

 o ListDialog
 public ListDialog(Frame parent,
                   String title,
                   String items[],
                   TextField text)
Constructs a new ListDialog with the specified Frame as parent and the specified items.

Parameters:
parent - the parent
items - the items added into the list
text - the TextField this dialog is editing

Methods

 o getText
 public String getText()
Gets the selected text in the list.