|
org.openide.dialogs 7.15.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.NotifyDescriptor
org.openide.NotifyDescriptor.InputLine
public static class NotifyDescriptor.InputLine
Notification providing for a line of text input.
Nested Class Summary |
---|
Nested classes/interfaces 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. |
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 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
|
org.openide.dialogs 7.15.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |