|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
onFormSheetButtonbarPositionChanged(FormSheet fs,
int nPosition)
Notification event informing about a change of the Buttonbar's position |
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,
java.lang.String sNewCaption)
Notification event informing about a change of a FormSheet's caption. |
void |
onFormSheetComponentChanged(FormSheet fs,
javax.swing.JComponent jcmpNew)
Notification event informing about a change of a FormSheet's component. |
Method Detail |
---|
void closeFormSheet(FormSheet fs)
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(org.salespointframework.core.FormSheet)
calls waiting for this FormSheet to
be closed, must be unblocked.
fs
- the FormSheet to be closed.void onFormSheetButtonbarPositionChanged(FormSheet fs, int nPosition)
fs
- the Formsheet whose Buttonbar position changednPosition
- the new buttonbar positionvoid onFormSheetCaptionChanged(FormSheet fs, java.lang.String sNewCaption)
fs
- the FormSheet whose caption changed.sNewCaption
- the new caption of the FormSheet.void onFormSheetComponentChanged(FormSheet fs, javax.swing.JComponent jcmpNew)
fs
- the FormSheet whose component changed.jcmpNew
- the new component of the FormSheet.void onFormSheetButtonAdded(FormSheet fs, FormSheet.FormButton fb)
fs
- the FormSheet whose button bar changed.fb
- the button that was added to the FormSheet.void onFormSheetButtonRemoved(FormSheet fs, FormSheet.FormButton fb)
fs
- the FormSheet whose button bar changed.fb
- the button that was removed from the FormSheet.void onFormSheetButtonsCleared(FormSheet fs)
fs
- the FormSheet whose button bar was cleared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |