| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UISWTInputReceiver
SWT-specific version of UIInputReciever, providing some additional
 methods to customise the appearance of the input receiver.
| Method Summary | |
|---|---|
|  void | selectPreenteredText(boolean select)Indicates whether you want the preentered text to be selected (highlighted) or not. | 
|  void | setLineHeight(int line_count)Indicates how many lines by default to show the user to enter input. | 
|  void | setSelectableItems(java.lang.String[] choices,
                   int default_choice,
                   boolean allow_edit)Changes the entry box to be a combo box, where the values passed are selectable. | 
|  void | setWidthHint(int width)Indicates how wide you want the text entry window to be. | 
| Methods inherited from interface org.gudy.azureus2.plugins.ui.UIInputReceiver | 
|---|
| allowEmptyInput, getSubmittedInput, hasSubmittedInput, maintainWhitespace, prompt, prompt, setInputValidator, setLocalisedMessage, setLocalisedMessages, setLocalisedTitle, setMessage, setMessages, setMultiLine, setPreenteredText, setTextLimit, setTitle | 
| Method Detail | 
|---|
void setWidthHint(int width)
width - void setLineHeight(int line_count)
line_count - void selectPreenteredText(boolean select)
true.
select - 
void setSelectableItems(java.lang.String[] choices,
                        int default_choice,
                        boolean allow_edit)
choices - The list of options to be made available.default_choice - Index of the option to present by default.allow_edit - true if you still want to allow the user to enter
     their own text, false if you want to restrict them to the choices
     here.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||