SalesPoint Framework v3.0

sale.stdforms
Class TextInputForm

java.lang.Object
  |
  +--sale.FormSheet
        |
        +--sale.stdforms.TextInputForm

public class TextInputForm
extends FormSheet

A simple FormSheet that displays a label and an input line.

The FormSheet uses a FormSheetContentCreator to create its contents.

Since:
v2.0
Version:
2.0 12/07/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Inner classes inherited from class sale.FormSheet
FormSheet.FormButton
 
Fields inherited from class sale.FormSheet
BTNID_CANCEL, BTNID_OK, m_fCancelled
 
Constructor Summary
TextInputForm(String sCaption, String sLabel, String sInitialText)
          Create a new TextInputForm.
TextInputForm(String sCaption, String sLabel, String sInitialText, boolean fWaitResponse)
          Create a new TextInputForm.
 
Method Summary
 String getText()
          Get the current contents of the input field.
 
Methods inherited from class sale.FormSheet
addButton, addButton, addContentCreator, attach, attach, attach, buttonIterator, buttonIterator, cancel, close, detachDisplay, detachProcess, detachSalesPoint, fillBtnPanel, getButton, getButtonsLock, getCaption, getComponent, getComponentLock, getDisplay, getDisplayLock, getProcess, getSalesPoint, isCancelled, ok, removeAllButtons, removeButton, setCaption, setComponent, setWaitResponse, toString, waitResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextInputForm

public TextInputForm(String sCaption,
                     String sLabel,
                     String sInitialText,
                     boolean fWaitResponse)
Create a new TextInputForm.
Parameters:
sCaption - the caption of the FormSheet.
sLabel - the label to be put at the top of the FormSheet.
sInitialText - the text that is to appear in the input line when the user has not entered anything yet.
fWaitResponse, - the initial value for the "FormSheet.waitResponse()" property.

TextInputForm

public TextInputForm(String sCaption,
                     String sLabel,
                     String sInitialText)
Create a new TextInputForm. The value for the "FormSheet.waitResponse()" property will initially be set to true.
Parameters:
sCaption - the caption of the FormSheet.
sLabel - the label to be put at the top of the FormSheet.
sInitialText - the text that is to appear in the input line when the user has not entered anything yet.
Method Detail

getText

public String getText()
Get the current contents of the input field.
Override:
Never.

SalesPoint Framework v3.0