SalesPoint Framework v3.0

sale
Interface FormSheetContainer

All Known Implementing Classes:
JDisplayDialog, MultiWindowHandle

public interface FormSheetContainer

An object that can contain and display FormSheets. FormSheetContainers are usually also displays. The two interfaces FormSheetContainer and Display are two sides of one coin, with Display being the view of the application developer and FormSheetContainer the framework (i.e. FormSheet) view.

Since:
v2.0
Version:
2.0 21/05/1999
Author:
Steffen Zschaler

Method Summary
 void closeFormSheet(FormSheet fs)
          Close a FormSheet.
 void onFormSheetButtonAdded(FormSheet fs, FormSheet.FormButton fb)
          Notification event informing that a button was added to the FormSheet's button bar.
 void onFormSheetButtonRemoved(FormSheet fs, FormSheet.FormButton fb)
          Notification event informing that a button was removed from the FormSheet's button bar.
 void onFormSheetButtonsCleared(FormSheet fs)
          Notification event informing that all buttons were removed from a FormSheet's button bar.
 void onFormSheetCaptionChanged(FormSheet fs, String sNewCaption)
          Notification event informing about a change of a FormSheet's caption.
 void onFormSheetComponentChanged(FormSheet fs, JComponent jcmpNew)
          Notification event informing about a change of a FormSheet's component.
 

Method Detail

closeFormSheet

public void closeFormSheet(FormSheet fs)
Close a FormSheet.

Closing a FormSheet must hide all the GUI elements that stem from displaying the FormSheet. It must then detach this display from the FormSheet. Any Display.setFormSheet(sale.FormSheet) calls waiting for this FormSheet to be closed, must be unblocked.

Override:
Always.
Parameters:
fs - the FormSheet to be closed.

onFormSheetCaptionChanged

public void onFormSheetCaptionChanged(FormSheet fs,
                                      String sNewCaption)
Notification event informing about a change of a FormSheet's caption.
Override:
Always.
Parameters:
fs - the FormSheet whose caption changed.
sNewCaption - the new caption of the FormSheet.

onFormSheetComponentChanged

public void onFormSheetComponentChanged(FormSheet fs,
                                        JComponent jcmpNew)
Notification event informing about a change of a FormSheet's component.
Override:
Always.
Parameters:
fs - the FormSheet whose component changed.
jcmpNew - the new component of the FormSheet.

onFormSheetButtonAdded

public void onFormSheetButtonAdded(FormSheet fs,
                                   FormSheet.FormButton fb)
Notification event informing that a button was added to the FormSheet's button bar.
Override:
Always.
Parameters:
fs - the FormSheet whose button bar changed.
fb - the button that was added to the FormSheet.

onFormSheetButtonRemoved

public void onFormSheetButtonRemoved(FormSheet fs,
                                     FormSheet.FormButton fb)
Notification event informing that a button was removed from the FormSheet's button bar.
Override:
Always.
Parameters:
fs - the FormSheet whose button bar changed.
fb - the button that was removed from the FormSheet.

onFormSheetButtonsCleared

public void onFormSheetButtonsCleared(FormSheet fs)
Notification event informing that all buttons were removed from a FormSheet's button bar.
Override:
Always.
Parameters:
fs - the FormSheet whose button bar was cleared.

SalesPoint Framework v3.0