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
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 |
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.
getText
public String getText()
- Get the current contents of the input field.
- Override:
- Never.