org.openide
Class  NotifyDescriptor.InputLine
java.lang.Object
  |
  +--org.openide.NotifyDescriptor
        |
        +--org.openide.NotifyDescriptor.InputLine
- Enclosing class: 
 - NotifyDescriptor
 
- public static class NotifyDescriptor.InputLine
- extends NotifyDescriptor
  
Notification providing for a line of text input.
 
 
| Fields inherited from class org.openide.NotifyDescriptor | 
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, PLAIN_MESSAGE, PROP_DETAIL, PROP_MESSAGE, PROP_MESSAGE_TYPE, PROP_OPTION_TYPE, PROP_OPTIONS, PROP_TITLE, PROP_VALID, PROP_VALUE, QUESTION_MESSAGE, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION | 
 
 
 
| Methods inherited from class org.openide.NotifyDescriptor | 
addPropertyChangeListener, firePropertyChange, getAdditionalOptions, getMessage, getMessageType, getOptions, getOptionType, getTitle, getTitleForType, getValue, initialize, isValid, removePropertyChangeListener, setAdditionalOptions, setMessage, setMessageType, setOptions, setOptionType, setTitle, setValid, setValue | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
textField
protected JTextField textField
- The text field used to enter the input.
 
NotifyDescriptor.InputLine
public NotifyDescriptor.InputLine(String text,
                                  String title)
- Construct dialog with the specified title and label text.
- Parameters:
 text - label texttitle - title of the dialog
 
 
NotifyDescriptor.InputLine
public NotifyDescriptor.InputLine(String text,
                                  String title,
                                  int optionType,
                                  int messageType)
- Construct dialog with the specified title, label text, option and
 message types.
- Parameters:
 text - label texttitle - title of the dialogoptionType - option type (ok, cancel, ...)messageType - message type (question, ...)
 
 
getInputText
public String getInputText()
- Get the text which the user typed into the input line.
- Returns:
 - the text entered by the user
 
 
 
setInputText
public void setInputText(String text)
- Set the text on the input line.
- Parameters:
 text - the new text
 
 
createDesign
protected Component createDesign(String text)
- Make a component representing the input line.
- Parameters:
 text - a label for the input line- Returns:
 - the component
 
 
 
Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.