org.salespointframework.desktop.formsheets
Class MessageForm.MessageFormSheetContentCreator

java.lang.Object
  extended by org.salespointframework.core.FormSheetContentCreator
      extended by org.salespointframework.desktop.formsheets.MessageForm.MessageFormSheetContentCreator
Enclosing class:
MessageForm

public static class MessageForm.MessageFormSheetContentCreator
extends FormSheetContentCreator

FormSheetContentCreator for MessageForm

Since:
4.0
Author:
Thomas Kissinger

Constructor Summary
MessageForm.MessageFormSheetContentCreator(java.lang.String text, MessageForm.MessageFormType type, MessageForm.MessageFormIcon icon, java.lang.String preferenceKey)
           
 
Method Summary
protected  void createFormSheetContent(FormSheet fs)
          Create the FormSheet's contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageForm.MessageFormSheetContentCreator

public MessageForm.MessageFormSheetContentCreator(java.lang.String text,
                                                  MessageForm.MessageFormType type,
                                                  MessageForm.MessageFormIcon icon,
                                                  java.lang.String preferenceKey)
Method Detail

createFormSheetContent

protected void createFormSheetContent(FormSheet fs)
Description copied from class: FormSheetContentCreator
Create the FormSheet's contents.

This method is called in the following circumstances:

  1. On creation of the FormSheet object.
  2. Whenever the FormSheet gets deserialized from a stream.

Although the FormSheet whose contents is to be set is passed as a parameter, a new instance of the FormSheetContentCreator is needed with every new instance of the FormSheet!

Specified by:
createFormSheetContent in class FormSheetContentCreator
Parameters:
fs - the FormSheet whose contents is to be created.