org.salespointframework.desktop.formsheets
Class MessageForm.MessageFormSheetContentCreator
java.lang.Object
org.salespointframework.core.FormSheetContentCreator
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
private java.lang.String text
type
private MessageForm.MessageFormType type
icon
private MessageForm.MessageFormIcon icon
preferenceKey
private java.lang.String preferenceKey
MessageForm.MessageFormSheetContentCreator
public MessageForm.MessageFormSheetContentCreator(java.lang.String text,
MessageForm.MessageFormType type,
MessageForm.MessageFormIcon icon,
java.lang.String preferenceKey)
createFormSheetContent
protected void createFormSheetContent(FormSheet fs)
- Description copied from class:
FormSheetContentCreator
- Create the FormSheet's contents.
This method is called in the following circumstances:
- On creation of the FormSheet object.
- 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.