|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.NotifyDescriptor org.openide.NotifyDescriptor.InputLine
Notification providing for a line of text input.
Nested Class Summary |
Nested classes inherited from class org.openide.NotifyDescriptor |
NotifyDescriptor.Confirmation, NotifyDescriptor.Exception, NotifyDescriptor.InputLine, NotifyDescriptor.Message |
Field Summary | |
protected JTextField |
textField
The text field used to enter the 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 |
Constructor Summary | |
NotifyDescriptor.InputLine(String text,
String title)
Construct dialog with the specified title and label text. |
|
NotifyDescriptor.InputLine(String text,
String title,
int optionType,
int messageType)
Construct dialog with the specified title, label text, option and message types. |
Method Summary | |
protected Component |
createDesign(String text)
Make a component representing the input line. |
String |
getInputText()
Get the text which the user typed into the input line. |
void |
setInputText(String text)
Set the text on the input line. |
Methods inherited from class org.openide.NotifyDescriptor |
addPropertyChangeListener, firePropertyChange, getAdditionalOptions, getDefaultValue, 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 |
Field Detail |
protected JTextField textField
Constructor Detail |
public NotifyDescriptor.InputLine(String text, String title)
text
- label texttitle
- title of the dialogpublic NotifyDescriptor.InputLine(String text, String title, int optionType, int messageType)
text
- label texttitle
- title of the dialogoptionType
- option type (ok, cancel, ...)messageType
- message type (question, ...)Method Detail |
public String getInputText()
public void setInputText(String text)
text
- the new textprotected Component createDesign(String text)
text
- a label for the input line
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |