SalesPoint Framework v3.0

sale.stdforms
Class MsgForm

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

public class MsgForm
extends FormSheet

A simple message FormSheet that will display a message in a JTextArea surrounded by a JScrollPane.

MsgForms use a FormSheetContentCreator to create the FormSheet's contents.

Since:
v2.0
Version:
2.0 21/05/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
MsgForm(String sCaption, String sMsg)
          Create a new MsgForm.
MsgForm(String sCaption, String sMsg, boolean fWaitResponse)
          Create a new MsgForm.
 
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

MsgForm

public MsgForm(String sCaption,
               String sMsg)
Create a new MsgForm. The "FormSheet.waitResponse()" property will be set to true.
Parameters:
sCaption - the FormSheet's caption.
sMsg - the message to be displayed. It can contain '\n's which will be interpreted accordingly.

MsgForm

public MsgForm(String sCaption,
               String sMsg,
               boolean fWaitResponse)
Create a new MsgForm.
Parameters:
sCaption - the FormSheet's caption.
sMsg - the message to be displayed. It can contain '\n's which will be interpreted accordingly.
fWaitResponse, - the initial value for the "FormSheet.waitResponse()" property.

SalesPoint Framework v3.0