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
-
ListDialog(Frame, String, String[], TextField)
- Constructs a new ListDialog with the specified Frame as parent and the
specified items.
Method index
-
getText()
- Gets the selected text in the list.
Constructors
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
getText
public String getText()
- Gets the selected text in the list.