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.
 
 
 
 
 
| 
Method Summary | 
 void | 
initTexts(java.lang.String sTitleKey,
          java.lang.String[] p0,
          java.lang.String sLabelKey,
          java.lang.String[] p1)
 
            | 
protected  void | 
promptForInput()
 
          Subclasses must override this method to receive input from the user. | 
 void | 
setParentShell(org.eclipse.swt.widgets.Shell shell)
 
            | 
 void | 
setTextLimit(int limit)
 
          set the maximum number of characters the user can type | 
 
 
| 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(java.lang.String sTitleKey,
                             java.lang.String sLabelKey)
SimpleTextEntryWindow
public SimpleTextEntryWindow(java.lang.String sTitleKey,
                             java.lang.String sLabelKey,
                             boolean bMultiLine)
initTexts
public void initTexts(java.lang.String sTitleKey,
                      java.lang.String[] p0,
                      java.lang.String sLabelKey,
                      java.lang.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)