All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jreqtools.SelectRequester

java.lang.Object
   |
   +----jreqtools.AbstractRequester
           |
           +----jreqtools.SelectRequester

public class SelectRequester
extends AbstractRequester
This is a requester for a list of strings. The user can select one of them.

Author:
Markus Hillenbrand

Constructor Index

 o SelectRequester()
Constructs a new StringRequester.
 o SelectRequester(Object[])
Constructs a new StringRequester.
 o SelectRequester(String, Object[])
Constructs a new StringRequester.
 o SelectRequester(String, String, Object[])
Constructs a new StringRequester.

Method Index

 o createJDialog(JFrame)
 o getReturnValue()
 o getSelectedValue()
 o setMessage(String)
Sets the message to be shown in the requester.
 o setValues(Object[])
Sets the string in the requester.

Constructors

 o SelectRequester
 public SelectRequester(String title,
                        String message,
                        Object data[])
Constructs a new StringRequester.

Parameters:
title - - Title of the requester.
message - - The message to be shown in the requester.
defaultstring - - The initial value of the text field.
 o SelectRequester
 public SelectRequester(String message,
                        Object data[])
Constructs a new StringRequester.

Parameters:
message - - The message to be shown in the requester.
defaultstring - - The initial value of the text field.
 o SelectRequester
 public SelectRequester(Object data[])
Constructs a new StringRequester.

Parameters:
defaultstring - - The initial value of the text field.
 o SelectRequester
 public SelectRequester()
Constructs a new StringRequester.

Methods

 o createJDialog
 protected JDialog createJDialog(JFrame parent)
Overrides:
createJDialog in class AbstractRequester
 o getReturnValue
 protected int getReturnValue()
Overrides:
getReturnValue in class AbstractRequester
 o getSelectedValue
 public Object getSelectedValue()
 o setMessage
 public void setMessage(String newmessage)
Sets the message to be shown in the requester.

 o setValues
 public void setValues(Object data[])
Sets the string in the requester.


All Packages  Class Hierarchy  This Package  Previous  Next  Index