org.gudy.azureus2.ui.swt
Class SimpleTextEntryWindow
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.ui.AbstractUIInputReceiver
org.gudy.azureus2.ui.swt.pluginsimpl.AbstractUISWTInputReceiver
org.gudy.azureus2.ui.swt.SimpleTextEntryWindow
- All Implemented Interfaces:
- UIInputReceiver, UISWTInputReceiver
public class SimpleTextEntryWindow
- extends AbstractUISWTInputReceiver
- Author:
- amc1
Based on CategoryAdderWindow.
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.AbstractUIInputReceiver |
allowEmptyInput, assertPostPrompt, assertPrePrompt, getSubmittedInput, hasSubmittedInput, isResultRecorded, localise, maintainWhitespace, prompt, prompt, recordUserAbort, recordUserInput, setInputValidator, setLocalisedMessage, setLocalisedMessages, setLocalisedTitle, setMessage, setMessages, setMultiLine, setTitle, triggerReceiverListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.gudy.azureus2.plugins.ui.UIInputReceiver |
allowEmptyInput, getSubmittedInput, hasSubmittedInput, maintainWhitespace, prompt, prompt, setInputValidator, setLocalisedMessage, setLocalisedMessages, setLocalisedTitle, setMessage, setMessages, setMultiLine, setTitle |
SimpleTextEntryWindow
public SimpleTextEntryWindow()
SimpleTextEntryWindow
public SimpleTextEntryWindow(String sTitleKey,
String sLabelKey)
SimpleTextEntryWindow
public SimpleTextEntryWindow(String sTitleKey,
String sLabelKey,
boolean bMultiLine)
initTexts
public void initTexts(String sTitleKey,
String[] p0,
String sLabelKey,
String[] p1)
promptForInput
protected void promptForInput()
- Description copied from class:
AbstractUIInputReceiver
- Subclasses must override this method to receive input from the user.
This method must call either recordUserInput or recordUserAbort before
returning.
- Specified by:
promptForInput
in class AbstractUIInputReceiver
setTextLimit
public void setTextLimit(int limit)
- Description copied from interface:
UIInputReceiver
- set the maximum number of characters the user can type
setParentShell
public void setParentShell(org.eclipse.swt.widgets.Shell shell)