|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sale.multiwindow.MultiWindowHandle
A handle returned by getNewHandle.
This class represents a subframe inside a MultiWindow
.
Method Summary | |
void |
addFormSheetListener(FormSheetListener fsl)
Register a new FormSheetListener. |
void |
closeFormSheet()
Closes the FormSheet currently rendered by this display. |
void |
closeFormSheet(FormSheet fs)
Closes the FormSheet of this handle. |
String |
getDisplayCaption()
|
FormSheet |
getFormSheet()
Get the current FormSheet. |
MenuSheet |
getMenuSheet()
Get the current MenuSheet. |
boolean |
isUseableDisplay()
Returns wether this display is useable or not. |
void |
onFormSheetButtonAdded(FormSheet fs,
FormSheet.FormButton fbNewButton)
Method to be called when a new button has been added to the FormSheet. |
void |
onFormSheetButtonRemoved(FormSheet fs,
FormSheet.FormButton fbRemovedButton)
Method to be called when a button has been removed from the FormSheet. |
void |
onFormSheetButtonsCleared(FormSheet fs)
Method to be called when all buttons have been removed from the FormSheet. |
void |
onFormSheetCaptionChanged(FormSheet fs,
String sNewCaption)
Method to be called when the FormSheet's caption has changed. |
void |
onFormSheetComponentChanged(FormSheet fs,
JComponent jcmpNewComponent)
Method to be called when the FormSheet's component has changed. |
void |
popUpFormSheet(FormSheet fs)
Open a fresh JDisplayDialog and display the FormSheet in it. |
void |
removeFormSheetListener(FormSheetListener fsl)
Un-register the given FormSheetListener. |
void |
setDisplayCaption(String sNewCaption)
Set a new caption for the handles display. |
void |
setFormSheet(FormSheet fsNewFormSheet)
Sets the FormSheet of this MultiWindowHandle. |
void |
setMenuSheet(MenuSheet msNewMenuSheet)
Set the MenuSheet of this display. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void closeFormSheet(FormSheet fs)
Since a MultiWindowHandle can display only one (or no) FormSheet at a time, the parameter will be ignored and the current FormSheet will be removed.
fs
- the FormSheet to be closed. Ignored.public void onFormSheetCaptionChanged(FormSheet fs, String sNewCaption)
fs
- the FormSheet. Ignored.sNewCaption
- the new captionpublic void onFormSheetComponentChanged(FormSheet fs, JComponent jcmpNewComponent)
fs
- the FormSheet.jcmpNewComponent
- the new componentpublic void onFormSheetButtonAdded(FormSheet fs, FormSheet.FormButton fbNewButton)
fs
- the FormSheet.fbNewButton
- the added buttonpublic void onFormSheetButtonRemoved(FormSheet fs, FormSheet.FormButton fbRemovedButton)
fs
- the FormSheet.fbRemovedButton
- the removed buttonpublic void onFormSheetButtonsCleared(FormSheet fs)
fs
- the FormSheet.public void setFormSheet(FormSheet fsNewFormSheet) throws InterruptedException
fsNewFormSheet
- the FormSheet to be setpublic void closeFormSheet()
public void popUpFormSheet(FormSheet fs) throws InterruptedException
JDisplayDialog
and display the FormSheet in it.public void setMenuSheet(MenuSheet msNewMenuSheet)
msNewMenuSheet
- the MenuSheet to be setpublic boolean isUseableDisplay()
true
.true
public void addFormSheetListener(FormSheetListener fsl)
fsl
- the listener to be registeredpublic void removeFormSheetListener(FormSheetListener fsl)
fsl
- the listener to be un-registeredpublic MenuSheet getMenuSheet()
null
if no MenuSheet has been set.public FormSheet getFormSheet()
null
if no FormSheet has been set.public void setDisplayCaption(String sNewCaption)
Normally this should be the name of the SalesPoint this display is attached to. The name of the current FormSheet will be appended automatically.
sNewCaption
- the caption to be setpublic String getDisplayCaption()
|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |