SalesPoint Framework v3.1

sale.stdforms
Class MsgForm

java.lang.Object
  extended bysale.FormSheet
      extended bysale.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 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.
 
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.

SalesPoint Framework v3.1