SalesPoint v3.3 API

sale.stdforms
Class MsgForm

java.lang.Object
  extended by sale.FormSheet
      extended by sale.stdforms.MsgForm
All Implemented Interfaces:
Serializable

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
Author:
Steffen Zschaler
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class sale.FormSheet
FormSheet.FormButton
 
Field Summary
 
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.
 
Method Summary
 
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 v3.3 API