|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.tool.user.dialogs.PromptAt.Field
public static class PromptAt.Field
Class to define a single entry in the custom prompt dialog.
| Constructor Summary | |
|---|---|
PromptAt.Field(java.lang.String label)
Constructor for a field in a prompt dialog that displays a message. |
|
PromptAt.Field(java.lang.String label,
boolean initial)
Constructor for a field in a prompt dialog that chooses between Yes and No. |
|
PromptAt.Field(java.lang.String label,
java.awt.Color initial)
Constructor for a field in a prompt dialog that edits a color value. |
|
PromptAt.Field(java.lang.String id,
javax.swing.JButton but)
Constructor for a field in a prompt dialog that places a button. |
|
PromptAt.Field(java.lang.String label,
java.lang.String initial)
Constructor for a field in a prompt dialog that edits a string. |
|
PromptAt.Field(java.lang.String label,
java.lang.String[] choices,
java.lang.String initial)
Constructor for a field in a prompt dialog that selects among different choices. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getFinal()
Method to return the final value for a field, after the dialog has completed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PromptAt.Field(java.lang.String label)
label - the question to ask.
public PromptAt.Field(java.lang.String label,
boolean initial)
label - the question to ask.initial - the default response.
public PromptAt.Field(java.lang.String label,
java.lang.String initial)
label - the label of the string.initial - the initial string value.
public PromptAt.Field(java.lang.String label,
java.lang.String[] choices,
java.lang.String initial)
label - the label of the choice.choices - the array of choices.initial - the default choice.
public PromptAt.Field(java.lang.String label,
java.awt.Color initial)
label - the label of the color.initial - the initial Color value.
public PromptAt.Field(java.lang.String id,
javax.swing.JButton but)
id - the returned value of the dialog if the button is pressed.but - the button.| Method Detail |
|---|
public java.lang.Object getFinal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||